Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tests/models/test_models_unet_3d_condition.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
from diffusers.utils import (
floats_tensor,
logging,
skip_mps,
torch_device,
)
from diffusers.utils.import_utils import is_xformers_available
Expand Down Expand Up @@ -60,6 +61,7 @@ def create_lora_layers(model):
return lora_attn_procs


@skip_mps
class UNet3DConditionModelTests(ModelTesterMixin, unittest.TestCase):
model_class = UNet3DConditionModel

Expand Down
3 changes: 2 additions & 1 deletion tests/pipelines/text_to_video/test_text_to_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
torch.backends.cuda.matmul.allow_tf32 = False


@skip_mps
class TextToVideoSDPipelineFastTests(PipelineTesterMixin, unittest.TestCase):
pipeline_class = TextToVideoSDPipeline
params = TEXT_TO_IMAGE_PARAMS
Expand Down Expand Up @@ -155,12 +156,12 @@ def test_inference_batch_single_identical(self):
def test_num_images_per_prompt(self):
pass

@skip_mps
def test_progress_bar(self):
return super().test_progress_bar()


@slow
@skip_mps
class TextToVideoSDPipelineSlowTests(unittest.TestCase):
def test_full_model(self):
expected_video = load_numpy(
Expand Down