Skip to content

Commit

Permalink
[quant] Add links in the tutorials (pytorch#1366)
Browse files Browse the repository at this point in the history
Co-authored-by: Brian Johnson <brianjo@fb.com>
  • Loading branch information
jerryzh168 and brianjo committed Mar 4, 2021
1 parent b56094c commit 38d9474
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions prototype_source/fx_graph_mode_ptq_dynamic.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
**Author**: `Jerry Zhang <https://github.com/jerryzh168>`_
This tutorial introduces the steps to do post training dynamic quantization in graph mode based on ``torch.fx``.
We have a separate tutorial for FX Graph Mode Post Training Static Quantization(TODO: link),
comparison between FX Graph Mode Quantization and Eager Mode Quantization can be found in the `quantization docs <https://pytorch.org/docs/stable/quantization.html>`_ (TODO: update link to section)
We have a separate tutorial for `FX Graph Mode Post Training Static Quantization <https://pytorch.org/tutorials/prototype/fx_graph_mode_ptq_static.html>`_,
comparison between FX Graph Mode Quantization and Eager Mode Quantization can be found in the `quantization docs <https://pytorch.org/docs/master/quantization.html#quantization-api-summary>`_
tldr; The FX Graph Mode API for dynamic quantization looks like the following:
Expand Down
2 changes: 1 addition & 1 deletion prototype_source/fx_graph_mode_ptq_static.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This tutorial introduces the steps to do post training static quantization in gr
The advantage of FX graph mode quantization is that we can perform quantization fully automatically on the model
although there might some effort required to make the model compatible with FX Graph Mode Quantizatiion (symbolically traceable with ``torch.fx``),
we'll have a separate tutorial to show how to make the part of the model we want to quantize compatibble with FX Graph Mode Quantization.
We also have a tutorial for FX Graph Mode Post Training Dynamic Quantization(todo).
We also have a tutorial for `FX Graph Mode Post Training Dynamic Quantization <https://pytorch.org/tutorials/prototype/fx_graph_mode_ptq_dynamic.html>`_.
tldr; The FX Graph Mode API looks like the following:

.. code:: python
Expand Down

0 comments on commit 38d9474

Please sign in to comment.