Spaces:
Running
on
Zero
Running
on
Zero
whoops
Browse files
app.py
CHANGED
@@ -317,7 +317,7 @@ class customUnClipPipeline(UnCLIPImageVariationPipeline):
|
|
317 |
torch_device = 'cpu'
|
318 |
pipe = customUnClipPipeline.from_pretrained("kakaobrain/karlo-v1-alpha-image-variations", torch_dtype=torch.float32, trust_remote_code=True,
|
319 |
# accelerator='ort', device=torch_device
|
320 |
-
device_map='cpu'
|
321 |
)
|
322 |
# pipe.to(torch_device)
|
323 |
# pipe.enable_model_cpu_offload()
|
|
|
317 |
torch_device = 'cpu'
|
318 |
pipe = customUnClipPipeline.from_pretrained("kakaobrain/karlo-v1-alpha-image-variations", torch_dtype=torch.float32, trust_remote_code=True,
|
319 |
# accelerator='ort', device=torch_device
|
320 |
+
# device_map='cpu'
|
321 |
)
|
322 |
# pipe.to(torch_device)
|
323 |
# pipe.enable_model_cpu_offload()
|