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
4c723d8e
Unverified
Commit
4c723d8e
authored
Oct 23, 2025
by
Sayak Paul
Committed by
GitHub
Oct 22, 2025
Browse files
[CI] xfail the test_wuerstchen_prior test (#12530)
xfail the test_wuerstchen_prior test
parent
bec2d8ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
tests/pipelines/stable_cascade/test_stable_cascade_prior.py
tests/pipelines/stable_cascade/test_stable_cascade_prior.py
+7
-0
No files found.
tests/pipelines/stable_cascade/test_stable_cascade_prior.py
View file @
4c723d8e
...
@@ -17,11 +17,13 @@ import gc
...
@@ -17,11 +17,13 @@ import gc
import
unittest
import
unittest
import
numpy
as
np
import
numpy
as
np
import
pytest
import
torch
import
torch
from
transformers
import
CLIPTextConfig
,
CLIPTextModelWithProjection
,
CLIPTokenizer
from
transformers
import
CLIPTextConfig
,
CLIPTextModelWithProjection
,
CLIPTokenizer
from
diffusers
import
DDPMWuerstchenScheduler
,
StableCascadePriorPipeline
from
diffusers
import
DDPMWuerstchenScheduler
,
StableCascadePriorPipeline
from
diffusers.models
import
StableCascadeUNet
from
diffusers.models
import
StableCascadeUNet
from
diffusers.utils
import
is_transformers_version
from
diffusers.utils.import_utils
import
is_peft_available
from
diffusers.utils.import_utils
import
is_peft_available
from
...testing_utils
import
(
from
...testing_utils
import
(
...
@@ -154,6 +156,11 @@ class StableCascadePriorPipelineFastTests(PipelineTesterMixin, unittest.TestCase
...
@@ -154,6 +156,11 @@ class StableCascadePriorPipelineFastTests(PipelineTesterMixin, unittest.TestCase
}
}
return
inputs
return
inputs
@
pytest
.
mark
.
xfail
(
condition
=
is_transformers_version
(
">="
,
"4.57.1"
),
reason
=
"Test fails with the latest transformers version"
,
strict
=
False
,
)
def
test_wuerstchen_prior
(
self
):
def
test_wuerstchen_prior
(
self
):
device
=
"cpu"
device
=
"cpu"
...
...
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