docs: add detailed configuration guide for customized_quantize_layers#1592
Open
tangzz-radxa wants to merge 1 commit intoradxa-docs:mainfrom
Open
docs: add detailed configuration guide for customized_quantize_layers#1592tangzz-radxa wants to merge 1 commit intoradxa-docs:mainfrom
tangzz-radxa wants to merge 1 commit intoradxa-docs:mainfrom
Conversation
- Add example JSON configuration for mixed precision quantization (int16/uint8) - Include configuration notes on layer naming, data type compatibility, and entropy-based selection - Add troubleshooting guidance for data type mismatch errors - Address issue radxa-docs#1321 regarding hybrid quantization configuration for YOLOv26 models
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.
Summary
This PR adds detailed configuration guidance for the
customized_quantize_layerssection in ACUITY toolkit's hybrid quantization feature. The update addresses a documentation gap identified in issue #1321 where users need clearer instructions on how to configure mixed precision quantization (e.g., specifying int16 for certain layers while using uint8 for others).Why
Issue #1321 reported a data type mismatch problem when quantizing YOLOv26 models with the AllWinner NPU toolkit. The user encountered errors where certain layers were quantized to int16 while subsequent layers expected uint8 input, causing compatibility issues during OpenVX conversion.
The existing documentation mentioned the
customized_quantize_layersfeature but lacked:Changes
Added configuration example showing how to specify different quantization types for different layers:
Included configuration considerations covering:
--hybridflagAdded troubleshooting guidance for common issues like "Inputs/Outputs data type not supported" errors, with specific mention of YOLO architecture considerations.
Verification
docs/) and English (i18n/en/) documentation filesRelated Issues
Addresses documentation gap identified in #1321