Skip to content

Commit

Permalink
Fix release workflow deps (huggingface#7339)
Browse files Browse the repository at this point in the history
* pop scale from the top-level unet instead of getting it.

* improve readability.

* fix: pypi workflow deps

* revert
  • Loading branch information
sayakpaul authored Mar 16, 2024
1 parent 8db3c9b commit 25caf24
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pypi_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U setuptools wheel twine torch
pip install -U setuptools wheel twine
pip install -U torch --index-url https://download.pytorch.org/whl/cpu
pip install -U transformers
- name: Build the dist files
run: python setup.py bdist_wheel && python setup.py sdist
Expand Down

0 comments on commit 25caf24

Please sign in to comment.