Commit
·
923fd8e
1
Parent(s):
7ff7084
disabled CPU Offloading
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ pipe = StableDiffusionXLControlNetTileSRPipeline.from_pretrained(
|
|
| 31 |
# quantize_8bit(unet) # << Enable this if you have limited VRAM
|
| 32 |
# pipe.unet = unet
|
| 33 |
|
| 34 |
-
pipe.enable_model_cpu_offload() # << Enable this if you have limited VRAM
|
| 35 |
pipe.enable_vae_tiling() # << Enable this if you have limited VRAM
|
| 36 |
pipe.enable_vae_slicing() # << Enable this if you have limited VRAM
|
| 37 |
|
|
|
|
| 31 |
# quantize_8bit(unet) # << Enable this if you have limited VRAM
|
| 32 |
# pipe.unet = unet
|
| 33 |
|
| 34 |
+
#pipe.enable_model_cpu_offload() # << Enable this if you have limited VRAM
|
| 35 |
pipe.enable_vae_tiling() # << Enable this if you have limited VRAM
|
| 36 |
pipe.enable_vae_slicing() # << Enable this if you have limited VRAM
|
| 37 |
|