Commit f06e4e55 authored by Patrick von Platen's avatar Patrick von Platen
Browse files

make style

parent 57f7d259
......@@ -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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment