Cognomen commited on
Commit
26eb517
Β·
1 Parent(s): 3d5deda

fix scheduler

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -34,9 +34,8 @@ pipe, params = FlaxStableDiffusionControlNetPipeline.from_pretrained(
34
  controlnet=cnet,
35
  revision="flax",
36
  dtype=jnp.bfloat16,
37
- scheduler=FlaxScoreSdeVeScheduler()
38
  )
39
- #pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config)
40
  #pipe.enable_model_cpu_offload()
41
  #pipe.enable_xformers_memory_efficient_attention()
42
 
 
34
  controlnet=cnet,
35
  revision="flax",
36
  dtype=jnp.bfloat16,
 
37
  )
38
+ pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config)
39
  #pipe.enable_model_cpu_offload()
40
  #pipe.enable_xformers_memory_efficient_attention()
41