surokpro2 commited on
Commit
583b85d
1 Parent(s): b8deff7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -367,7 +367,7 @@ if __name__ == "__main__":
367
  pipe = HookedStableDiffusionXLPipeline.from_pretrained(
368
  'stabilityai/sdxl-turbo',
369
  torch_dtype=dtype,
370
- device_map="balanced",
371
  variant=("fp16" if dtype==torch.float16 else None)
372
  )
373
  pipe.set_progress_bar_config(disable=True)
 
367
  pipe = HookedStableDiffusionXLPipeline.from_pretrained(
368
  'stabilityai/sdxl-turbo',
369
  torch_dtype=dtype,
370
+ device_map="cpu",
371
  variant=("fp16" if dtype==torch.float16 else None)
372
  )
373
  pipe.set_progress_bar_config(disable=True)