ford442 commited on
Commit
920d47b
·
verified ·
1 Parent(s): bdac6d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -170,7 +170,7 @@ def load_and_prepare_model():
170
  return pipe
171
 
172
  hidet.option.parallel_build(True)
173
- #hidet.option.parallel_tune(-1,4.0)
174
 
175
  torch._dynamo.config.suppress_errors = True
176
  torch._dynamo.disallow_in_graph(diffusers.models.attention.BasicTransformerBlock)
@@ -178,7 +178,7 @@ torch._dynamo.disallow_in_graph(diffusers.models.attention.BasicTransformerBlock
178
 
179
 
180
  # more search
181
- hidet.torch.dynamo_config.search_space(1)
182
  #hidet.torch.dynamo_config.dump_graph_ir("./local_graph")
183
  hidet.option.cache_dir("local_cache")
184
  # automatically transform the model to use float16 data type
 
170
  return pipe
171
 
172
  hidet.option.parallel_build(True)
173
+ #hidet.option.parallel_tune(-1,2.0)
174
 
175
  torch._dynamo.config.suppress_errors = True
176
  torch._dynamo.disallow_in_graph(diffusers.models.attention.BasicTransformerBlock)
 
178
 
179
 
180
  # more search
181
+ hidet.torch.dynamo_config.search_space(0)
182
  #hidet.torch.dynamo_config.dump_graph_ir("./local_graph")
183
  hidet.option.cache_dir("local_cache")
184
  # automatically transform the model to use float16 data type