{
  "slug": "hf-jobs-uv-run-supports-multi-gpu-launchers-and-local-config-files-223b5b98478a",
  "title": "hf jobs uv run supports multi-GPU launchers and local config files",
  "tools": [
    "hf"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-02-03T16:19:53.000Z",
  "announced_at": "2026-02-03T16:19:53.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When running multi-GPU training or passing a local config file through Hub Jobs, use `hf jobs uv run` with a supported distributed runner or put the config after the script as a script argument.",
    "examples": [
      "hf jobs uv run --with torch -- torchrun <script.py>",
      "hf jobs uv run --with accelerate -- accelerate launch <script.py>",
      "hf jobs uv run [--with <package>] <script.py> <config-file>"
    ],
    "gotchas": [
      "Version: v1.4.0",
      "SCRIPT (required): UV script to run; may be a local file or URL.",
      "SCRIPT_ARGS: Arguments for the script, following the script path.",
      "--with <package>: Run with the given package installed. Repeated use or mutual exclusivity is not specified in the cited docs.",
      "--flavor <flavor>: Select hardware flavor; defaults to `cpu-basic`. Use a GPU flavor for GPU training; `hf jobs hardware` lists available flavors.",
      "Prerequisite: Install the Hugging Face CLI and log in to a Hugging Face account before running Jobs."
    ]
  },
  "why_it_matters": "When developing or testing multi-GPU training code through Hub Jobs, launch it with a supported distributed runner and pass a local config file alongside the script.",
  "sources": [
    "https://github.com/huggingface/huggingface_hub/releases/tag/v1.4.0",
    "https://github.com/huggingface/huggingface_hub/blob/v1.4.0/docs/source/en/package_reference/cli.md",
    "https://huggingface.co/docs/huggingface_hub/en/jobs-quickstart"
  ],
  "rank": 0.95041,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2b-20261017",
    "verdict_id": "wave2b-20261017:wave2b-20261017-cd28f29f91e5b3a2-9:gate",
    "evidence_hash": "e1638677dc007e48aa1c9f9e2c9e8d4539f1f50b00365f579b50c3056facffe3"
  },
  "review": {
    "draft_hash": "7c50165c9706d3c0244d62b6cdf50efb35c028865c3cb864617f3feadc278456",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2b-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.95 >= 0.9; 2 needed) and Jev gave 0.71 (>= 0.6 needed)."
  }
}
