Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@ if torch.cuda.is_available():
|
|
| 39 |
decoder_pipeline.to(device)
|
| 40 |
|
| 41 |
if USE_TORCH_COMPILE:
|
| 42 |
-
prior_pipeline.prior = torch.compile(prior_pipeline.prior)
|
| 43 |
decoder_pipeline.decoder = torch.compile(decoder_pipeline.decoder, mode="reduce-overhead", fullgraph=True)
|
| 44 |
|
| 45 |
if PREVIEW_IMAGES:
|
|
|
|
| 39 |
decoder_pipeline.to(device)
|
| 40 |
|
| 41 |
if USE_TORCH_COMPILE:
|
| 42 |
+
#prior_pipeline.prior = torch.compile(prior_pipeline.prior)
|
| 43 |
decoder_pipeline.decoder = torch.compile(decoder_pipeline.decoder, mode="reduce-overhead", fullgraph=True)
|
| 44 |
|
| 45 |
if PREVIEW_IMAGES:
|