ford442 commited on
Commit
b597791
·
verified ·
1 Parent(s): 94a95e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -165,6 +165,8 @@ def load_and_prepare_model():
165
  return pipe
166
 
167
  hidet.option.parallel_build(True)
 
 
168
  torch._dynamo.config.suppress_errors = True
169
  torch._dynamo.disallow_in_graph(diffusers.models.attention.BasicTransformerBlock)
170
  # Preload and compile both models
 
165
  return pipe
166
 
167
  hidet.option.parallel_build(True)
168
+ hidet.option.parallel_tune(-1,4.0)
169
+
170
  torch._dynamo.config.suppress_errors = True
171
  torch._dynamo.disallow_in_graph(diffusers.models.attention.BasicTransformerBlock)
172
  # Preload and compile both models