Spaces:
Running
on
A10G
Running
on
A10G
rynmurdock
commited on
Commit
•
a97c596
1
Parent(s):
c563c9c
app.py
CHANGED
@@ -60,7 +60,7 @@ pipe.to(device=DEVICE)
|
|
60 |
def compile_em():
|
61 |
pipe.unet = torch.compile(pipe.unet, mode='reduce-overhead')
|
62 |
pipe.vae = torch.compile(pipe.vae, mode='reduce-overhead')
|
63 |
-
autoencoder.model.forward = torch.compile(autoencoder.model.forward, backend='inductor', dynamic=True
|
64 |
|
65 |
|
66 |
output_hidden_state = False
|
|
|
60 |
def compile_em():
|
61 |
pipe.unet = torch.compile(pipe.unet, mode='reduce-overhead')
|
62 |
pipe.vae = torch.compile(pipe.vae, mode='reduce-overhead')
|
63 |
+
autoencoder.model.forward = torch.compile(autoencoder.model.forward, backend='inductor', dynamic=True)
|
64 |
|
65 |
|
66 |
output_hidden_state = False
|