Skip to content

Commit 55f9658

Browse files
faaanyhlky
andauthored
Update tests/pipelines/stable_diffusion/test_stable_diffusion.py
Co-authored-by: hlky <[email protected]>
1 parent fc57898 commit 55f9658

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/pipelines/stable_diffusion/test_stable_diffusion.py

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

11401140
# With attention slicing
11411141
backend_empty_cache(torch_device)
1142+
backend_reset_max_memory_allocated(torch_device)
11421143
backend_reset_peak_memory_stats(torch_device)
11431144

11441145
pipe.enable_attention_slicing()

0 commit comments

Comments
 (0)