Cognomen commited on
Commit
23ace94
Β·
1 Parent(s): 1da736d

load WD with from_pt=True

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -30,6 +30,7 @@ pipe = FlaxStableDiffusionControlNetPipeline.from_pretrained(
30
  "./models/wd-1-5-b2",
31
  controlnet=cnet,
32
  dtype=jnp.bfloat16,
 
33
  )
34
  pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config)
35
  #pipe.enable_model_cpu_offload()
 
30
  "./models/wd-1-5-b2",
31
  controlnet=cnet,
32
  dtype=jnp.bfloat16,
33
+ from_pt=True
34
  )
35
  pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config)
36
  #pipe.enable_model_cpu_offload()