Skip to content

Quantize Gemma4 per-layer embedding tables for WebGPU (INT4/INT8 configurable) - #403

Draft
feich-ms wants to merge 6 commits into
mainfrom
user/feich/quantize_per_layer_embedding_table
Draft

Quantize Gemma4 per-layer embedding tables for WebGPU (INT4/INT8 configurable)#403
feich-ms wants to merge 6 commits into
mainfrom
user/feich/quantize_per_layer_embedding_table

Isolate Gemma4 per-layer embedding quantization

839ccf3
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / lintrunner succeeded Jul 29, 2026 in 5s

7 new alerts

New alerts in code changed by this pull request

  • 7 warnings

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 328 in src/mobius/_configs/_base.py

See this annotation in the file changed.

Code scanning / lintrunner

RUFF/F401 Warning

mobius._configs.per_model imported but unused.
See https://docs.astral.sh/ruff/rules/unused-import

Check warning on line 328 in src/mobius/_configs/_base.py

See this annotation in the file changed.

Code scanning / lintrunner

RUFF/RUF102 Warning

Invalid rule code in suppression: unused-import.
See https://docs.astral.sh/ruff/rules/invalid-rule-code

Check warning on line 343 in src/mobius/_configs/_base.py

See this annotation in the file changed.

Code scanning / lintrunner

RUFF/F401 Warning

mobius._configs.per_model imported but unused.
See https://docs.astral.sh/ruff/rules/unused-import

Check warning on line 343 in src/mobius/_configs/_base.py

See this annotation in the file changed.

Code scanning / lintrunner

RUFF/RUF102 Warning

Invalid rule code in suppression: unused-import.
See https://docs.astral.sh/ruff/rules/invalid-rule-code

Check warning on line 1138 in src/mobius/_weight_utils_test.py

See this annotation in the file changed.

Code scanning / lintrunner

RUFF/D403 Warning

First word of the docstring should be capitalized: bits -> Bits.
See https://docs.astral.sh/ruff/rules/first-word-uncapitalized

Check warning on line 1175 in src/mobius/_weight_utils_test.py

See this annotation in the file changed.

Code scanning / lintrunner

RUFF/RUF059 Warning

Unpacked variable scales is never used.
See https://docs.astral.sh/ruff/rules/unused-unpacked-variable

Check warning on line 1175 in src/mobius/_weight_utils_test.py

See this annotation in the file changed.

Code scanning / lintrunner

RUFF/RUF059 Warning

Unpacked variable zp is never used.
See https://docs.astral.sh/ruff/rules/unused-unpacked-variable