Skip to content

[CPU][TESTS] Enable quantization for single layer tests #30775

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EgorDuplensky
Copy link
Contributor

@EgorDuplensky EgorDuplensky commented May 28, 2025

Use convolution as an example

Quantization of an operation is achieved naturally by inserting FQ nodes on the inputs.
Also, it is possible to quantize output by inserting FQ + ShuffleChannels(data movement) operations after the node being tested.

For now, only per Tensor quantization is enabled. The logic can be easily extended to support per-channel.
Support for dynamic quantization and weights decompression can also be considered later (we already have custom tests for these scenarios, so it is not that necessary).

@EgorDuplensky EgorDuplensky requested review from a team as code owners May 28, 2025 19:10
@github-actions github-actions bot added category: IE Tests OpenVINO Test: plugins and common category: CPU OpenVINO CPU plugin category: build OpenVINO cmake script / infra labels May 28, 2025
@EgorDuplensky EgorDuplensky force-pushed the int8_single_layer_tests branch 6 times, most recently from 50d72ac to c48d0c9 Compare May 30, 2025 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: build OpenVINO cmake script / infra category: CPU OpenVINO CPU plugin category: IE Tests OpenVINO Test: plugins and common
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants