dvir-bria commited on
Commit
ddf2e3c
1 Parent(s): ea8ecc0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ pipe = StableDiffusionXLControlNetPipeline.from_pretrained(
16
  "briaai/BRIA-2.0",
17
  controlnet=controlnet,
18
  torch_dtype=torch.float16,
19
- device_map=0,
20
  # low_cpu_mem_usage=True,
21
  # offload_state_dict=True,
22
  )#.to('cuda')
 
16
  "briaai/BRIA-2.0",
17
  controlnet=controlnet,
18
  torch_dtype=torch.float16,
19
+ device_map='auto',
20
  # low_cpu_mem_usage=True,
21
  # offload_state_dict=True,
22
  )#.to('cuda')