v1.25.0
📦 huggingface-hubView on GitHub →
✨ 2 features🐛 8 fixes🔧 3 symbols
Summary
This release introduces auto-naming for jobs based on their Docker image and command, enhancing job management. It also includes various quality-of-life improvements and bug fixes across different modules.
✨ New Features
- Jobs now automatically receive a name derived from the Docker image (or UV script) and a short hash of the command line when no explicit name is provided. This ensures consistent naming for reruns and distinct names for different commands, improving job discoverability and grouping.
- Added a timeout parameter to safetensors metadata methods.
🐛 Bug Fixes
- The file-count progress bar in the download process now updates correctly upon completion.
- Inconsistencies in the cache now trigger a warning.
- The REGEX_YAML_BLOCK in Repocard has been fixed to prevent catastrophic backtracking (ReDoS).
- A Windows crash occurring when downloading into a deep local_dir has been resolved.
- The system no longer fails when creating a space with `exists_ok=True` and encountering a 402 Payment Required error.
- The order of appended keys in `CardData.to_yaml` is now preserved.
- The `HfFileSystem` now raises `FileNotFoundError` when attempting to stream a missing file.
- The token is now correctly forwarded in `_final_commit_info` repo_info lookup during uploads.