mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Fix broken link to fx graph quant guide in quantization.rst (#56776)
Summary: No oustanding issue, can create it if needed. Was looking for that resource and it was moved without fixing the documentation. Cheers Pull Request resolved: https://github.com/pytorch/pytorch/pull/56776 Reviewed By: heitorschueroff Differential Revision: D27967020 Pulled By: ezyang fbshipit-source-id: a5cd7d554da43a9c9e44966ccd0b0ad9eef2948c
This commit is contained in:
committed by
Facebook GitHub Bot
parent
ed9c7e187b
commit
689d3a70aa
@ -86,7 +86,7 @@ Eager Mode Quantization is a beta feature. User needs to do fusion and specify w
|
||||
|
||||
FX Graph Mode Quantization is a new automated quantization framework in PyTorch, and currently it's a prototype feature. It improves upon Eager Mode Quantization by adding support for functionals and automating the quantization process, although people might need to refactor the model to make the model compatible with FX Graph Mode Quantization (symbolically traceable with ``torch.fx``). Note that FX Graph Mode Quantization is not expected to work on arbitrary models since the model might not be symbolically traceable, we will integrate it into domain libraries like torchvision and users will be able to quantize models similar to the ones in supported domain libraries with FX Graph Mode Quantization. For arbitrary models we'll provide general guidelines, but to actually make it work, users might need to be familiar with ``torch.fx``, especially on how to make a model symbolically traceable.
|
||||
|
||||
New users of quantization are encouraged to try out FX Graph Mode Quantization first, if it does not work, user may try to follow the guideline of `using FX Graph Mode Quantization <https://pytorch.org/tutorials/prototype/fx_graph_mode_quant_guide_tutorial.html>`_ or fall back to eager mode quantization.
|
||||
New users of quantization are encouraged to try out FX Graph Mode Quantization first, if it does not work, user may try to follow the guideline of `using FX Graph Mode Quantization <https://pytorch.org/tutorials/prototype/fx_graph_mode_quant_guide.html>`_ or fall back to eager mode quantization.
|
||||
|
||||
The following table compares the differences between Eager Mode Quantization and FX Graph Mode Quantization:
|
||||
|
||||
|
Reference in New Issue
Block a user