Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -167,7 +167,7 @@ def load_and_prepare_model():
|
|
167 |
|
168 |
hidet.option.parallel_build(True)
|
169 |
hidet.option.parallel_tune(-1,4.0)
|
170 |
-
hidet.torch.dynamo_config.steal_weights(False)
|
171 |
torch._dynamo.config.suppress_errors = True
|
172 |
torch._dynamo.disallow_in_graph(diffusers.models.attention.BasicTransformerBlock)
|
173 |
# Preload and compile both models
|
|
|
167 |
|
168 |
hidet.option.parallel_build(True)
|
169 |
hidet.option.parallel_tune(-1,4.0)
|
170 |
+
#hidet.torch.dynamo_config.steal_weights(False)
|
171 |
torch._dynamo.config.suppress_errors = True
|
172 |
torch._dynamo.disallow_in_graph(diffusers.models.attention.BasicTransformerBlock)
|
173 |
# Preload and compile both models
|