1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

Fix minor bug in SD3 img2img test (#8779)

fix minor bug in sd3 img2img
This commit is contained in:
Aryan
2024-07-03 23:15:37 +05:30
committed by GitHub
parent 6b6b4bcffe
commit a7b9634e95

View File

@@ -108,7 +108,6 @@ class StableDiffusion3Img2ImgPipelineFastTests(PipelineLatentTesterMixin, unitte
def get_dummy_inputs(self, device, seed=0):
image = floats_tensor((1, 3, 32, 32), rng=random.Random(seed)).to(device)
image = image / 2 + 0.5
if str(device).startswith("mps"):
generator = torch.manual_seed(seed)
else: