-
Notifications
You must be signed in to change notification settings - Fork 6.8k
[CI] Add ftfy as a test dependency #13155
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -117,7 +117,7 @@ jobs: | |||||
|
|
||||||
| - name: Install dependencies | ||||||
| run: | | ||||||
| uv pip install -e ".[quality]" | ||||||
| uv pip install -e ".[quality,test]" | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should this change also be added to the push workflows such as diffusers/.github/workflows/push_tests.yml Line 134 in 42f8cbb
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So the reason it's here is to just verify everything is passing. We install test deps when building the Docker images.
Will remove this from the workflow once |
||||||
| #uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git | ||||||
| uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1 | ||||||
| uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -114,7 +114,7 @@ jobs: | |
|
|
||
| - name: Install dependencies | ||
| run: | | ||
| uv pip install -e ".[quality]" | ||
| uv pip install -e ".[quality,test]" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same. |
||
| #uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git | ||
| uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1 | ||
| uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps | ||
|
|
@@ -191,7 +191,7 @@ jobs: | |
|
|
||
| - name: Install dependencies | ||
| run: | | ||
| uv pip install -e ".[quality]" | ||
| uv pip install -e ".[quality,test]" | ||
|
|
||
| - name: Environment | ||
| run: | | ||
|
|
@@ -242,7 +242,7 @@ jobs: | |
|
|
||
| - name: Install dependencies | ||
| run: | | ||
| uv pip install -e ".[quality]" | ||
| uv pip install -e ".[quality,test]" | ||
| # TODO (sayakpaul, DN6): revisit `--no-deps` | ||
| uv pip install -U peft@git+https://github.com/huggingface/peft.git --no-deps | ||
| uv pip install -U tokenizers | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's happening here?
We already do it right?
diffusers/docker/diffusers-pytorch-cpu/Dockerfile
Line 28 in bcbbded
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine to remove, but we'd have to merge just the changes to
setup.pywith the CI on this PR failing and then run a build and push up the images.Thought it would be better just remove in a follow up.