Skip to content

Conversation

@AlexanderDokuchaev
Copy link
Collaborator

Reason for changes

Upcoming release

Related tickets

176350

@MaximProshin
Copy link
Collaborator

@l-bat , please help with the list of new notebooks with NNCF. I noticed the following only:

- General:
- ...
- Features:
- The histogram aggregator was introduced, improving metrics for a number of classification models with PTQ.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Post-training Quantization:

- Breaking changes:
- (OpenVINO) `nncf.CompressWeightsMode.E2M1` `mode` option is renamed to `nncf.CompressWeightsMode.MXFP4`.
Copy link
Collaborator

Choose a reason for hiding this comment

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

- ...
- Features:
- The histogram aggregator was introduced, improving metrics for a number of classification models with PTQ.
- (OpenVINO) Introduced several new compression modes in `nncf.CompressWeightsMode`: `MXFP8`, `FP8`, and `FP4`. These can be used as the `mode` option in `nncf.compress_weights()` to apply the corresponding MXFP8, FP8, or FP4 precisions (experimental).
Copy link
Collaborator

Choose a reason for hiding this comment

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

- Fixes:
- ...
- Improvements:
- Maximum memory consumption during statistic collection has been reduced by releasing model output memory before the next statistic collection inference call.
Copy link
Collaborator

Choose a reason for hiding this comment

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

- Features:
- The histogram aggregator was introduced, improving metrics for a number of classification models with PTQ.
- (OpenVINO) Introduced several new compression modes in `nncf.CompressWeightsMode`: `MXFP8`, `FP8`, and `FP4`. These can be used as the `mode` option in `nncf.compress_weights()` to apply the corresponding MXFP8, FP8, or FP4 precisions (experimental).
- Now weight compression biwidth distribution table also displays group size value for each of the compression data type.
Copy link
Collaborator

Choose a reason for hiding this comment

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

- Known issues:
- ...
- Other:
- Refined the handling of layers that don't have channel size divisible by group size during weight compression. Now the default behavior in such case is that an error will be raised and in the error message users are suggested to provide a different group size value or use `GroupSizeFallbackMode.ADJUST` to automatically adjust group size for problematic layers.
Copy link
Collaborator

@nikita-savelyevv nikita-savelyevv Nov 12, 2025

Choose a reason for hiding this comment

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

- (OpenVINO) Introduced several new compression modes in `nncf.CompressWeightsMode`: `MXFP8`, `FP8`, and `FP4`. These can be used as the `mode` option in `nncf.compress_weights()` to apply the corresponding MXFP8, FP8, or FP4 precisions (experimental).
- Now weight compression biwidth distribution table also displays group size value for each of the compression data type.
- Fixes:
- Added an ignored pattern for position embedding layer in Segment Anything model.
Copy link
Collaborator

Choose a reason for hiding this comment

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

- Added an ignored pattern for position embedding layer in Segment Anything model.
- Improvements:
- Maximum memory consumption during statistic collection has been reduced by releasing model output memory before the next statistic collection inference call.
- Reduced peak memory footprint for Bias Correction algorithm.
Copy link
Collaborator

Choose a reason for hiding this comment

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

- Improvements:
- Maximum memory consumption during statistic collection has been reduced by releasing model output memory before the next statistic collection inference call.
- Reduced peak memory footprint for Bias Correction algorithm.
- (OpenVINO) Reduced time (by up to 3x) and memory (by up to 1.5x) it takes to compress models to `MXFP4` data type.
Copy link
Collaborator

Choose a reason for hiding this comment

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

- The histogram aggregator was introduced, improving metrics for a number of classification models with PTQ.
- (OpenVINO) Introduced several new compression modes in `nncf.CompressWeightsMode`: `MXFP8`, `FP8`, and `FP4`. These can be used as the `mode` option in `nncf.compress_weights()` to apply the corresponding MXFP8, FP8, or FP4 precisions (experimental).
- Now weight compression biwidth distribution table also displays group size value for each of the compression data type.
- (ONNX) Support for the SmoothQuant algorithm has been added to the ONNX backend for INT8 quantization.
Copy link
Contributor

Choose a reason for hiding this comment

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

- (OpenVINO) Introduced several new compression modes in `nncf.CompressWeightsMode`: `MXFP8`, `FP8`, and `FP4`. These can be used as the `mode` option in `nncf.compress_weights()` to apply the corresponding MXFP8, FP8, or FP4 precisions (experimental).
- Now weight compression biwidth distribution table also displays group size value for each of the compression data type.
- (ONNX) Support for the SmoothQuant algorithm has been added to the ONNX backend for INT8 quantization.
- (ONNX) A new transformation has been added to optimize models by folding `QuantizeLinear` nodes with constant inputs into precomputed, quantized initializers. This behavior is controlled by the `COMPRESS_WEIGHTS` backend parameter, which is now enabled (`True`) by default.
Copy link
Contributor

Choose a reason for hiding this comment

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

- Now weight compression biwidth distribution table also displays group size value for each of the compression data type.
- (ONNX) Support for the SmoothQuant algorithm has been added to the ONNX backend for INT8 quantization.
- (ONNX) A new transformation has been added to optimize models by folding `QuantizeLinear` nodes with constant inputs into precomputed, quantized initializers. This behavior is controlled by the `COMPRESS_WEIGHTS` backend parameter, which is now enabled (`True`) by default.
- (ONNX) Support has been added for applying the Fast Bias/Bias Correction algorithm to `MatMul` + `Add` subgraphs where one of the inputs to the `Add` operation is a constant. Previously, these cases were skipped because the `MatMul` operation was not recognized as having a bias, preventing the algorithm from being applied.
Copy link
Contributor

Choose a reason for hiding this comment

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

- (ONNX) Support has been added for applying the Fast Bias/Bias Correction algorithm to `MatMul` + `Add` subgraphs where one of the inputs to the `Add` operation is a constant. Previously, these cases were skipped because the `MatMul` operation was not recognized as having a bias, preventing the algorithm from being applied.
- Fixes:
- Added an ignored pattern for position embedding layer in Segment Anything model.
- (ONNX) Fixed incorrect input handling for the `MatMulNBits` operation that previously caused graph breaks.
Copy link
Contributor

Choose a reason for hiding this comment

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

- Fixes:
- Added an ignored pattern for position embedding layer in Segment Anything model.
- (ONNX) Fixed incorrect input handling for the `MatMulNBits` operation that previously caused graph breaks.
- (ONNX) Resolved an issue with INT4 weight compression in the `Gemm` operation when `transB=1`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation release target

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants