# \[Pytorch\] The inference results of tvm and pytorch are inconsistent

**URL:** <https://discuss.tvm.apache.org/t/pytorch-the-inference-results-of-tvm-and-pytorch-are-inconsistent/12048>\
**Category:** Troubleshooting\
**Created:** [February 9, 2022, 5:33am UTC](https://discuss.tvm.apache.org/t/pytorch-the-inference-results-of-tvm-and-pytorch-are-inconsistent/12048 "2022-02-09T05:33:39Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![masahi](https://discuss.tvm.apache.org/user_avatar/discuss.tvm.apache.org/masahi/32/74_2.png) [@masahi](https://discuss.tvm.apache.org/u/masahi)\
**Post date:** [February 9, 2022, 12:36pm UTC](https://discuss.tvm.apache.org/t/pytorch-the-inference-results-of-tvm-and-pytorch-are-inconsistent/12048/4 "2022-02-09T12:36:07Z")

</div>

Interesting, does PyTorch do something like that? It’s not obvious to me if we can do this without concern. Would this change make the output of every adaptive avg pool different? What about normal avg pooling?

---

_[View the full topic](https://discuss.tvm.apache.org/t/pytorch-the-inference-results-of-tvm-and-pytorch-are-inconsistent/12048)._
