Skip to content

Commit fcdd759

Browse files
authored
[chore] updates in the pypi publication workflow. (#12805)
* updates in the pypi publication workflow. * change to 3.10
1 parent 3918824 commit fcdd759

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/pypi_publish.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ jobs:
5454
python -m pip install --upgrade pip
5555
pip install -U setuptools wheel twine
5656
pip install -U torch --index-url https://download.pytorch.org/whl/cpu
57-
pip install -U transformers
5857
5958
- name: Build the dist files
6059
run: python setup.py bdist_wheel && python setup.py sdist
@@ -69,6 +68,8 @@ jobs:
6968
run: |
7069
pip install diffusers && pip uninstall diffusers -y
7170
pip install -i https://test.pypi.org/simple/ diffusers
71+
pip install -U transformers
72+
python utils/print_env.py
7273
python -c "from diffusers import __version__; print(__version__)"
7374
python -c "from diffusers import DiffusionPipeline; pipe = DiffusionPipeline.from_pretrained('fusing/unet-ldm-dummy-update'); pipe()"
7475
python -c "from diffusers import DiffusionPipeline; pipe = DiffusionPipeline.from_pretrained('hf-internal-testing/tiny-stable-diffusion-pipe', safety_checker=None); pipe('ah suh du')"

0 commit comments

Comments
 (0)