Skip to content

Add UV script comment block #12036

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Add UV script comment block #12036

wants to merge 5 commits into from

Conversation

apolinario
Copy link
Collaborator

This PR makes our advanced diffusion training compatible with uv, which therefore also makes them compatible with Hugging Face jobs: https://huggingface.co/docs/huggingface_hub/en/guides/jobs

The idea is to test it out with this PR, working well we could expand the uv comment for all diffusers scripts to add both uv and hf jobs compatibility

cc @sayakpaul @linoytsaban

This PR makes our advanced diffusion training compatible with uv, which therefore also makes them compatible with Hugging Face jobs: https://huggingface.co/docs/huggingface_hub/en/guides/jobs

The idea is to test it out with this PR, working well we could expand the uv comment for all diffusers scripts to add both uv and hf jobs compatibility
@apolinario apolinario marked this pull request as draft July 31, 2025 15:23
@sayakpaul
Copy link
Member

https://github.com/huggingface/diffusers/pull/12000/files

@linoytsaban
Copy link
Collaborator

linoytsaban commented Jul 31, 2025

@apolinario @sayakpaul since sayak's open PR covers this script as well, lets maybe just add the additional dependencies in this PR to the advanced block in #12000 ?

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@apolinario
Copy link
Collaborator Author

Thanks, sorry for missing it. Yeah, I think we need a few more deps for the advanced scripts. Let's chat on @sayakpaul's PR then!

@sayakpaul
Copy link
Member

I used requirements.txt to fetch those. I will merge mine in sometime. Feel free to merge those updates in this PR and iterate.

@apolinario
Copy link
Collaborator Author

Gotcha. I'll keep this PR then and merge yours to it and add the deps for the advanced script on top of it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants