Skip to content

Commit e818907

Browse files
committed
fix
1 parent 741a44f commit e818907

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

tests/lora/test_lora_layers_flux.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
is_peft_available,
3131
nightly,
3232
numpy_cosine_similarity_distance,
33-
print_tensor_test,
3433
require_big_gpu_with_torch_cuda,
3534
require_peft_backend,
3635
require_torch_gpu,
@@ -195,7 +194,7 @@ def setUp(self):
195194
def tearDown(self):
196195
super().tearDown()
197196

198-
del self.pipeline
197+
del self.pipeline
199198
gc.collect()
200199
torch.cuda.empty_cache()
201200

tests/lora/test_lora_layers_sd3.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
is_peft_available,
3434
nightly,
3535
numpy_cosine_similarity_distance,
36-
print_tensor_test,
3736
require_big_gpu_with_torch_cuda,
3837
require_peft_backend,
3938
require_torch_gpu,
@@ -184,7 +183,6 @@ def test_sd3_img2img_lora(self):
184183

185184
image = pipe(**inputs).images[0]
186185
image_slice = image[0, :10, :10]
187-
print_tensor_test(image[0, :10, :10].flatten())
188186
expected_slice = np.array(
189187
[
190188
0.47827148,

tests/pipelines/flux/test_pipeline_flux.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
from diffusers import AutoencoderKL, FlowMatchEulerDiscreteScheduler, FluxPipeline, FluxTransformer2DModel
1111
from diffusers.utils.testing_utils import (
12+
nightly,
1213
numpy_cosine_similarity_distance,
1314
require_big_gpu_with_torch_cuda,
1415
slow,
@@ -193,6 +194,7 @@ def test_fused_qkv_projections(self):
193194

194195

195196
@slow
197+
@nightly
196198
@require_big_gpu_with_torch_cuda
197199
@pytest.mark.big_gpu_with_torch_cuda
198200
class FluxPipelineSlowTests(unittest.TestCase):

0 commit comments

Comments
 (0)