Optimize test files by fixing CPU-offloading usage #8409
Refactor code to remove unnecessary calls to `to(torch_device)`
a9aad0e9
Refactor code to remove unnecessary calls to `to("cuda")`
812a4c13
Merge branch 'main' into fix-offloading
b2786528
tolgacangoz
marked this pull request as draft 1 year ago
Update pipeline_stable_diffusion_diffedit.py
94425558
Merge branch 'main' into fix-offloading
31a1174a
tolgacangoz
marked this pull request as ready for review 1 year ago
tolgacangoz
changed the title Fix CPU-Offloading Usage Optimize test files by fixing CPU-offloading usage 1 year ago
yiyixuxu
approved these changes
on 2024-06-06
yiyixuxu
merged
ec1aded1
into main 1 year ago
tolgacangoz
deleted the fix-offloading branch 1 year ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub