{
  "slug": "hf-jobs-accepts-unknown-server-side-hardware-flavors-6b1ae8685989",
  "title": "hf jobs accepts unknown server-side hardware flavors",
  "tools": [
    "hf"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-05-28T15:08:07.000Z",
  "announced_at": "2026-05-28T15:08:07.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When a Hub Job needs a server-side hardware flavor the CLI does not know, pass it with `--flavor` to `hf jobs run`.",
    "examples": [
      "hf jobs run --flavor future-gpu-x99 python:3.12 echo \"works with unknown flavors\""
    ],
    "gotchas": [
      "Version: v1.17.0",
      "--flavor <flavor>: Selects the Job hardware flavor; defaults to `cpu-basic` in CLI reference docs. The v1.17.0 release note says this flag accepts any string, including unknown flavors.",
      "IMAGE (required): Docker image to use; here `python:3.12`.",
      "COMMAND... (required): Command to run in the image; here `echo \"works with unknown flavors\"`.",
      "Prerequisite: The machine must be logged in. Jobs require a positive credit balance.",
      "`JobHardware` is now its own enum, independent of `SpaceHardware`.",
      "The former `JobHardware` dataclass return type of `list_jobs_hardware()` is renamed `JobHardwareInfo`.",
      "A daily CI workflow syncs both enums from the live Hub API and opens a bot PR when something changes.",
      "Docs conflict: The CLI reference page lists `--flavor` as a fixed set of choices, while the v1.17.0 release note says the flag accepts any string. The release note describes the v1.17.0 behavior; the CLI reference page does not document that change."
    ]
  },
  "why_it_matters": "Run a Hub Job using a flavor that the current CLI does not know so it can request a newer server-side flavor.",
  "before": "CLI validation rejected flavor values it did not know.",
  "sources": [
    "https://github.com/huggingface/huggingface_hub/releases/tag/v1.17.0",
    "https://huggingface.co/docs/huggingface_hub/en/package_reference/cli",
    "https://huggingface.co/docs/huggingface_hub/en/guides/jobs"
  ],
  "rank": 0.93033,
  "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-9ff1dd3f17704b87-4:gate",
    "evidence_hash": "bad0de8b817b1083289bad47ec823477fc61cc7daff55867454c52bf6dd77cad"
  },
  "review": {
    "draft_hash": "028808c9cc817906566cef5734bc73ab2bb2a7a2068b3003f7bffaf72f164be3",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2b-20261017:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.93 >= 0.9; 2 needed) and Jev gave 0.64 (>= 0.6 needed)."
  }
}
