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
fbc9a736
"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "c96bfa5c80eca798d555a79a491043c311d0f608"
Unverified
Commit
fbc9a736
authored
Apr 11, 2023
by
Pedro Cuenca
Committed by
GitHub
Apr 11, 2023
Browse files
mps: skip unstable test (#3037)
parent
67c3518f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
tests/pipelines/stable_unclip/test_stable_unclip_img2img.py
tests/pipelines/stable_unclip/test_stable_unclip_img2img.py
+10
-1
No files found.
tests/pipelines/stable_unclip/test_stable_unclip_img2img.py
View file @
fbc9a736
...
@@ -17,7 +17,15 @@ from diffusers import AutoencoderKL, DDIMScheduler, DDPMScheduler, StableUnCLIPI
...
@@ -17,7 +17,15 @@ from diffusers import AutoencoderKL, DDIMScheduler, DDPMScheduler, StableUnCLIPI
from
diffusers.pipelines.pipeline_utils
import
DiffusionPipeline
from
diffusers.pipelines.pipeline_utils
import
DiffusionPipeline
from
diffusers.pipelines.stable_diffusion.stable_unclip_image_normalizer
import
StableUnCLIPImageNormalizer
from
diffusers.pipelines.stable_diffusion.stable_unclip_image_normalizer
import
StableUnCLIPImageNormalizer
from
diffusers.utils.import_utils
import
is_xformers_available
from
diffusers.utils.import_utils
import
is_xformers_available
from
diffusers.utils.testing_utils
import
floats_tensor
,
load_image
,
load_numpy
,
require_torch_gpu
,
slow
,
torch_device
from
diffusers.utils.testing_utils
import
(
floats_tensor
,
load_image
,
load_numpy
,
require_torch_gpu
,
skip_mps
,
slow
,
torch_device
,
)
from
...pipeline_params
import
TEXT_GUIDED_IMAGE_VARIATION_BATCH_PARAMS
,
TEXT_GUIDED_IMAGE_VARIATION_PARAMS
from
...pipeline_params
import
TEXT_GUIDED_IMAGE_VARIATION_BATCH_PARAMS
,
TEXT_GUIDED_IMAGE_VARIATION_PARAMS
from
...test_pipelines_common
import
(
from
...test_pipelines_common
import
(
...
@@ -147,6 +155,7 @@ class StableUnCLIPImg2ImgPipelineFastTests(PipelineTesterMixin, unittest.TestCas
...
@@ -147,6 +155,7 @@ class StableUnCLIPImg2ImgPipelineFastTests(PipelineTesterMixin, unittest.TestCas
"output_type"
:
"np"
,
"output_type"
:
"np"
,
}
}
@
skip_mps
def
test_image_embeds_none
(
self
):
def
test_image_embeds_none
(
self
):
device
=
"cpu"
# ensure determinism for the device-dependent torch.Generator
device
=
"cpu"
# ensure determinism for the device-dependent torch.Generator
components
=
self
.
get_dummy_components
()
components
=
self
.
get_dummy_components
()
...
...
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