# \[ONNX\] Tried to trace \<submodule\> but it is not part of the active trace

**URL:** <https://discuss.pytorch.org/t/onnx-tried-to-trace-submodule-but-it-is-not-part-of-the-active-trace/80320>\
**Category:** jit\
**Created:** [May 8, 2020, 11:38am UTC](https://discuss.pytorch.org/t/onnx-tried-to-trace-submodule-but-it-is-not-part-of-the-active-trace/80320 "2020-05-08T11:38:12Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![zetyquickly](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/zetyquickly/32/22489_2.png) [@zetyquickly](https://discuss.pytorch.org/u/zetyquickly)\
**Post date:** [June 4, 2020, 10:52am UTC](https://discuss.pytorch.org/t/onnx-tried-to-trace-submodule-but-it-is-not-part-of-the-active-trace/80320/7 "2020-06-04T10:52:18Z")

</div>

Have a look at this thread maybe you’ll find something relevant

> [@\[ONNX\] Quantized fused Conv2d won't trace](https://discuss.pytorch.org/t/onnx-quantized-fused-conv2d-wont-trace/82244/10):
>
> Please re-try with pytorch nightly build, we recently fixed this so you shouldn’t be seeing this error anymore. Seems like the conv layer is not quantized so it produces onnx::Conv as opposed to the \_caffe2::Int8Conv operator. Currently the onnx export path to caffe2 does not support partially quantized model, so it expects the entire pytorch model to be able to get quantized.

---

_[View the full topic](https://discuss.pytorch.org/t/onnx-tried-to-trace-submodule-but-it-is-not-part-of-the-active-trace/80320)._
