Spaces:
Running
on
Zero
Running
on
Zero
Trigger `space` update
#812
by
Wauplin
HF staff
- opened
app.py
CHANGED
@@ -41,6 +41,7 @@ main_pipe = StableDiffusionControlNetPipeline.from_pretrained(
|
|
41 |
#model_id = "stabilityai/sd-x2-latent-upscaler"
|
42 |
image_pipe = StableDiffusionControlNetImg2ImgPipeline(**main_pipe.components)
|
43 |
|
|
|
44 |
#image_pipe.unet = torch.compile(image_pipe.unet, mode="reduce-overhead", fullgraph=True)
|
45 |
#upscaler = StableDiffusionLatentUpscalePipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
46 |
#upscaler.to("cuda")
|
|
|
41 |
#model_id = "stabilityai/sd-x2-latent-upscaler"
|
42 |
image_pipe = StableDiffusionControlNetImg2ImgPipeline(**main_pipe.components)
|
43 |
|
44 |
+
|
45 |
#image_pipe.unet = torch.compile(image_pipe.unet, mode="reduce-overhead", fullgraph=True)
|
46 |
#upscaler = StableDiffusionLatentUpscalePipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
47 |
#upscaler.to("cuda")
|