The Hub docs now have a Diffusers section in Train Models on Jobs (huggingface/hub-docs#2833). It runs a DreamBooth LoRA script straight from its GitHub URL with hf jobs uv run, because the script declares its dependencies in a header.
Axolotl and TRL each have a Jobs guide in their own docs. It would be nice for Diffusers to have one too, as suggested in that PR. The Hub page could then link to it, as it does for the other libraries.
It might also be worth seeing if more scripts should use the headers. Today 17 example scripts have one, all in dreambooth and advanced_diffusion_training. Scripts such as train_dreambooth_lora_sdxl.py and the text_to_image ones don't, so they need --with on Jobs.
cc @sayakpaul
Reactions are currently unavailable
The Hub docs now have a Diffusers section in Train Models on Jobs (huggingface/hub-docs#2833). It runs a DreamBooth LoRA script straight from its GitHub URL with hf jobs uv run, because the script declares its dependencies in a header.
Axolotl and TRL each have a Jobs guide in their own docs. It would be nice for Diffusers to have one too, as suggested in that PR. The Hub page could then link to it, as it does for the other libraries.
It might also be worth seeing if more scripts should use the headers. Today 17 example scripts have one, all in dreambooth and advanced_diffusion_training. Scripts such as train_dreambooth_lora_sdxl.py and the text_to_image ones don't, so they need --with on Jobs.
cc @sayakpaul