huggingface_hub 1.32 lets UV scripts declare runtime images for HF Jobs

vanstriendaniel · x · 2026-09-17

UV scripts are a nice single-file way to share runnable code, but scripts often also need a specific runtime like a particular vLLM image, which previously lived in a README. New in huggingfacehub 1.32: scripts can declare that in a [tool.hf-jobs] table in the same header, so a plain hf jobs uv run does the right thing on Hugging Face Jobs. Docs also show options like --flavor for hardware, --with for dependencies, and --python for version selection.

Original post →

More from coding & agent

coding & agent channel →