Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/sg 000 add note that qat only supports gpu #1830

Merged
merged 3 commits into from
Feb 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions documentation/source/ptq_qat.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ In this tutorial, we’ll compare post-training quantization (PTQ) to quantizati

For mode detailed information and theoretical background, refer to this [NVIDIA whitepaper](https://arxiv.org/pdf/2004.09602.pdf) and [this practical guide from PyTorch](https://pytorch.org/blog/quantization-in-practice/).

**Note: quantization is currently supported exclusively for GPU and TensorRT environments.**


## Quantization: FP32 vs FP16 vs INT8
Quantization is a model size reduction technique that converts model weights from high-precision floating-point representation (32-bit float) to low-precision floating-point (FP) representation, such as 16-bit or 8-bit.
Expand Down
1 change: 1 addition & 0 deletions documentation/source/qat_ptq_yolo_nas.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Pre-requisites:
- [Training with configuration files](https://github.com/Deci-AI/super-gradients/blob/master/documentation/source/configuration_files.md)
- [PTQ and QAT](https://github.com/Deci-AI/super-gradients/blob/master/documentation/source/ptq_qat.md)

**Note: quantization is currently supported exclusively for GPU and TensorRT environments.**

Now, let's get to it.

Expand Down
6 changes: 4 additions & 2 deletions notebooks/PTQ_and_QAT_for_classification.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
"\n",
"Full tutorial can be found [here](https://github.com/Deci-AI/super-gradients/blob/master/documentation/source/ptq_qat.md)\n",
"\n",
"SuperGradient's Recipes for PTQ/QAT can be found [here](https://github.com/Deci-AI/super-gradients/tree/master/src/super_gradients/recipes/quantization_params)\n"
"SuperGradient's Recipes for PTQ/QAT can be found [here](https://github.com/Deci-AI/super-gradients/tree/master/src/super_gradients/recipes/quantization_params)\n",
"\n",
"**Note: quantization is currently supported exclusively for GPU and TensorRT environments.**"
]
},
{
Expand Down Expand Up @@ -1854,4 +1856,4 @@
},
"nbformat": 4,
"nbformat_minor": 0
}
}
Loading