Spaces:
Running
Running
no cpu offload
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ pipe = FluxControlNetInpaintPipeline.from_pretrained(
|
|
27 |
base_model, controlnet=controlnet, torch_dtype=dtype
|
28 |
).to(device)
|
29 |
|
30 |
-
pipe.enable_model_cpu_offload()
|
31 |
|
32 |
canny = CannyDetector()
|
33 |
|
|
|
27 |
base_model, controlnet=controlnet, torch_dtype=dtype
|
28 |
).to(device)
|
29 |
|
30 |
+
# pipe.enable_model_cpu_offload()
|
31 |
|
32 |
canny = CannyDetector()
|
33 |
|