Spaces:
Runtime error
Runtime error
load WD with from_pt=True
Browse files
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()
|