Skip to content

feat(inference): add Super VL MTP recipe for DGX Spark - #13357

Merged
ericksoa merged 1 commit into
mainfrom
feat/spark-super-vl-mtp
Oct 16, 2026
Merged

ericksoa merged 1 commit into
mainfrom
feat/spark-super-vl-mtp

Conversation

@prekshivyas

@prekshivyas prekshivyas commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

Outcome

Add an explicit, experimental Super VL NVFP4 profile for one 128 GB DGX Spark. Selecting Super VL now uses a Spark-specific native MTP5 recipe; 64 GB or unknown-memory systems are rejected. Existing Spark and Station defaults are preserved.

Reason

Prekshi requested a Super VL recipe for DGX Spark after testing native MTP on GB10. Reuse NemoClaw's existing vLLM materializer, authenticated lifecycle, pinned model, and reviewed-code loader.

Related issues

Refs #12492 for the existing Super VL model and reviewed-code integration. This PR adds the separately requested Spark recipe; it does not promote the model to the Spark default.

Changes

  • Add a 114,688-token, two-sequence recipe with 70% GPU memory utilization and native MTP5. Use FlashInfer Mamba, FP16 state with stochastic rounding, shared prefix checkpoints, and the model's original qwen3_coder tool template/parser.
  • Require qualified ARM64 DGX Spark hardware, compute capability 12.1, and at least 120 GB of reported memory. Keep the profile explicit-only and experimental, with software validation recorded.
  • Reuse model revision 82d93699acd3be9e4617c53360fe5b3f5dbeb1b3 and ARM64 runtime digest sha256:fd33bec1578f312a01547cc6b9691a5154c3e8bcfb76d2b35acb657bfc4eee8f. Preserve bearer authentication, fixed arguments, receipts, metadata verification, offline loading, and a read-only model cache. Bound inline images and disable video and arbitrary remote media URLs.
  • Permit two prefix-cache settings through the reviewed-code argument allowlist. Neither setting redirects model or code loading. Add selection/capacity regression coverage and a recipe record with qualification limits.

Verification

  • Catalog/serving regression: 642 tests across 25 files passed (vitest run --project cli src/lib/inference/serving src/lib/inference/vllm-models.test.ts src/lib/inference/vllm-runtime-selection.test.ts --project integration test/inference/managed/managed-inference-catalog-compiler.test.ts test/inference/managed/super-vl-catalog.test.ts).
  • Installer and selection regression: 112 tests across three files passed (vitest run --project cli src/lib/inference/vllm-runtime-selection.test.ts src/lib/inference/vllm-fixed-catalog-install.test.ts src/lib/inference/vllm.test.ts). The final selection test revision passed all 20 cases.
  • NODE_OPTIONS=--max-old-space-size=8192 npm run typecheck:cli passed. The contributor setup's default-heap check exhausted the Node.js heap; the documented larger-heap rerun passed.
  • Initial GB10 trial: non-thinking text, inline image, and get_weather tool-call smoke tests passed with native MTP5 and the same runtime. That direct launch used revision 579ffa0b659bc681b89e649fa7c2d5089399602e; Hugging Face blob identities match the catalog revision except for README.md. All 114 files of the catalog revision were independently verified before the catalog-command trial.
  • Normal pre-commit, commit-message, and pre-push hooks passed, including publication validation, catalog validation, secret scanning, repository/growth checks, and CLI/plugin/config TypeScript checks. GitHub verifies commit 59274b3ef42b227024a18890b102b850c5d2af8c.
  • On GB10 with driver 580.159.03 and 128 GB-class unified memory, the catalog-generated command for 59274b3ef42b227024a18890b102b850c5d2af8c passed authenticated text (42), inline-image (Red), and structured get_weather/Paris smoke tests. Missing and incorrect bearer credentials both returned HTTP 401. The command used the pinned catalog revision, existing reviewed-code launcher, read-only cache, original model template, bounded media flags, and native MTP5. This directly launched Docker test does not qualify CLI onboarding or managed lifecycle.
  • Tests run in Docker without host credential mounts, an SSH agent, or a Docker socket. Normal installed hooks run inside the same isolation boundary; signing and Git transport remain outside it. Hook wrappers retain arguments, stdin, and failure status.
  • Diff reviewed for secrets, credentials, unrelated changes, model-code trust, memory admission, and selection behavior. No credentials or private research records are included.

Review notes

Sensitive paths: managed-inference/** and src/lib/inference/** in NVIDIA/NemoClaw. Implementation self-review of 59274b3ef42b227024a18890b102b850c5d2af8c covers all changed files; independent review and required CI remain pending. No waiver or merge approval is claimed.

The initial standalone smoke is not managed-installer or agent-onboarding qualification. Full-context load, sustained concurrency, model accuracy, streaming/thinking tool calls, and managed lifecycle qualification remain pending. The pinned runtime's FP8 KV-scale and image-kernel tuning warnings remain qualification items. Keep this profile experimental; default promotion requires separate qualification and review.


Signed-off-by: Prekshi Vyas [email protected]

Summary by CodeRabbit

  • New Features

    • Added an experimental, opt-in serving option for Nemotron 3.5 Super VL on a single 128 GB DGX Spark. Existing defaults are unchanged.
    • The option checks hardware and software requirements, including GPU memory, before installation; unsupported or unknown-memory systems are rejected.
    • Supports multimodal input, chat, and tool/reasoning parsing, with configurable prefix caching.
  • Documentation

    • Added setup guidance, validation results, and known testing limitations for the experimental setup.

@prekshivyas prekshivyas self-assigned this Oct 16, 2026
@copy-pr-bot

copy-pr-bot Bot commented Oct 16, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: NVIDIA/NemoClaw/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Enterprise
  • Run ID: 0e87d54b-bc7f-46f3-b5d3-af6f98e5cc43
📥 Commits

Reviewing files that changed from the base of the PR and between 9edf194 and 59274b3.

📒 Files selected for processing: 5
  • managed-inference/presets/vllm.dgx-spark-gb10.single.nemotron-3.5-super-vl-120b-a12b-nvfp4.yaml
  • managed-inference/recipes/nemotron-3.5-super-vl-spark.md
  • managed-inference/recipes/vllm.nemotron-3.5-super-vl-120b-a12b-nvfp4.spark-single.v1.yaml
  • src/lib/inference/serving/reviewed-model-code.ts
  • src/lib/inference/vllm-runtime-selection.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 8 remain after this review.

📝 Walkthrough

Adds an explicit-only ServingPreset and vLLM recipe for Nemotron 3.5 Super VL NVFP4 on one DGX Spark. The preset checks hardware and software requirements. The recipe defines runtime and serving settings. Tests cover selection at sufficient reported GPU memory and rejection for insufficient or unknown memory.

Changes: DGX Spark Super VL serving

Layer / File(s) Summary
Preset qualification and selection
managed-inference/presets/vllm.dgx-spark-gb10.single.nemotron-3.5-super-vl-120b-a12b-nvfp4.yaml, managed-inference/recipes/nemotron-3.5-super-vl-spark.md
Adds an explicit-only preset with per-node DGX Spark, platform, Docker, GPU, CDI, and driver requirements. The profile documents the explicit selection command and a minimum reported GPU memory of 120,000,000,000 bytes.
Recipe runtime and serving configuration
managed-inference/recipes/vllm.nemotron-3.5-super-vl-120b-a12b-nvfp4.spark-single.v1.yaml, src/lib/inference/serving/reviewed-model-code.ts, managed-inference/recipes/nemotron-3.5-super-vl-spark.md
Defines the pinned ARM64 vLLM runtime, resource requirements, serving arguments, and readiness settings. Allows two additional arguments for reviewed-model serving. The profile documents model metadata, serving settings, and media restrictions.
Selection tests and trial scope
src/lib/inference/vllm-runtime-selection.test.ts, managed-inference/recipes/nemotron-3.5-super-vl-spark.md
Tests selection of the Spark recipe with 128 GB reported memory, rejection for insufficient or unknown memory, and exclusion of an extra argument that requests a larger model length. The profile documents the trial scope and outstanding qualification items.

Priority: ⬇️ Low

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Feature

Suggested reviewers: ericksoa

Merge Risk: ⚪ Minimal · up to 59274

This adds an opt-in experimental DGX Spark profile and leaves the existing defaults unchanged. No concrete merge-blocking issue was identified in the supplied changes. Remaining qualification work is documented.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title accurately summarizes the primary change: adding a Super VL MTP serving recipe for DGX Spark. It is concise and specific enough for the pull request changes.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 2…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 2 files. (3 skipped: 3 unsupported.)

✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@github-code-quality

github-code-quality Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Code coverage overview

Languages: TypeScript

TypeScript / code-coverage/plugin

main 63002cd feat/spark-super-vl-... 59274b3 +/-
96% 97% +1%
View coverage of the 10 most impacted files.
File main 63002cd feat/spark-super-vl-... 59274b3 +/-
nemoclaw/src/onboard/config.ts 98% 96% -2%
nemoclaw/src/index.ts 94% 93% -1%
nemoclaw/src/bl...print/runner.ts 95% 95% 0%
nemoclaw/src/bl...ime-identity.ts 97% 97% 0%
nemoclaw/src/bl...t-management.ts 100% 100% 0%
nemoclaw/src/co.../config-show.ts 100% 100% 0%
nemoclaw/src/commands/slash.ts 100% 100% 0%
nemoclaw/src/ru...time-context.ts 100% 100% 0%
nemoclaw/src/sh...er-boundary.cts 100% 100% 0%
nemoclaw/src/on...native-route.ts 0% 100% +100%

TypeScript / code-coverage/cli

main 63002cd feat/spark-super-vl-... 59274b3 +/-
84% 86% +2%
View coverage of the 10 most impacted files.
File main 63002cd feat/spark-super-vl-... 59274b3 +/-
src/lib/onboard.ts 62% 50% -12%
src/lib/state/l...diness-lease.ts 66% 83% +17%
src/lib/inferen...ollama/proxy.ts 41% 61% +20%
src/lib/onboard.../application.ts 55% 84% +29%
src/lib/domain/...y/dimensions.ts 0% 71% +71%
src/lib/inferen...er/lifecycle.ts 0% 72% +72%
src/lib/actions...ry/operation.ts 0% 76% +76%
src/lib/actions...try/snapshot.ts 0% 78% +78%
src/lib/inferen...ovider/index.ts 0% 88% +88%
src/lib/onboard...ternal-image.ts 0% 91% +91%

ℹ️ Calculations represent line coverage. Results may change as calculations are updated.


Updated October 16, 2026 17:12 UTC

@prekshivyas
prekshivyas marked this pull request as ready for review October 16, 2026 16:57
@prekshivyas

prekshivyas commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator Author

Physical DGX Spark qualification, updated with managed-installer results, for commit 59274b3ef42b227024a18890b102b850c5d2af8c:

  • Hardware: one DGX Spark GB10, ARM64, 128 GB class unified memory (~121 GiB visible), NVIDIA driver 580.159.03, CUDA 13.0, Docker 29.2.1.
  • Model: nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4, revision 82d93699acd3be9e4617c53360fe5b3f5dbeb1b3. All 114 checkpoint files were independently verified against their published hashes before the catalog trial.
  • Runtime: vllm/vllm-openai@sha256:fd33bec1578f312a01547cc6b9691a5154c3e8bcfb76d2b35acb657bfc4eee8f; vLLM 0.32.0rc1.dev190+g3f1bcfd82, Transformers 5.19.0.
  • Configuration: the candidate's production installVllm entrypoint and catalog-generated command, reviewed model-code loader, read-only model cache, bearer authentication, native MTP with 5 speculative tokens, 114,688 configured context limit, 2 configured sequences, GPU memory utilization 0.7. Model loading reported 70.1 GiB.
Physical test through the managed installation Result
Text completion with expected answer 42 PASS
Inline 224×224 red PNG, expected color Red PASS
Structured tool call get_weather with JSON arguments {"city":"Paris"} PASS
Model-list request without a bearer token PASS: HTTP 401
Model-list request with an incorrect bearer token PASS: HTTP 401
Streaming tool call with thinking enabled PASS: reasoning received, assembled get_weather/Paris arguments, tool_calls finish reason and SSE [DONE]
Production managed installation PASS: real host qualification, pinned image pull, pinned model acquisition, launch, readiness and authentication verification
Endpoint recovery from installer-created state PASS: container identity, restricted port bindings, catalog receipt and credential fingerprint verified

The managed installation ran on October 16, 2026, from 17:06:09 to 17:17:42 UTC. It used an isolated test home, the existing verified checkpoint cache, and port 18037. The downloader ran as the host user; the serving container mounted the model cache read-only. Bindings were restricted to loopback and the managed bridge. The first setup attempt correctly rejected read-only files in the manually staged download cache; restoring owner-write permission resolved that test preparation issue without changing source or checkpoint content.

These are smoke tests on physical hardware, including the production inference installer and receipt recovery. They do not establish full CLI agent onboarding, restart/reboot recovery, model accuracy, sustained concurrency, or full-context load. The 114,688-token and two-sequence configuration limits were not exercised at maximum load. Streaming/thinking tool behavior passed one scenario; no broad accuracy or throughput claim is made. The runtime's FP8 KV-scale and image-tuning warnings remain qualification considerations.

The owned managed test container was stopped and removed after testing. Its temporary credential and receipt were deleted. Checkpoint caches are retained; the earlier standalone trial container remains stopped. The profile is explicitly selected and experimental. An earlier direct-Docker catalog-command trial independently passed the five non-streaming checks above.

Local software validation also passed: the 642-test catalog/serving suite, the 112-test installer/selection suite (overlapping coverage), final 20-test selection run, CLI typecheck, and normal commit/push hooks. CI and independent approval are separate evidence.

Spark throughput follow-up (October 16, 2026): the same tested commit, model revision, image digest, and production Spark MTP5 recipe measured 39.94 output tokens/sec median, with five measured runs ranging from 39.79 to 41.22 tok/s.

Protocol: six sequential streamed requests, first excluded as warmup; temperature 0; max_tokens=8192; thinking enabled; one active request. Prompt: “Write a practical engineering guide to HTTP caching. Explain Cache-Control, ETag, If-None-Match, freshness versus validation, private versus shared caches, and common mistakes. Include concrete HTTP request and response examples. Aim for about 900 words.” Each rate is server-reported completion tokens, including reasoning, divided by the full client request duration. Startup is excluded; repeated prompts may benefit from prefix caching.

Measured run Output tokens, including reasoning Request seconds Output tok/s
1 5274 132.533 39.79
2 4301 107.689 39.94
3 5363 134.267 39.94
4 4496 111.853 40.20
5 4992 121.119 41.22

All five requests ended normally with completed visible answers. The excluded warmup measured 34.42 tok/s. This qualifies this short-prompt writing workload; it is not an isolated decode-rate, full-context, accuracy, or concurrent-load benchmark. The benchmark container was stopped and removed, and its temporary credential and receipt were deleted.

@ericksoa ericksoa left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Reviewed commit 59274b3 against base 9edf194. No blocking code findings.

Maintainer scope decision: Accept. Aaron explicitly accepted the architectural scope in this review session: an opt-in experimental Super VL profile for 128 GB Spark, reusing the pinned vLLM runtime and model, with MTP5, 114,688-token context, two sequences, 70% GPU memory utilization, the original qwen3_coder template/parser, and the two prefix-cache allowlist additions. Accountable maintainer: @prekshivyas.

Reason and placement: make the requested Spark serving recipe available through the existing managed-inference presets, recipes, materializer, and authenticated lifecycle. Existing Spark and Station defaults are preserved. The profile rejects insufficient or unknown memory capacity. Fixed serving arguments, bearer authentication, offline reviewed-code verification, immutable artifact bindings, a read-only model cache, receipts, and bounded media are retained. The two new flags control prefix caching in the pinned upstream runtime and do not redirect model or code loading.

Validation: all 642 selected catalog, serving, selection, and security regression tests have passing results. The initial container lacked Python; the two affected files were rerun after supplying that existing prerequisite, with 60/60 passing. GitHub currently reports 74 successful and 32 skipped checks, with none pending or failing. CodeRabbit completed coverage of this commit without actionable findings; no unresolved review threads were present. The commit is GitHub Verified.

The author's GB10 evidence establishes the reported direct-Docker serving smoke results. Full CLI onboarding, managed installation/lifecycle, maximum-context load, sustained concurrency, accuracy, and streaming/thinking tool behavior remain unqualified. Acceptance and technical approval retain those limits and the experimental, explicit-only status.

@ericksoa
ericksoa merged commit f1dcab7 into main Oct 16, 2026
@ericksoa
ericksoa deleted the feat/spark-super-vl-mtp branch October 16, 2026 17:17
@github-actions

Copy link
Copy Markdown
Contributor

PR Review Advisor finished for commit 59274b3. Include the Advisor findings in the complete PR feedback collection. Verify and group valid findings before repair.

Request review only when Require no Advisor blockers is green.

All previous runs

rsliter added a commit that referenced this pull request Oct 20, 2026
## Release target

This maintainer-owned documentation patch prepares `v0.0.136` from
changes merged after `v0.0.135` through
`6d76a7e9aa5aca641df360670aa00394411c302a` on `main`. The signed merge
commit `372e7aaccf863736b8bb6ba6cd17fdc235c7c261` records that boundary.
The PR diff against current `main` changes documentation only.

The canonical release entry is `docs/changelog/2026-10-19.mdx`. This
refresh includes the six PRs merged after the prior docs cutoff: hosted
Super VL image inputs (#13371), routed OpenClaw gateway startup
(#13481), ordinary operation telemetry (#13494), and the internal fixes
#13486, #13498, and #13500. The owning docs now describe the hosted
model, routed startup, TEST receiver, and telemetry opt-out before
direct install commands and in the generated starter prompt. The PR also
carries the previously reviewed Deep Agents, sandbox recovery, and Spark
Super VL documentation.

## Local verification

- `npm run docs`: passed, 125 routes, zero errors, two existing
warnings.
- `npm run validate:pr`: passed, including repository checks, commit
message, builds, and pre-push checks.
- Independent documentation review of the exact signed commit against
`origin/main`: no blockers.
- Changed paths against `main`: `docs/**` only. No secrets, API keys, or
credentials added.
- The hosted Super VL scope decision is recorded on PR #13371, the local
Spark scope and physical smoke on PR #13357, and ordinary telemetry
scope on PR #13494.

The release plan and tag remain gated on this PR merging into `main`,
candidate image and E2E evidence, and the maintainer's explicit tag
confirmation.

Follow [Post-Merge Documentation
Catch-Up](https://github.com/NVIDIA/NemoClaw/blob/main/docs/AUTOMATION.md#post-merge-documentation-catch-up)
for the managed workflow and release cutoff.

Signed-off-by: Rebecca Sliter <[email protected]>

---------

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: Rebecca Sliter <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rebecca Sliter <[email protected]>
@wscurran wscurran added area: local-models Local model providers, downloads, launch, or connectivity area: providers Inference provider integrations and provider behavior feature PR adds or expands user-visible functionality platform: dgx-spark Affects DGX Spark hardware or workflows provider: vllm vLLM local or hosted provider behavior labels Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: local-models Local model providers, downloads, launch, or connectivity area: providers Inference provider integrations and provider behavior feature PR adds or expands user-visible functionality platform: dgx-spark Affects DGX Spark hardware or workflows provider: vllm vLLM local or hosted provider behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants