mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-27 17:22:53 +03:00
make style
This commit is contained in:
@@ -214,7 +214,7 @@ class AltDiffusionPipeline(DiffusionPipeline):
|
||||
cpu_offload(cpu_offloaded_model, device)
|
||||
|
||||
if self.safety_checker is not None:
|
||||
cpu_offload(self.safety_checker, device, offload_buffers=True)
|
||||
cpu_offload(self.safety_checker, execution_device=device, offload_buffers=True)
|
||||
|
||||
@property
|
||||
def _execution_device(self):
|
||||
|
||||
Reference in New Issue
Block a user