codic commited on
Commit
65fdc29
·
verified ·
1 Parent(s): 6d42413

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -27,10 +27,6 @@ pipe = diffusers.MarigoldDepthPipeline.from_pretrained(
27
  "prs-eth/marigold-depth-lcm-v1-0", variant="fp16", torch_dtype=torch.float16
28
  ).to(device)
29
 
30
- # Optimizations:
31
- # 1. Compile the UNet model for performance improvement
32
- pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead", fullgraph=True)
33
-
34
  # 2. Load a custom VAE for potentially better results
35
  pipe.vae = diffusers.AutoencoderTiny.from_pretrained(
36
  "madebyollin/taesd", torch_dtype=torch.float16
 
27
  "prs-eth/marigold-depth-lcm-v1-0", variant="fp16", torch_dtype=torch.float16
28
  ).to(device)
29
 
 
 
 
 
30
  # 2. Load a custom VAE for potentially better results
31
  pipe.vae = diffusers.AutoencoderTiny.from_pretrained(
32
  "madebyollin/taesd", torch_dtype=torch.float16