Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
9d2c8d88
Unverified
Commit
9d2c8d88
authored
Dec 24, 2024
by
Sayak Paul
Committed by
GitHub
Dec 24, 2024
Browse files
fix test pypi installation in the release workflow (#10360)
fix
parent
92933ec3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
.github/workflows/pypi_publish.yaml
.github/workflows/pypi_publish.yaml
+1
-1
No files found.
.github/workflows/pypi_publish.yaml
View file @
9d2c8d88
...
...
@@ -68,7 +68,7 @@ jobs:
-
name
:
Test installing diffusers and importing
run
:
|
pip install diffusers && pip uninstall diffusers -y
pip install -i https://testpypi.
python.org/pypi
diffusers
pip install -i https://test
.
pypi.
org/simple/
diffusers
python -c "from diffusers import __version__; print(__version__)"
python -c "from diffusers import DiffusionPipeline; pipe = DiffusionPipeline.from_pretrained('fusing/unet-ldm-dummy-update'); pipe()"
python -c "from diffusers import DiffusionPipeline; pipe = DiffusionPipeline.from_pretrained('hf-internal-testing/tiny-stable-diffusion-pipe', safety_checker=None); pipe('ah suh du')"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment