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

[Docs][torch.compile] NNCF quantization/compression #27934

Merged

Conversation

daniil-lyakhov
Copy link
Contributor

@daniil-lyakhov daniil-lyakhov commented Dec 5, 2024

@github-actions github-actions bot added the category: docs OpenVINO documentation label Dec 5, 2024
@daniil-lyakhov daniil-lyakhov force-pushed the dl/docs/torch_compile_nncf branch 4 times, most recently from 212a24a to a39e498 Compare December 5, 2024 14:27
@daniil-lyakhov daniil-lyakhov force-pushed the dl/docs/torch_compile_nncf branch 2 times, most recently from 44f5476 to 193ec5c Compare December 6, 2024 16:24
TorchServe is a performant, flexible, and easy to use tool for serving PyTorch models in production. For more information on the details of TorchServe,
you can refer to `TorchServe github repository. <https://github.com/pytorch/serve>`__. With OpenVINO ``torch.compile`` integration into TorchServe you can serve
PyTorch models in production and accelerate them with OpenVINO on various Intel hardware. Detailed instructions on how to use OpenVINO with TorchServe are
available in `TorchServe examples. <https://github.com/pytorch/serve/tree/master/examples/pt2/torch_compile_openvino>`__
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @daniil-lyakhov : I was thinking here, as we mention about general TorchServe examples..

NNCF unlocks the full potential of low-precision OpenVINO kernels due to quantizers placement designed specifically for the OpenVINO.
Advanced algorithms like ``SmoothQuant`` or ``BiasCorrection`` allows furher metrics improvement minimizing the outputs discrepancy between the original and compressed models.
For further details, please see the `documentation <https://docs.openvino.ai/2024/openvino-workflow/model-optimization.html>`__
and a `tutorial <https://github.com/daniil-lyakhov/nncf/tree/develop/examples/post_training_quantization/torch_fx/resnet18>`__.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think link is incorrect. it should be official main repo

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad, fixed, thanks!

@daniil-lyakhov daniil-lyakhov force-pushed the dl/docs/torch_compile_nncf branch from d500073 to 8546fe9 Compare December 10, 2024 11:11
@daniil-lyakhov daniil-lyakhov force-pushed the dl/docs/torch_compile_nncf branch from 8546fe9 to c921d4d Compare December 10, 2024 12:17
@github-actions github-actions bot added the category: GPU OpenVINO GPU plugin label Dec 10, 2024
@daniil-lyakhov daniil-lyakhov marked this pull request as ready for review December 13, 2024 09:57
@daniil-lyakhov daniil-lyakhov requested review from a team as code owners December 13, 2024 09:57
@daniil-lyakhov daniil-lyakhov requested review from kblaszczak-intel and removed request for a team December 13, 2024 09:57
@daniil-lyakhov daniil-lyakhov requested a review from a team as a code owner December 13, 2024 11:37
@github-actions github-actions bot removed the category: GPU OpenVINO GPU plugin label Dec 13, 2024
@github-actions github-actions bot added the category: PyTorch FE OpenVINO PyTorch Frontend label Dec 13, 2024
@daniil-lyakhov daniil-lyakhov force-pushed the dl/docs/torch_compile_nncf branch from c15ea7d to a2e8e0b Compare December 16, 2024 17:17
@daniil-lyakhov
Copy link
Contributor Author

@ravi9, @ynimmaga, please take a look

@daniil-lyakhov daniil-lyakhov force-pushed the dl/docs/torch_compile_nncf branch 2 times, most recently from 8bd6753 to 7cb0446 Compare December 17, 2024 13:23
@github-actions github-actions bot removed the category: PyTorch FE OpenVINO PyTorch Frontend label Dec 17, 2024
@daniil-lyakhov daniil-lyakhov force-pushed the dl/docs/torch_compile_nncf branch from 7cb0446 to 1a8a556 Compare December 17, 2024 13:26
Copy link
Contributor

@ynimmaga ynimmaga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MaximProshin MaximProshin added this pull request to the merge queue Dec 18, 2024
Merged via the queue into openvinotoolkit:master with commit afdb0e6 Dec 18, 2024
142 checks passed
github-merge-queue bot pushed a commit that referenced this pull request Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: docs OpenVINO documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants