Skip to content

Quantize#3

Merged
tarekziade merged 4 commits intomainfrom
quantize
Jan 14, 2026
Merged

Quantize#3
tarekziade merged 4 commits intomainfrom
quantize

Conversation

@tarekziade
Copy link
Collaborator

Added quantization support for the DSL

Implements foundation for quantized graph serialization:
- Add Int4, Uint4 DataType variants with text format mappings (i4, u4)
- Add quantized boolean flag to GraphJson with @quantized annotation
- Add SerializeOptions to control quantized flag emission
- Update parser grammar to recognize @quantized in graph header
- Text format: webnn_graph "name" v1 @quantized { ... }
- JSON format: "quantized": true field
- Default: false (backwards compatible)
@tarekziade tarekziade merged commit 01fdf69 into main Jan 14, 2026
6 checks passed
@tarekziade tarekziade deleted the quantize branch January 14, 2026 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant