Skip to content

Commit 75a7047

Browse files
committed
fix
1 parent 3b0749f commit 75a7047

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tests/modular_pipelines/flux/test_modular_pipeline_flux.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,8 @@ def get_dummy_inputs(self, seed=0):
5555
}
5656
return inputs
5757

58-
59-
def test_float16_inference(self):
60-
super().test_float16_inference(9e-2)
58+
def test_float16_inference(self):
59+
super().test_float16_inference(9e-2)
6160

6261

6362
class TestFluxImg2ImgModularPipelineFast(ModularPipelineTesterMixin):
@@ -122,7 +121,6 @@ def test_save_from_pretrained(self):
122121

123122
assert torch.abs(image_slices[0] - image_slices[1]).max() < 1e-3
124123

125-
# @pytest.mark.skipif(torch_device == "cpu", reason="Test needs an accelerator.")
126124
def test_float16_inference(self):
127125
super().test_float16_inference(8e-2)
128126

0 commit comments

Comments
 (0)