-
Notifications
You must be signed in to change notification settings - Fork 240
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
[Good First Issue][NNCF]: Dump actual_subset_size to ov.Model #2562
Comments
.take |
Thank you for looking into this issue! Please let us know if you have any questions or require any help. |
@AiGaf1 Hi, are you still working on this task? Do you need any help? Please inform us if you do not plan to continue working on this task. Thanks! |
Dump actual_subset_size to ov.Model (Issue openvinotoolkit#2562)
Hello! is there any update on this issue? If not i wish to work on this issue. |
@l-bat could you please reassign the issue to @RitikaxShakya? I lack the permissions for NNCF repository. |
.take |
Thanks for being interested in this issue. It looks like this ticket is already assigned to a contributor. Please communicate with the assigned contributor to confirm the status of the issue. |
Hello @RitikaxShakya, are you still working on that issue? Do you need any help? |
.take |
Thank you for looking into this issue! Please let us know if you have any questions or require any help. |
Hi @l-bat I created a PR after testing locally, and the XML output is as expected: I ran the pytest in tests/openvino, and the original tests did not break. But I have 2 questions
Thank you very much! |
Hi @awayzjj!
nncf/nncf/common/tensor_statistics/aggregator.py Lines 50 to 53 in e8ea252
get_actual_subset_size() function.
|
|
@l-bat Hi, I've been really busy lately, so I've decided to unassign myself for now. I apologize for any inconvenience this may cause. |
.take |
Thank you for looking into this issue! Please let us know if you have any questions or require any help. |
Context
After applying quantization to the ov.Model in Neural Network Compression Framework (NNCF), the quantization parameters, including
subset_size
, are dumped to the meta section of the OpenVINO IR.subset_size
represents the size of the dataset used for calibration.nncf/nncf/openvino/quantization/quantize_model.py
Line 102 in 09960b9
However, inconsistencies arise when the dataset size is less than the provided or default 'subset_size'. To address this confusion, it is proposed to also dump the
actual_subset_size
, which denotes the number of data samples used to calculate activation statistics. This addition will improve clarity and accuracy in managing quantization parameters and assist in reproducing quantization results.What needs to be done?
actual_subset_size
parameter to ov.Model meta section.Example Pull Requests
No response
Resources
Contact points
@l-bat
Ticket
No response
The text was updated successfully, but these errors were encountered: