# Where is the quantized param saved?

**URL:** <https://discuss.pytorch.org/t/where-is-the-quantized-param-saved/179728>\
**Category:** quantization\
**Created:** [May 11, 2023, 7:59pm UTC](https://discuss.pytorch.org/t/where-is-the-quantized-param-saved/179728 "2023-05-11T19:59:27Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![HDCharles](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/hdcharles/32/38408_2.png) [@HDCharles](https://discuss.pytorch.org/u/HDCharles)\
**Post date:** [May 15, 2023, 8:59pm UTC](https://discuss.pytorch.org/t/where-is-the-quantized-param-saved/179728/3 "2023-05-15T20:59:41Z")

</div>

see this tutorial:

[https://pytorch.org/tutorials/advanced/dynamic\_quantization\_tutorial.html](https://pytorch.org/tutorials/advanced/dynamic_quantization_tutorial.html)

which includes a method for looking at the size of the model.

in general the quantized weight is not simply saved as a quantized tensor with X elements each having Y bits, rather it has to be saved as packedparams which include other intermediate values needed by the quantized matmul to speed up quantization.

---

_[View the full topic](https://discuss.pytorch.org/t/where-is-the-quantized-param-saved/179728)._
