Repository navigation
·
3124 commits
to develop
since this release
- Breaking changes:
- Dropped support for Python 3.10; the minimum supported version is now Python 3.11 (#4242).
- Features:
- Added Quantization Aware Distillation (QAD) with absorbable LoRA workflows and model exporting for accurate 3-bit weight compression. It also includes the following NNCF changes:
- (PyTorch) Added the
INT2_SYMandINT3_SYMmodes to LoRA-QAT (#4158). - (PyTorch) Added the
GroupedMatMuloperation support for data-free weight compression (#4241). - (PyTorch) Layers with a dimension smaller than
lora_rankare now compressed with the backup mode instead of the LoRA low-rank scope in QAD (#4287). - (PyTorch) Added a
register_parametrization-based representation of the compressed model on strip and enabled the export of image-text-to-text models after 2-3 bit QAD (#4288). - (PyTorch) Added the 2/3-bit LLM compression example.
- (PyTorch) Added the
- Introduced the
nncf.Scopeclass, which generalizesnncf.IgnoredScopefor selecting nodes by names, patterns, types, and subgraphs;nncf.IgnoredScopeis kept as an alias (#4236). - Per-layer compression settings: added
nncf.ScopedConfigto control how individual parts of a model are compressed innncf.compress_weights. Now the precision and group size can be chosen for the layers that matter most, which makes it easier to get a good balance between model size and accuracy. For example, in a Mixture-of-Experts LLM you can compress the large expert layers to INT4 to save memory, and keep the small but accuracy-critical attention and router layers in INT8.- Introduced
nncf.ScopedConfigand thescoped_configsparameter ofnncf.compress_weights. Each scoped config selects layers the same way asnncf.Scopeand sets their compression mode and group size. You can pass several scoped configs in one call to build a mixed-precision recipe (#4171). - Added the Scoped Config guide (#4299) and the TinyLlama scoped config example, which keeps attention layers in INT8 and compresses the rest of the model to INT4 (#4290).
- Introduced
- (OpenVINO) Added the
group_sizeparameter support for INT8 weight compression modes (#4278).
- Added Quantization Aware Distillation (QAD) with absorbable LoRA workflows and model exporting for accurate 3-bit weight compression. It also includes the following NNCF changes:
- Fixes:
- Improvements:
- (PyTorch) Migrated the TorchFX model extraction to the
FXModelExtractionCommandinstead of PyTorch commands (#4183).
- (PyTorch) Migrated the TorchFX model extraction to the
- New Tutorials with NNCF:
- Qwen-Image 2.1 image generation with OpenVINO
- Visual-language assistant with MiniCPM-V 4.7 and OpenVINO
- Document OCR with MiniCPM-OCR and OpenVINO
- Multimodal AI with LFM3 and OpenVINO
- Laya Decision Models with OpenVINO
- Video understanding with V-JEPA 2.1 and OpenVINO
- SAM 3D Body with OpenVINO on Intel GPU
- Speech Understanding with SenseVoiceSmall and OpenVINO
- Granite 4.0-1B text generation with OpenVINO
- Synchronized audio-video generation with LTX-2.3 and OpenVINO(TM)
- Deprecations/Removals:
- Requirements: