ford442 commited on
Commit
5162326
·
verified ·
1 Parent(s): 0051c38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -191,8 +191,8 @@ def load_and_prepare_model():
191
 
192
  return pipe
193
 
194
- hidet.option.parallel_build(False)
195
- #hidet.option.parallel_tune(2,1.5)
196
  #hidet.torch.dynamo_config.steal_weights(False)
197
  torch._dynamo.config.suppress_errors = True
198
  torch._dynamo.disallow_in_graph(diffusers.models.attention.BasicTransformerBlock)
 
191
 
192
  return pipe
193
 
194
+ hidet.option.parallel_build(True)
195
+ hidet.option.parallel_tune(1,2.5)
196
  #hidet.torch.dynamo_config.steal_weights(False)
197
  torch._dynamo.config.suppress_errors = True
198
  torch._dynamo.disallow_in_graph(diffusers.models.attention.BasicTransformerBlock)