Skip to content

Commit 1d1c13d

Browse files
committed
revert
1 parent ae92d53 commit 1d1c13d

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

tests/pipelines/mochi/test_mochi.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,18 @@
1717
import unittest
1818

1919
import numpy as np
20+
import pytest
2021
import torch
2122
from transformers import AutoTokenizer, T5EncoderModel
2223

2324
from diffusers import AutoencoderKLMochi, FlowMatchEulerDiscreteScheduler, MochiPipeline, MochiTransformer3DModel
2425
from diffusers.utils.testing_utils import (
2526
backend_empty_cache,
2627
enable_full_determinism,
28+
nightly,
2729
numpy_cosine_similarity_distance,
28-
require_torch_accelerator,
29-
slow,
30+
require_big_gpu_with_torch_cuda,
31+
require_torch_gpu,
3032
torch_device,
3133
)
3234

@@ -261,8 +263,10 @@ def test_vae_tiling(self, expected_diff_max: float = 0.2):
261263
)
262264

263265

264-
@slow
265-
@require_torch_accelerator
266+
@nightly
267+
@require_torch_gpu
268+
@require_big_gpu_with_torch_cuda
269+
@pytest.mark.big_gpu_with_torch_cuda
266270
class MochiPipelineIntegrationTests(unittest.TestCase):
267271
prompt = "A painting of a squirrel eating a burger."
268272

0 commit comments

Comments
 (0)