pypi huggingface-hub 1.25.0
[v1.25.0] Auto-named Jobs, smarter progress bars & cache diagnostics

latest release: 1.25.1
4 hours ago

🏷️ Auto-named Jobs on creation

Jobs now get an automatic name when you don't provide one explicitly, derived from the Docker image (or UV script) plus a short hash of the command line. This means reruns of the same command share a consistent name, while different commands get distinct names — making it much easier to find and group related jobs in the UI or CLI. Names follow the server-side character rules: :, / and . in image tags are replaced with - so python:3.12 foo --truc becomes python-3-12-7c6db949. Explicit --name still takes precedence.

>>> hf jobs run --detach python:3.12 foo --truc
  id: 6a60b85c13e6ef894d54b949
Hint: Job auto-named 'python-3-12-7c6db949'. Pass `--name` or run `hf jobs labels <id> --name` to rename.

📚 Documentation: Jobs guide, CLI guide

🔧 Other QoL Improvements

  • Add timeout parameter to safetensors metadata methods by @go-bai in #4378
  • [Download] [Fix] Update file-count progress bar on completion by @Wauplin in #4560
  • [Cache] Warn on inconsistency in cache by @Wauplin in #4551docs

📖 Documentation

🐛 Bug and typo fixes

  • [Repocard] Fix catastrophic backtracking (ReDoS) in REGEX_YAML_BLOCK by @sohumt123 in #4526
  • Fix Windows crash when downloading into a deep local_dir by @askalf in #4546
  • [Fix] Do not fail on create space if exists_ok=True and 402 Payment required error by @Wauplin in #4539
  • [Repocard] Preserve order of appended keys in CardData.to_yaml by @rahulrshetty45 in #4561
  • [HfFileSystem] Raise FileNotFoundError when streaming a missing file by @rahulrshetty45 in #4562
  • [Upload] Forward token in _final_commit_info repo_info lookup by @Wauplin in #4572

🏗️ Internal

  • Post-release: bump version to 1.25.0.dev0 by @huggingface-hub-bot[bot] in #4538
  • [CI] Remove test_list_private_datasets flaky test by @Wauplin in #4565

Don't miss a new huggingface-hub release

NewReleases is sending notifications on new releases.