Skip to content

catalogue: four-Spark recipes for DeepSeek V4.1 Flash and Inkling 2 Small - #82

Open
bpmct wants to merge 1 commit into
mainfrom
recipes-4spark-dsv41-inkling
Open

bpmct wants to merge 1 commit into
mainfrom
recipes-4spark-dsv41-inkling

Conversation

@bpmct

@bpmct bpmct commented Nov 30, 2026

Copy link
Copy Markdown
Member

Base: main (one commit). Status: deepseek-v4.1-flash-4spark tested with recipes launch on four GB10s. inkling-2-small-4spark needs testing: it was measured with eugr's launch-cluster.sh using this exact image, flags and env, and recipes launch itself was not run for it.

What it is

  • deepseek-v4.1-flash-4spark: deepseek-ai/DeepSeek-V4.1-Flash-1017 @ 08c8657f, image eugr/spark-vllm-b12x@sha256:19ab778d... (vLLM 0.1.dev21830+g8244d1c44). Shard, 4 nodes, TP=4, 131072 context, DSpark with 7 draft tokens. From eugr's recipes/4x-spark-cluster/deepseek-v4.1-flash.yaml @ 56c1c3ab, with the 1017 checkpoint, --max-num-seqs 16, --max-model-len 131072 and B12X_AUTOTUNE=0 declared as deviations.
  • inkling-2-small-4spark: thinkingmachines/Inkling-2-Small @ 885d78bf (NVFP4, 393.5 GB), image eugr/spark-vllm@sha256:df8372b0... (vLLM 0.34.1rc1.dev358). Shard, 4 nodes, TP=4, 114688 context. Source is the model card (manual), since eugr has no 4x recipe for it.
  • A new model deviation kind. recipediff called the DeepSeek entry a wrong source because it serves 1017, not upstream's DeepSeek-V4.1-Flash. Now a declared model move that matches exactly keeps the source, and the rest of the file is still checked. That entry has no undeclared findings.

Measured

deepseek-v4.1-flash-4spark (recipes launch, llm-helper 0.6.1-dev.a35bf19)
  load 296 s, KV 8,391,311 tokens, 64.02x at 131072
  tool call ok, real text 1 stream 59-79 tok/s
  random 1024/256: 48.6 tok/s at 1 stream, 165.9 tok/s total at 16
  32,768-token prompt: first token 10.4 s
  (eugr launch-cluster.sh, same flags: 48.7 and 171.9 tok/s)

inkling-2-small-4spark (eugr launch-cluster.sh)
  load 656 s, KV 187,875 tokens, 1.64x at 114688
  tool call ok, 1 stream 28 tok/s, 100.2 tok/s total at 16
  VLLM_USE_BREAKABLE_CUDAGRAPH=1 halved 1-stream speed, so it is 0

Tested: go vet ./..., go test -race ./... (TestRunHubCommandsWithoutNetwork fails the same way on main in my environment), recipediff tests and a live go run ./tools/recipediff, prettier. On the boxes: recipes list loads both, a dry run renders both, and the DeepSeek launch above. Full notes are in coder/solstice#9 (Inkling) and coder/solstice#10 (DeepSeek).

Generated by Coder Agents on behalf of @bpmct.

…mall

Both were measured on four DGX Sparks (GB10) sharded TP=4 over one 200G
switch. deepseek-v4.1-flash-4spark was launched with 'recipes launch'
from this tree's dev build; inkling-2-small-4spark was measured with
eugr's launch-cluster.sh using the same image, flags and env, and says so
in its notes.

The DeepSeek recipe follows eugr's 4x recipe but serves the newer 1017
checkpoint. recipediff called that a wrong source, so a recipe can now
declare a model deviation, and recipediff checks the rest of the file
when the declared move matches.

Coder Agents generated.
Copilot AI balanced review requested due to automatic review settings November 30, 2026 13:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Both recipes omit model entries, bypassing cache preflight and risking removal of existing containers before offline loading fails, while also causing recipe imports to be rejected.

2 open issues
What changed in this PR

Adds four-DGX-Spark recipes for DeepSeek V4.1 Flash and Inkling 2 Small to llm-helper’s inference catalogue. DeepSeek was tested through recipes launch; Inkling’s measurements use the upstream launcher, with llm-helper launch validation still pending.

Changes:

  • Adds pinned recipe configurations, measured performance, and golden launch commands.
  • Introduces exact-match model deviations so checkpoint changes preserve upstream comparison.
  • Documents the new recipes, verification limits, and deviation support.
File Description
tools/​recipediff/​upstream.go Accepts explicitly declared model changes during source matching.
tools/​recipediff/​recipediff_test.go Tests exact-match model deviation handling.
internal/​recipe/​tested.go Defines and documents the model deviation kind.
internal/​recipe/​tested_internal_test.go Validates model deviation declarations.
internal/​recipe/​testdata/​golden-inkling-2-small-4spark.txt Records expected four-node Inkling launch commands.
internal/​recipe/​testdata/​golden-deepseek-v4.1-flash-4spark.txt Records expected four-node DeepSeek launch commands.
docs/​recipes.md Documents recipes, measurements, and model deviations.
CHANGELOG.md Announces both recipes and deviation support.
catalogue/​recipes/​inkling-2-small-4spark.json Adds pinned Inkling configuration and upstream-launch measurements.
catalogue/​recipes/​deepseek-v4.1-flash-4spark.json Adds pinned DeepSeek configuration, deviations, and launch measurements.

Review effort: Balanced

"schema_version": 1,
"id": "deepseek-v4.1-flash-4spark",
"display_name": "DeepSeek V4.1 Flash",
"model": "deepseek-ai/DeepSeek-V4.1-Flash-1017",
"schema_version": 1,
"id": "inkling-2-small-4spark",
"display_name": "Inkling 2 Small",
"model": "thinkingmachines/Inkling-2-Small",

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants