dvir-bria commited on
Commit
c62876e
1 Parent(s): cf6c5a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,8 +17,8 @@ pipe = StableDiffusionXLControlNetPipeline.from_pretrained(
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')
23
  pipe.enable_freeu(b1=1.1, b2=1.1, s1=0.5, s2=0.7)
24
  pipe.enable_xformers_memory_efficient_attention()
 
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')
23
  pipe.enable_freeu(b1=1.1, b2=1.1, s1=0.5, s2=0.7)
24
  pipe.enable_xformers_memory_efficient_attention()