Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -172,8 +172,8 @@ try:
|
|
| 172 |
except:
|
| 173 |
pass
|
| 174 |
|
| 175 |
-
print("Compiling transformer...")
|
| 176 |
-
pipe.transformer = torch.compile(pipe.transformer, mode="max-autotune-no-cudagraphs", fullgraph=False)
|
| 177 |
|
| 178 |
# ==================== 3. 生成逻辑 ====================
|
| 179 |
@spaces.GPU
|
|
|
|
| 172 |
except:
|
| 173 |
pass
|
| 174 |
|
| 175 |
+
# print("Compiling transformer...")
|
| 176 |
+
# pipe.transformer = torch.compile(pipe.transformer, mode="max-autotune-no-cudagraphs", fullgraph=False)
|
| 177 |
|
| 178 |
# ==================== 3. 生成逻辑 ====================
|
| 179 |
@spaces.GPU
|