File size: 1,597 Bytes
d1b60fb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
fedd41d
d1b60fb
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
license: apache-2.0
tags:
  - onnx
  - webgpu
  - transformers.js
---

# WebGPU Chat graphs

ONNX graph files (no weights) used by [WebGPU Chat](https://llm.aminox.dev) ([source](https://github.com/amintikk/webgpu-chat)).

Each file is the original model graph with one change: every `com.microsoft.MatMulNBits` node gets
`accuracy_level = 4`. Nothing else is modified (same nodes, same inputs and outputs, same external-data
references). With it, ONNX Runtime's WebGPU backend may use its int8 DP4A matmul path when processing
prompts (4 or more tokens at once) on GPUs that expose `subgroups`. Token-by-token generation is unchanged.

The weights are not here: they are loaded from the original repositories, at the revisions below.

| File | Source graph | Weights |
|---|---|---|
| `qwen3.5-4b-opt/decoder_model_merged_q4f16.onnx` | [onnx-community/Qwen3.5-4B-ONNX-OPT@bb07226](https://huggingface.co/onnx-community/Qwen3.5-4B-ONNX-OPT/tree/bb072268d0912bdc5cf4f41c8c6f53a03fd68624) | same repo and revision |
| `gemma-4-12b-qat/decoder_model_merged_q4f16.onnx` | [james58899/gemma-4-12B-it-qat-ONNX@60555e6](https://huggingface.co/james58899/gemma-4-12B-it-qat-ONNX/tree/60555e645e7c456b4a013cc2e93e9bd6379e3006) (QAT Q4_0 weights, fused GroupQueryAttention) | same repo and revision |
| `gemma-4-12b/decoder_model_merged_q4f16.onnx` | [AMINOXDEV/gemma-4-12B-it-ONNX@90e0a27](https://huggingface.co/AMINOXDEV/gemma-4-12B-it-ONNX/tree/90e0a27bf539717b6055d7e434b9faa1f0dbd9ff) | same repo and revision |

Licences follow the original models: Qwen3.5 (Apache 2.0) and Gemma 4 (Apache 2.0).