Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -197,10 +197,10 @@ def load_and_prepare_model():
|
|
197 |
|
198 |
return pipe
|
199 |
|
200 |
-
hidet.option.parallel_build(True)
|
201 |
-
hidet.option.parallel_tune(2,2.0)
|
202 |
#hidet.torch.dynamo_config.steal_weights(False)
|
203 |
-
torch._dynamo.config.suppress_errors = True
|
204 |
torch._dynamo.disallow_in_graph(diffusers.models.attention.BasicTransformerBlock)
|
205 |
|
206 |
# more search
|
|
|
197 |
|
198 |
return pipe
|
199 |
|
200 |
+
# hidet.option.parallel_build(True)
|
201 |
+
# hidet.option.parallel_tune(2,2.0)
|
202 |
#hidet.torch.dynamo_config.steal_weights(False)
|
203 |
+
# torch._dynamo.config.suppress_errors = True
|
204 |
torch._dynamo.disallow_in_graph(diffusers.models.attention.BasicTransformerBlock)
|
205 |
|
206 |
# more search
|