Skip to content

Commit 17dea92

Browse files
committed
up
1 parent d0745fe commit 17dea92

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/pipelines/controlnet_sd3/test_controlnet_sd3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def get_dummy_inputs(self, device, seed=0):
173173
(1, 3, 32, 32),
174174
generator=generator,
175175
device=torch.device(device),
176-
dtype=torch.float32,
176+
dtype=torch.float16,
177177
)
178178

179179
controlnet_conditioning_scale = 0.5
@@ -192,7 +192,7 @@ def get_dummy_inputs(self, device, seed=0):
192192

193193
def run_pipe(self, components, use_sd35=False):
194194
sd_pipe = StableDiffusion3ControlNetPipeline(**components)
195-
sd_pipe = sd_pipe.to(torch_device, dtype=torch.float32)
195+
sd_pipe = sd_pipe.to(torch_device, dtype=torch.float16)
196196
sd_pipe.set_progress_bar_config(disable=None)
197197

198198
inputs = self.get_dummy_inputs(torch_device)

0 commit comments

Comments
 (0)