Initial README
Browse files
README.md
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- deepseek-v4
|
| 5 |
+
- vllm
|
| 6 |
+
- dgx-spark
|
| 7 |
+
- blackwell
|
| 8 |
+
- sm120
|
| 9 |
+
- sm121
|
| 10 |
+
- docker-image
|
| 11 |
+
- gb10
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# vllm-w4a16-dsv4:exp — pre-built Docker image for DGX Spark TP=2
|
| 15 |
+
|
| 16 |
+
This dataset hosts a pre-built OCI tarball of the Docker image used to serve
|
| 17 |
+
[`pastapaul/DeepSeek-V4-Flash-W4A16-FP8`](https://huggingface.co/pastapaul/DeepSeek-V4-Flash-W4A16-FP8)
|
| 18 |
+
on dual DGX Spark GB10 (SM 12.1a) — for users who can't build the image
|
| 19 |
+
themselves due to network constraints.
|
| 20 |
+
|
| 21 |
+
The image is also fine for 2× RTX PRO 6000 Blackwell Server (SM 12.0).
|
| 22 |
+
|
| 23 |
+
## What's inside
|
| 24 |
+
|
| 25 |
+
vLLM build pinned to:
|
| 26 |
+
|
| 27 |
+
- **`jasl/vllm@ds4-sm120-experimental`** (HEAD `c05638d70` after cherry-pick) — SM12x DSV4 support + experimental superset (split-KV decode, GB10 fused-MoE config aliases, tuned MLA graph defaults)
|
| 28 |
+
- **Cherry-pick** `f910a73a93` from `neuralmagic/vllm@kylesayrs/deepseek-ct` (vLLM PR #41276 — DSV4 compressed-tensors attention)
|
| 29 |
+
- **Local patch** [`patch_v4_packed_mapping.py`](https://github.com/pasta-paul/dsv4-flash-w4a16-fp8/blob/main/scripts/patch_v4_packed_mapping.py) — adds `packed_modules_mapping` to `DeepseekV4ForCausalLM`
|
| 30 |
+
- Workspace pre-reservation patch is **not** applied — landed upstream as `jasl/vllm@1d6f5c4`
|
| 31 |
+
|
| 32 |
+
Compressed tarball: ~9 GB. Uncompressed image: 20.2 GB. ARM64 only.
|
| 33 |
+
|
| 34 |
+
## How to use
|
| 35 |
+
|
| 36 |
+
```bash
|
| 37 |
+
# Download
|
| 38 |
+
huggingface-cli download pastapaul/dsv4-flash-w4a16-spark-image \
|
| 39 |
+
vllm-w4a16-dsv4-exp.tar.gz \
|
| 40 |
+
--repo-type dataset \
|
| 41 |
+
--local-dir .
|
| 42 |
+
|
| 43 |
+
# Load on each Spark
|
| 44 |
+
gunzip -c vllm-w4a16-dsv4-exp.tar.gz | docker load
|
| 45 |
+
|
| 46 |
+
# Verify
|
| 47 |
+
docker images vllm-w4a16-dsv4:exp
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
Once loaded on both Sparks, you can use the bootstrap script with `--skip-build`:
|
| 51 |
+
|
| 52 |
+
```bash
|
| 53 |
+
curl -fsSLO https://raw.githubusercontent.com/pasta-paul/dsv4-flash-w4a16-fp8/main/scripts/bootstrap_dsv4_spark.sh
|
| 54 |
+
chmod +x bootstrap_dsv4_spark.sh
|
| 55 |
+
./bootstrap_dsv4_spark.sh \
|
| 56 |
+
--head-host spark-a \
|
| 57 |
+
--worker-host spark-b \
|
| 58 |
+
--skip-build
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
The script will then handle network setup, model pre-cache (no HF token needed), container launch on both nodes, and wait for `/health=200`.
|
| 62 |
+
|
| 63 |
+
## What you get
|
| 64 |
+
|
| 65 |
+
Production canonical at **1 M-token context** TP=2 graphs-ON:
|
| 66 |
+
- decode 12 t/s smoke / 14–15 t/s think-max sustained
|
| 67 |
+
- NIAH 4/4 retrieval at 200K-token haystack
|
| 68 |
+
- mini-suite 10/10 PASS · think-max 3/3 PASS
|
| 69 |
+
- GSM8K 95.00% strict / 94.92% flex (preserved from prior canonical)
|
| 70 |
+
- tool calling: parallel function calls with structured arguments
|
| 71 |
+
|
| 72 |
+
## Reference docs
|
| 73 |
+
|
| 74 |
+
- Model: https://huggingface.co/pastapaul/DeepSeek-V4-Flash-W4A16-FP8
|
| 75 |
+
- Reproduction repo + raw evidence: https://github.com/pasta-paul/dsv4-flash-w4a16-fp8
|
| 76 |
+
- Quickstart: https://github.com/pasta-paul/dsv4-flash-w4a16-fp8/blob/main/findings/QUICKSTART_DUAL_SPARK.md
|
| 77 |
+
- Phase 4e validation report: https://github.com/pasta-paul/dsv4-flash-w4a16-fp8/blob/main/findings/spark_tp2_deployment.md#phase-4e--production-canonical-at-1-m-context-on-ds4-sm120-experimental-2026-05-06
|