1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

Fix release workflow deps (#7339)

* pop scale from the top-level unet instead of getting it.

* improve readability.

* fix: pypi workflow deps

* revert
This commit is contained in:
Sayak Paul
2024-03-16 07:18:11 +05:30
committed by GitHub
parent 8db3c9bc9f
commit 25caf24ef9

View File

@@ -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