You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cli_reference.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -176,6 +176,7 @@ option. Pass a comma-separated list (and/or repeat the flag):
176
176
```
177
177
--features fp8-kv-cache,static-cache
178
178
--features prune-lm-head
179
+
--features qdq
179
180
--features text-only
180
181
```
181
182
@@ -186,6 +187,7 @@ Available features:
186
187
|`static-cache`| Pre-allocate fixed-size KV cache buffers using `TensorScatter` (pair with `--max-seq-len N`). Requires `DecoderLayer` / `MoEDecoderLayer` models. Cannot combine with `--task`. |
187
188
|`fp8-kv-cache`| Store the `GroupQueryAttention` KV cache as `FLOAT8E4M3FN` (per-tensor E4M3), halving KV-cache memory. Requires a GQA build (e.g. `--ep cuda --dtype f16`) and an ORT runtime with the FP8 KV-cache kernel (SM89+). Pair with `--kv-cache-scale-file` for calibrated scales. |
188
189
|`prune-lm-head`| Select the final hidden-state position before the LM-head projection and emit logits shaped `[B, 1, vocab]`. Supported by models using the base `CausalLMModel.forward()` path; unsupported custom forwards fail explicitly. Use only when the downstream workflow does not need per-token logits. |
190
+
|`qdq`| Lower quantized `com.microsoft::MatMulNBits` weights to standard ONNX QDQ form (`DequantizeLinear` + `MatMul`) even when the selected EP supports the native contrib op. |
189
191
|`text-only`| Export the text backbone of a multimodal checkpoint as a standalone decoder-only LLM (see below). |
190
192
191
193
The legacy boolean flags `--static-cache`, `--fp8-kv-cache`, and
0 commit comments