Hub documentation

Popular Images

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Popular Images

Here is the list of ready-to-use Docker images from popular frameworks that you can use in Jobs with uv.

These Docker images already have uv installed but if you want to use an image + uv for an image without uv insalled you’ll need to make sure uv is installed first. This will work well in many cases but for LLM inference libraries which can have quite specific requirements, it can be useful to use a specific image that has the library installed.

vLLM

vLLM is a very well known and heavily used inference engine. It is known for its ability to scale inference for LLMs. They provide the vllm/vllm-openai Docker image with vLLM and UV ready. This image is ideal to run batch inference.

Use the --image argument to use this Docker image:

>>> hf jobs uv run --image vllm/vllm-openai --flavor l4x4 generate-responses.py

You can find more information on vLLM batch inference on Jobs in Daniel Van Strien’s blog post.

TRL

TRL is a library designed for post-training models using techniques like Supervised Fine-Tuning (SFT), Group Relative Policy Optimization (GRPO), and Direct Preference Optimization (DPO). An up-to-date Docker image with UV and all TRL dependencies is available at huggingface/trl and can be used directly with Hugging Face Jobs.

Use the --image argument to use this Docker image:

>>> hf jobs uv run --image huggingface/trl --flavor a100-large -s HF_TOKEN train.py
Update on GitHub