Can you try this? 

```
with relay.build_config(opt_level=3, disabled_pass=["AlterOpLayout"]):
   ...
```

If my memory is right, AlterLayout is what enables winograd weight transform at 
compile time. I agree 1.5x increase is pretty bad. Since weight transform is 
cheap, I don't think perf hit would be big.





---
[Visit 
Topic](https://discuss.tvm.ai/t/inconsistent-params-size-of-optimized-models-vs-non-optimized/6444/4)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.ai/email/unsubscribe/2d36493138dda5ac67dc0df3b23975dcc48b2934720d6cb92b45ebbd1b6a778c).

Reply via email to