Skip to content

Commit cfbf601

Browse files
faaanyhlky
andauthored
Update tests/pipelines/stable_diffusion/test_stable_diffusion_img2img.py
Co-authored-by: hlky <[email protected]>
1 parent d647900 commit cfbf601

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/pipelines/stable_diffusion/test_stable_diffusion_img2img.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,7 @@ def test_stable_diffusion_pipeline_with_model_offloading(self):
564564
)
565565

566566
backend_empty_cache(torch_device)
567+
backend_reset_max_memory_allocated(torch_device)
567568
backend_reset_peak_memory_stats(torch_device)
568569

569570
pipe.enable_model_cpu_offload(device=torch_device)

0 commit comments

Comments
 (0)