lenML commited on
Commit
babc3bc
·
verified ·
1 Parent(s): d8ef4d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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