Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -172,12 +172,11 @@ def load_and_prepare_model():
|
|
172 |
return pipe
|
173 |
|
174 |
hidet.option.parallel_build(True)
|
175 |
-
hidet.option.parallel_tune(-1,
|
176 |
#hidet.torch.dynamo_config.steal_weights(False)
|
177 |
torch._dynamo.config.suppress_errors = True
|
178 |
torch._dynamo.disallow_in_graph(diffusers.models.attention.BasicTransformerBlock)
|
179 |
|
180 |
-
|
181 |
# more search
|
182 |
hidet.torch.dynamo_config.search_space(0)
|
183 |
#hidet.torch.dynamo_config.dump_graph_ir("./local_graph")
|
|
|
172 |
return pipe
|
173 |
|
174 |
hidet.option.parallel_build(True)
|
175 |
+
hidet.option.parallel_tune(-1,1.0)
|
176 |
#hidet.torch.dynamo_config.steal_weights(False)
|
177 |
torch._dynamo.config.suppress_errors = True
|
178 |
torch._dynamo.disallow_in_graph(diffusers.models.attention.BasicTransformerBlock)
|
179 |
|
|
|
180 |
# more search
|
181 |
hidet.torch.dynamo_config.search_space(0)
|
182 |
#hidet.torch.dynamo_config.dump_graph_ir("./local_graph")
|