Spaces:
Runtime error
Runtime error
Update optimization.py
Browse files- optimization.py +1 -1
optimization.py
CHANGED
|
@@ -61,5 +61,5 @@ def optimize_pipeline_(pipeline: Callable[P, Any], *args: P.args, **kwargs: P.kw
|
|
| 61 |
return aoti_compile(exported, INDUCTOR_CONFIGS)
|
| 62 |
|
| 63 |
transformer_config = pipeline.transformer.config
|
| 64 |
-
pipeline.transformer =
|
| 65 |
pipeline.transformer.config = transformer_config # pyright: ignore[reportAttributeAccessIssue]
|
|
|
|
| 61 |
return aoti_compile(exported, INDUCTOR_CONFIGS)
|
| 62 |
|
| 63 |
transformer_config = pipeline.transformer.config
|
| 64 |
+
pipeline.transformer = compile_transformer()
|
| 65 |
pipeline.transformer.config = transformer_config # pyright: ignore[reportAttributeAccessIssue]
|