DonImages commited on
Commit
d402a1c
·
verified ·
1 Parent(s): b2f9a59

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ pipe = StableDiffusion3Pipeline.from_pretrained(
18
  torch_dtype=torch.float16,
19
  revision="fp16",
20
  low_cpu_mem_usage=True,
21
- device_map="auto" # Automatically allocate model components to available devices
22
  )
23
 
24
  # Enable attention slicing for reduced memory usage
 
18
  torch_dtype=torch.float16,
19
  revision="fp16",
20
  low_cpu_mem_usage=True,
21
+ device_map="balanced"
22
  )
23
 
24
  # Enable attention slicing for reduced memory usage