releases.shpreview

v1.3.0

[v1.3.0] New CLI Commands for Hub Discovery, Jobs Monitoring and more!

$npx -y @buildinternet/releases show rel_9J5sk39XyaE3XBCsWx7E4

🖥️ CLI: hf models, hf datasets, hf spaces Commands

The CLI has been reorganized with dedicated commands for Hub discovery, while hf repo stays focused on managing your own repositories.

New commands:

# Models
hf models ls --author=Qwen --limit=10
hf models info Qwen/Qwen-Image-2512

# Datasets
hf datasets ls --filter "format:parquet" --sort=downloads
hf datasets info HuggingFaceFW/fineweb

# Spaces
hf spaces ls --search "3d"
hf spaces info enzostvs/deepsite

This organization mirrors the Python API (list_models, model_info, etc.), keeps the hf <resource> <action> pattern, and is extensible for future commands like hf papers or hf collections.

  • [CLI] Add hf models/hf datasets/hf spaces commands by @hanouticelina in #3669

🔧 Transformers CLI Installer

You can now install the transformers CLI alongside the huggingface_hub CLI using the standalone installer scripts.

# Install hf CLI only (default)
curl -LsSf https://hf.co/cli/install.sh | bash -s

# Install both hf and transformers CLIs
curl -LsSf https://hf.co/cli/install.sh | bash -s -- --with-transformers
# Install hf CLI only (default)
powershell -c "irm https://hf.co/cli/install.ps1 | iex"

# Install both hf and transformers CLIs
powershell -c "irm https://hf.co/cli/install.ps1 | iex" -WithTransformers

Once installed, you can use the transformers CLI directly:

transformers serve
transformers chat openai/gpt-oss-120b
  • Add transformers CLI installer by @Wauplin in #3666

📊 Jobs Monitoring

New hf jobs stats command to monitor your running jobs in real-time, similar to docker stats. It displays a live table with CPU, memory, network, and GPU usage.

>>> hf jobs stats
JOB ID                   CPU % NUM CPU MEM % MEM USAGE      NET I/O         GPU UTIL % GPU MEM % GPU MEM USAGE
------------------------ ----- ------- ----- -------------- --------------- ---------- --------- ---------------
6953ff6274100871415c13fd 0%    3.5     0.01% 1.3MB / 15.0GB 0.0bps / 0.0bps 0%         0.0%      0.0B / 22.8GB

A new HfApi.fetch_jobs_metrics() method is also available:

>>> for metrics in fetch_job_metrics(job_id="6953ff6274100871415c13fd"):
...     print(metrics)
{
    "cpu_usage_pct": 0,
    "cpu_millicores": 3500,
    "memory_used_bytes": 1306624,
    "memory_total_bytes": 15032385536,
    "rx_bps": 0,
    "tx_bps": 0,
    "gpus": {
        "882fa930": {
            "utilization": 0,
            "memory_used_bytes": 0,
            "memory_total_bytes": 22836000000
        }
    },
    "replica": "57vr7"
}
  • [Jobs] Monitor cpu, memory, network and gpu (if any) by @lhoestq in #3655

💔 Breaking Change

The direction parameter in list_models, list_datasets, and list_spaces is now deprecated and not used. The sorting is always descending.

  • [HfApi] deprecate direction in list repos methods by @hanouticelina in #3630

🔧 Other QoL Improvements

  • [Jobs][CLI] allow unknown options in jobs cli by @lhoestq in #3614
  • [UV Jobs] Pass local script as env variable by @Wauplin in #3616
  • [CLI] hf repo info + add --expand parameter by @Wauplin in #3664
  • log a message when HF_TOKEN is set in auth list by @hanouticelina in #3608
  • Support 'x | y' syntax in strict dataclasses by @Wauplin in #3668
  • feat: use http_backoff for LFS batch/verify/completion endpoints by @The-Obstacle-Is-The-Way in #3622
  • Support local folders safetensors metadata by @vrdn-23 in #3623
  • Add @dataclass_transform decorator to dataclass_with_extra by @charliermarsh in #3639
  • Update papers model by @Samoed in #3586

📖 Documentation

  • doc fix by @jzhang533 in #3597
  • Fix a url in the docs by @neo in #3606
  • Add Job Timeout section to CLI docs by @davanstrien in #3665

🛠️ Small fixes and maintenance

🐛 Bug and typo fixes

  • Fix unbound local error when reading corrupted metadata files by @Wauplin in #3610
  • [CLI] Fix private should default to None, not False by @Wauplin in #3618
  • Fix create_repo returning wrong repo_id by @hanouticelina in #3634
  • Fix: Use self.endpoint in job-related APIs for custom endpoint support by @PredictiveManish in #3653
  • Fix hf-xet version mismatch by @Tanishq1030 in #3662

🏗️ Internal

  • Prepare for v1.3 by @Wauplin in #3599
  • [Internal] Fix quality by @hanouticelina in #3607
  • [CI] Fix warn on warning tests by @Wauplin in #3617
  • Try update bot settings by @Wauplin in #3624
  • trigger sentence-transformers CI for hfh prerelease by @hanouticelina in #3626
  • fix by @hanouticelina in #3627
  • remove unnecessary test by @hanouticelina in #3631
  • [Bot] Update inference types by @HuggingFaceInfra in #3520
  • Fix ty in CI by @Wauplin in #3661
  • Upgrade GitHub Actions for Node 24 compatibility by @salmanmkc in #3637
  • Upgrade GitHub Actions to latest versions by @salmanmkc in #3638
  • Remove fastai integration tests by @hanouticelina in #3670

Significant community contributions

The following contributors have made significant changes to the library over the last release:

  • @jzhang533
    • doc fix (#3597)
  • @akshatvishu
    • [CLI] Add 'hf repo list' command (#3611)
  • @The-Obstacle-Is-The-Way
    • feat: use http_backoff for LFS batch/verify/completion endpoints (#3622)
  • @salmanmkc
    • Upgrade GitHub Actions for Node 24 compatibility (#3637)
    • Upgrade GitHub Actions to latest versions (#3638)
  • @Samoed
    • Update papers model (#3586)
  • @vrdn-23
    • Support local folders safetensors metadata (#3623)

Fetched April 7, 2026