idlebg commited on
Commit
ccbbf37
·
1 Parent(s): 478be90

temporary removing variant="fp16"

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
22
 
23
  torch.cuda.max_memory_allocated(device=device)
24
 
25
- pipe1 = DiffusionPipeline.from_pretrained("FFusion/FFusionXL-BASE", torch_dtype=torch.float16, variant="fp16", use_safetensors=True)
26
  pipe2 = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-refiner-1.0", torch_dtype=torch.float16, variant="fp16", use_safetensors=True)
27
 
28
  pipe1 = pipe1.to(device)
 
22
 
23
  torch.cuda.max_memory_allocated(device=device)
24
 
25
+ pipe1 = StableDiffusionXLPipeline.from_pretrained("FFusion/FFbasetest", torch_dtype=torch.float16, use_safetensors=True)
26
  pipe2 = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-refiner-1.0", torch_dtype=torch.float16, variant="fp16", use_safetensors=True)
27
 
28
  pipe1 = pipe1.to(device)