Cognomen commited on
Commit
30b098a
Β·
1 Parent(s): cdad2a7

back to fp16

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,11 +23,11 @@ conditioning_image_transforms = T.Compose(
23
  ]
24
  )
25
 
26
- cnet = ControlNetModel.from_pretrained("./models/catcon-controlnet-wd", torch_dtype=torch.float32, from_flax=True, device="0")
27
  pipe = StableDiffusionControlNetPipeline.from_pretrained(
28
  "./models/wd-1-5-b2",
29
  controlnet=cnet,
30
- torch_dtype=torch.float32,
31
  device="0"
32
  )
33
  pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config)
 
23
  ]
24
  )
25
 
26
+ cnet = ControlNetModel.from_pretrained("./models/catcon-controlnet-wd", torch_dtype=torch.float16, from_flax=True, device="0")
27
  pipe = StableDiffusionControlNetPipeline.from_pretrained(
28
  "./models/wd-1-5-b2",
29
  controlnet=cnet,
30
+ torch_dtype=torch.float16,
31
  device="0"
32
  )
33
  pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config)