Change8

v1.3.3

📦 huggingface-hubView on GitHub →
4 features🐛 4 fixes🔧 4 symbols

Summary

This release introduces the ability to list available hardware for Hugging Face Jobs through both CLI and API, alongside several bug fixes related to streaming performance and file system resolution. The maximum file size limit has also been increased.

Migration Steps

  1. Update MAX_FILE_SIZE_GB constant from 50 GB to 200 GB if relying on this internal limit.

✨ New Features

  • Added functionality to list all available hardware options for Hugging Face Jobs via CLI (using 'hf jobs hardware') and programmatically via HfApi.list_jobs_hardware().
  • Added 'num_papers' field to the Organization class.
  • Added 'limit' parameter to the 'list_papers' API method.
  • Added a warning when the repository commit count exceeds recommended limits.

🐛 Bug Fixes

  • Fixed a severe performance regression in streaming by ensuring a byte iterator is kept in HfFileSystemStreamFile.
  • Fixed an issue where the cache verification incorrectly reported folders as missing files.
  • Fixed HfFileSystem resolve_path() when dealing with special characters like '@' in the path.
  • Fixed curlify behavior when handling streaming requests in Inference.

Affected Symbols