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

Add support for model quantization. #8205

Open
binliunls opened this issue Nov 14, 2024 · 0 comments · May be fixed by #8209
Open

Add support for model quantization. #8205

binliunls opened this issue Nov 14, 2024 · 0 comments · May be fixed by #8209
Labels
enhancement New feature or request Feature request

Comments

@binliunls
Copy link
Contributor

Is your feature request related to a problem? Please describe.
In order to get a better inference performance, there are ways to quantize a deep learning model to a lower precision model like int8/int4 with an acceptable precsion decrease. Here are some examples:

  1. Pytorch Official
  2. NVIDIA library
  3. ONNX library

Medical images always cost plenty of inference time because of the 3D shape and large size. Since MONAI has already supported the onnx and trt export, it would be better to leverage the quantization feature supported by these formats and get a better latency for the medical image inference. What's more this will benefit the edge and network applications, both of which would be benefit from the low latency.

Describe the solution you'd like
APIs to convert, save, load and deploy quantization models.
Functions to perform the corresponding actions in python scripts.

@KumoLiu KumoLiu added enhancement New feature or request Feature request labels Nov 14, 2024
@binliunls binliunls linked a pull request Nov 15, 2024 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants