Skip to content

Commit 4ac0c12

Browse files
committed
add relevant markers to the integration test suite.
1 parent 63d5e9f commit 4ac0c12

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/lora/test_lora_layers_hunyuanvideo.py

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

1919
import numpy as np
20+
import pytest
2021
import torch
2122
from transformers import CLIPTextModel, CLIPTokenizer, LlamaModel, LlamaTokenizerFast
2223

@@ -30,10 +31,10 @@
3031
floats_tensor,
3132
nightly,
3233
numpy_cosine_similarity_distance,
34+
require_big_gpu_with_torch_cuda,
3335
require_peft_backend,
3436
require_torch_gpu,
3537
skip_mps,
36-
slow,
3738
)
3839

3940

@@ -190,12 +191,11 @@ def test_simple_inference_with_text_lora_save_load(self):
190191
pass
191192

192193

193-
@slow
194194
@nightly
195195
@require_torch_gpu
196196
@require_peft_backend
197-
# @unittest.skip("We cannot run inference on this model with the current CI hardware")
198-
# TODO (DN6, sayakpaul): move these tests to a beefier GPU
197+
@require_big_gpu_with_torch_cuda
198+
@pytest.mark.big_gpu_with_torch_cuda
199199
class HunyuanVideoLoRAIntegrationTests(unittest.TestCase):
200200
"""internal note: The integration slices were obtained on DGX.
201201

0 commit comments

Comments
 (0)