Skip to content

[quantization] Quantize Gemma4 PLE arithmetic for Circle export - #1076

Merged
mhs4670go merged 3 commits into
Samsung:mainfrom
mhs4670go:fix/gemma4-ple-projection-quantization
Oct 22, 2026
Merged

mhs4670go merged 3 commits into
Samsung:mainfrom
mhs4670go:fix/gemma4-ple-projection-quantization

Conversation

@mhs4670go

Copy link
Copy Markdown
Contributor

Observe the projection-plus-token ADD output and quantize the two PLE multiplication scale constants in both prefill and decode. Reuse the frozen model observers at export boundaries and preserve the existing final per-layer-input quantization contract.

Reject legacy PLE checkpoints without the required calibration state. Add focused Circle dtype/qparam regression checks and update the Gemma4 export documentation.

TICO-DCO-1.0-Signed-off-by: seongwoo chae mhs4670go@naver.com

Observe the projection-plus-token ADD output and quantize the
two PLE multiplication scale constants in both prefill and decode.
Reuse the frozen model observers at export boundaries and preserve
the existing final per-layer-input quantization contract.

Reject legacy PLE checkpoints without the required calibration state.
Add focused Circle dtype/qparam regression checks and update the
Gemma4 export documentation.

TICO-DCO-1.0-Signed-off-by: seongwoo chae <mhs4670go@naver.com>
Apply the UFMT blank-line changes reported by Check format CI.

TICO-DCO-1.0-Signed-off-by: seongwoo chae <mhs4670go@naver.com>
Allow the quantized Circle regression test to pass its activation
quantization configuration to the tiny Gemma4 text model.

TICO-DCO-1.0-Signed-off-by: seongwoo chae <mhs4670go@naver.com>
@mhs4670go
mhs4670go merged commit 3768004 into Samsung:main Oct 22, 2026
9 checks passed
@mhs4670go
mhs4670go deleted the fix/gemma4-ple-projection-quantization branch October 22, 2026 08:04
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