We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fcb0da commit fc57898Copy full SHA for fc57898
tests/pipelines/stable_diffusion/test_stable_diffusion.py
@@ -1117,6 +1117,7 @@ def test_stable_diffusion_pipeline_with_model_offloading(self):
1117
pipe.unet.set_default_attn_processor()
1118
1119
backend_empty_cache(torch_device)
1120
+ backend_reset_max_memory_allocated(torch_device)
1121
backend_reset_peak_memory_stats(torch_device)
1122
1123
pipe.enable_model_cpu_offload(device=torch_device)
0 commit comments