Add warpgrid (CUDA & Apple Metal) Quick Start

#1
by dpolist-cglab - opened
Files changed (1) hide show
  1. README.md +20 -0
README.md CHANGED
@@ -50,6 +50,26 @@ python -m sglang.launch_server \
50
  --speculative-draft-attention-backend fa4
51
  ```
52
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  ## Evaluation
54
 
55
  - Runtime: SGLang on one NVIDIA H200, with FlashAttention 4 for target and draft attention
 
50
  --speculative-draft-attention-backend fa4
51
  ```
52
 
53
+ ### Local Serving with `warpgrid` (CUDA & Apple Silicon Metal)
54
+
55
+ [`warpgrid`](https://github.com/cglab-public/warpgrid) is a standalone C++20 inference engine with native NVIDIA Blackwell CUDA and Apple Silicon Metal support for `Inkling-2-Mini` + `DFlash 2` (zero Python dependencies):
56
+
57
+ ```bash
58
+ git clone https://github.com/cglab-public/warpgrid.git
59
+ cd warpgrid && make -j
60
+
61
+ hf download thinkingmachines/Inkling-2-Mini --local-dir ./Inkling-2-Mini
62
+ hf download incoai/Inkling-2-Mini-DFlash2 --local-dir ./Inkling-2-Mini-DFlash2
63
+
64
+ ./warpgrid \
65
+ --model ./Inkling-2-Mini \
66
+ --dflash2 ./Inkling-2-Mini-DFlash2 \
67
+ --draft-k 6 \
68
+ --port 8888
69
+ ```
70
+
71
+ Use `--draft-k 7` on NVIDIA Blackwell CUDA (`95.5 tok/s` `c=1` SSE on DGX Spark GB10) or `--draft-k 6` on Apple Silicon Metal (`82.1` med / `111.4` peak `tok/s` code SSE on M5 Max). For 16 GB Apple Silicon Macs, pair with [`cglab-org/Inkling-2-Mini-Q3-warpgrid`](https://huggingface.co/cglab-org/Inkling-2-Mini-Q3-warpgrid) (`25.45 tok/s` code on M4 Mac mini).
72
+
73
  ## Evaluation
74
 
75
  - Runtime: SGLang on one NVIDIA H200, with FlashAttention 4 for target and draft attention