You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/03/11 14:34:28 UTC

[GitHub] [tvm] FrozenGene edited a comment on issue #7563: Accuracy drop when use batch and opt_level=3

FrozenGene edited a comment on issue #7563:
URL: https://github.com/apache/tvm/issues/7563#issuecomment-796780183


   > > @guyzsarun There is no mxnet model attachment. So I can not reproduce your issue.
   > 
   > @FrozenGene You can use [this model](https://drive.google.com/drive/folders/1yGXAKebez7R_ZMjWWxaSBD5ixB68GUyR?usp=sharing) as already reported in [TVM discuss](https://discuss.tvm.apache.org/t/bug-performance-drop-with-batch-and-opt-level-3/9193/2).
   
   I could reproduce this issue use the model mentioned. Besides `CanonicalizeOps`, if we just disable `AlterOpLayout` we could pass it too. If we set the target be `cuda`, we could pass too. The difference I could think of is when we set target be `llvm` and turn on `AlterOpLayout`, the layout is `NCHWc`. Maybe we trigger some bug of `NCHWc` layout when batch size is not 1.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org