-
Notifications
You must be signed in to change notification settings - Fork 393
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update aimet_torch.v2 apis to default in the docs (#3672)
Update v2 APIs to default in docs Signed-off-by: Hitarth Mehta <[email protected]>
- Loading branch information
1 parent
946e769
commit 5494006
Showing
31 changed files
with
259 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 4 additions & 5 deletions
9
...ef/torch/v2/interactive_visualization.rst → ...piref/torch/interactive_visualization.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
.. _api-torch-mp: | ||
|
||
=========================== | ||
aimet_torch.mixed_precision | ||
=========================== | ||
|
||
.. | ||
# start-after mmp | ||
**Top-level API for Manual mixed precision** | ||
|
||
.. autoclass:: aimet_torch.v2.mixed_precision.MixedPrecisionConfigurator | ||
:members: | ||
:member-order: bysource | ||
|
||
.. | ||
# end-before mmp | ||
.. | ||
# start-after amp | ||
**Top-level API for Automatic mixed precision** | ||
|
||
.. autofunction:: aimet_torch.mixed_precision.choose_mixed_precision | ||
|
||
.. note:: | ||
To enable phase-3 set the attribute GreedyMixedPrecisionAlgo.ENABLE_CONVERT_OP_REDUCTION = True | ||
|
||
Currently only two candidates are supported - ((8,int), (8,int)) & ((16,int), (8,int)) | ||
|
||
**Quantizer Groups definition** | ||
|
||
.. autoclass:: aimet_torch.amp.quantizer_groups.QuantizerGroup | ||
:members: | ||
|
||
**CallbackFunc Definition** | ||
|
||
.. autoclass:: aimet_common.defs.CallbackFunc | ||
:members: | ||
|
||
.. autoclass:: aimet_torch.amp.mixed_precision_algo.EvalCallbackFactory | ||
:members: | ||
|
||
.. | ||
# end-before amp | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
Docs/apiref/torch/v2/quantization.rst → Docs/apiref/torch/quantization.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
.. _apiref-torch-v1-adaround: | ||
|
||
####################### | ||
aimet_torch.v1.adaround | ||
####################### | ||
|
||
.. | ||
# start-after | ||
.. note:: | ||
This module is also available in the default :mod:`aimet_torch` namespace with | ||
the same top-level API. | ||
|
||
**Top level APIs** | ||
|
||
.. autofunction:: aimet_torch.v1.adaround.adaround_weight.Adaround.apply_adaround | ||
|
||
**Adaround parameters** | ||
|
||
.. autoclass:: aimet_torch.v1.adaround.adaround_weight.AdaroundParameters | ||
:members: | ||
|
||
.. | ||
# end-before |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.. _apiref-torch-v1-autoquant: | ||
|
||
######################### | ||
aimet_torch.v1.auto_quant | ||
######################### | ||
|
||
.. | ||
# start-after | ||
.. note:: | ||
This module is also available in the default :mod:`aimet_torch` namespace with | ||
the same top-level API. | ||
|
||
**Top-level API** | ||
|
||
.. autoclass:: aimet_torch.v1.auto_quant.AutoQuantWithAutoMixedPrecision | ||
:members: | ||
:member-order: bysource | ||
:no-index: | ||
|
||
.. | ||
# end-before |
Oops, something went wrong.