[OpenVINO Quantizer] Update OpenVINO Quantizer Tutorial#3889
Draft
anzr299 wants to merge 5 commits into
Draft
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/tutorials/3889
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
anzr299
commented
May 11, 2026
Comment on lines
-168
to
-173
| * ``target_device`` - defines the target device, the specificity of which will be taken into account during optimization. The following values are supported: ``ANY`` (default), ``CPU``, ``CPU_SPR``, ``GPU``, and ``NPU``. | ||
|
|
||
| .. code-block:: python | ||
|
|
||
| OpenVINOQuantizer(target_device=nncf.TargetDevice.CPU) | ||
|
|
Author
There was a problem hiding this comment.
@daniil-lyakhov I couldn't find the target_device being used inside of openvino quantizer.
| * ``mode`` - defines quantization scheme for the model. Multiple modes are supported: | ||
|
|
||
| * ``PERFORMANCE`` (default) - defines symmetric quantization of weights and activations | ||
| * ``INT8_SYM`` (default) - defines symmetric quantization of weights and activations. This is the best for performance |
Contributor
There was a problem hiding this comment.
Why leave weight compression behind? Can we extend the example with WC?
Author
There was a problem hiding this comment.
In the optional part? I agree I will add it there.
Also, maybe we can change the link which points to some example for PTQ in executorch like yolo instead of nncf resnet example. What do you think?
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Recently the Openvino quantizer was moved from nncf -> executorch. This would break the imports mentioned in this tutorial.
This PR fixes the imports to use executorch.
Checklist