Skip to content

Commit bcd911e

Browse files
justinchubyCopilot
andcommitted
docs: add cpu and default EP examples, clarify default vs onnx-standard
Co-authored-by: Copilot <[email protected]> Signed-off-by: Justin Chu <[email protected]>
1 parent 7a8489a commit bcd911e

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

‎docs/getting-started.md‎

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,19 +218,25 @@ It drives the entire build pipeline — graph construction, operator fusion,
218218
dead input removal, and KV cache sizing are all tailored for the target EP:
219219

220220
```bash
221-
# CUDA GPU (uses GQA, SkipNorm, PackQKV fusions)
221+
# Default (portable ONNX with standard fusions, no vendor-specific ops)
222+
mobius build --model meta-llama/Llama-3.2-1B output/
223+
224+
# CPU (GQA fusion for f32)
225+
mobius build --model meta-llama/Llama-3.2-1B output/ --ep cpu
226+
227+
# CUDA GPU (GQA, SkipNorm, PackQKV fusions for f16/bf16)
222228
mobius build --model meta-llama/Llama-3.2-1B output/ --ep cuda --dtype f16
223229

224-
# DirectML (uses GQA without fused RoPE)
230+
# DirectML (GQA without fused RoPE)
225231
mobius build --model meta-llama/Llama-3.2-1B output/ --ep dml --dtype f16
226232

227-
# TensorRT-RTX (uses GQA, no SkipLayerNorm)
233+
# TensorRT-RTX (GQA, no SkipLayerNorm)
228234
mobius build --model meta-llama/Llama-3.2-1B output/ --ep trt-rtx --dtype f16
229235

230236
# WebGPU
231237
mobius build --model meta-llama/Llama-3.2-1B output/ --ep webgpu --dtype f16
232238

233-
# Portable ONNX (no vendor fusions, runs on any ONNX runtime)
239+
# Strict ONNX standard (zero custom ops, runs on any ONNX runtime)
234240
mobius build --model meta-llama/Llama-3.2-1B output/ --ep onnx-standard
235241
```
236242

0 commit comments

Comments
 (0)