Tier 0 Findings on DGX Spark: Why Hybrid Mamba (Nemotron) Beats 120B for Agents (Plus sm121 Fix)

Hi everyone,

First, a massive thank you to @eugr, @christopherowen, and the other pioneers here. I’m a Product Manager type trying to build stable Agentic Workflows (financial analysis & browser automation), and your benchmarking work gave me the map I needed to start.

I wanted to share a “Tier 0” findings report after spending weeks testing. I started by chasing raw benchmarks with models like GPT-OSS 120B, but I found that while they ran fast (t/s), they became unstable and “lost context” during long, multi-step agent loops.

Here is what I found regarding Architecture vs. Hardware on the GB10 chip, and why “Bigger” isn’t always “Smarter” for Agents.

1. The “Active Parameter” Trap & Why GPT-OSS Failed Me We often look at Total Parameters (120B vs 70B), but on the DGX Spark, Active Parameters dictate performance because of our bandwidth constraint (~273 GB/s).

  • The Problem with GPT-OSS 120B (Transformer MoE): It activates ~5.1B params per token. It runs fast, but it is a Standard Transformer. This means it creates a massive “KV Cache” (Memory) for every word in the conversation history. On a long agent task (e.g., analyzing a 50-page PDF), this cache explodes, fighting the model weights for RAM. The result? It eventually OOMs or hallucinates instructions.

  • The Solution with Nemotron 3 Nano (Hybrid Mamba-MoE): It activates ~3.2B params per token. Crucially, it uses Mamba (SSM) layers. It doesn’t build a massive KV Cache; it uses a fixed-size state. I can run infinite loops without the memory spiking or the model forgetting the system prompt.

2. The Comparison (Why Mamba Wins on Spark)

Feature GPT-OSS 120B Nemotron 3 Nano
Architecture Transformer MoE Hybrid Mamba + MoE
Total Params 117B 30B
Active Params ~5.1B ~3.2B (Perfect for GB10)
Context Memory Heavy (KV Cache Bloat) Linear (Zero Growth)
Agent Verdict Unstable on long tasks SOTA for Agents

3. The “Smoking Gun” Fix (sm121 Kernels) Even with the right model, I initially saw slow speeds. I realized standard vLLM containers lack optimized kernels for our GB10 (sm121) chip.

  • The Fix: I compiled llama.cpp from source specifically for our architecture: cmake .. -DGGML_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES="121"

  • Result: Inference speed jumped from 0.9 t/s → ~30 t/s.

4. The “Free” Q8 Discovery I tested both Q4 and Q8 quantization.

  • Q4 Speed: ~29.9 t/s

  • Q8 Speed: ~28.8 t/s

Because the active parameter set is so small (~3.2B), it doesn’t saturate our memory bandwidth even at 8-bit. We can run High Precision (Q8) for financial/coding tasks without a speed penalty.

My “Tier 0” Architecture Instead of forcing one giant model to do everything, I settled on a split architecture that actually mimics what integrators like Aible are doing on this hardware (reference: Aible on DGX Spark):

  1. The Boss (CPU): I offload the Agent orchestration (LangGraph) to the Grace CPU. This keeps the 128GB Unified Memory free for context and browser tools.

  2. The Worker (GPU): I run Nemotron 3 Nano (Q8) purely for inference via llama-server.

Questions for the Community:

  1. NVIDIA NeMo Agent Toolkit: Has anyone successfully wrapped a LangGraph agent inside the NeMo Toolkit on Spark? Integrators seem to use this for enterprise guardrails, but public tutorials for the GB10 are scarce.

  2. FP4 Kernels: Has anyone unlocked the native NVFP4 Tensor Cores without using TRT-LLM? Is there an sm121 compatible path for this in common loaders?

I hope this analysis helps others skip the instability I faced!

This doesn’t make any sense. Spark has unified RAM, so anything that you load in RAM will take from available VRAM.

Thanks for the correction on Unified Memory—you’re absolutely right, it’s a single pool.

Regarding model choice: I see you’ve experimented with Christopher’s spark-vllm build. My hesitation with GPT-OSS 120B isn’t just speed, but Agentic Stability.

In my testing on a single node, GPT-OSS 120B eventually OOMs or loses context during long, stateful loops (e.g., >30 steps) because the Transformer KV Cache expands to fill the remaining RAM.

I switched to Nemotron 3 Nano specifically because its Hybrid Mamba architecture has near-zero KV cache growth. It allows me to run infinite agent loops without the memory footprint creeping up and crashing the orchestrator.

Have you managed to get GPT-OSS 120B stable for long-context tasks (>10k tokens) on a single Spark without it freezing or swapping?

It really shouldn’t OOM unless you’re stacking up a lot of processes on the CPU that is also using memory. What did you set the --gpu-memory-utilizationto when you started it? Did you use my or Eugr’s docker images or roll your own?

I’m not really sure what Aible is, but did you have it running on the CPU on the same machine?

Yes, and many others have in the thread where the gpt-oss-120b was announced.

Awesome! If it’s working for you that is fantastic.

This is actually a very good point here. When it comes to real-world AI workloads, you absolutely don’t want to run anything other than the inference engine on Spark, just because it will eat into VRAM and make OOMs possible if you don’t aggressively limit memory use. Plus it will eat into the memory bandwidth, slowing down inference.

@christopher_owen @eugr Thanks for the engagement on this. To be clear, I am not trying to diminish the incredible work on the spark-vllm repo—it’s the gold standard for pure inference. I’m just reporting the specific wall I hit with Single-Node Autonomous Agents.

To answer your technical questions:

  1. Config: I ran with --gpu-memory-utilization 0.90.

  2. Image: I tried both the standard upstream containers (which lacked kernels) and then pulled your repo to test.

The “Single Box” Reality: @eugr You nailed the issue: “You absolutely don’t want to run anything other than the inference engine on Spark.” In an ideal world, I would have a separate orchestration server. Unfortunately, I don’t have the budget to cluster these or run a dedicated host machine alongside it. I bought the Spark to be the “All-in-One” box—hosting both the Brain (LLM) and the Body (Agent/Browser).

Why 120B Crashes for My Use Case: My workload is Multi-Agent + Browser Automation. This is a different beast than “Vibe Coding” or Chat.

  • The Squeeze: GPT-OSS 120B reserves ~90% of the Unified Memory.

  • The Spike: When my Agent spins up headless-chrome (via Browser-Use) to parse a heavy PDF or render a JS-heavy site, that process spikes RAM usage.

  • The Crash: Because 120B has already reserved the pool, the OS has nowhere to go. It swaps, thrashing the system, and eventually kills the process.

Why Nemotron (Mamba) is the Fix: It’s purely about Headroom. Because Nemotron only needs ~30GB, I have 90GB+ of “Playground” for the Agent’s tools, browser instances, and state. I trade some raw knowledge (120B → 30B) for the ability to run these heavy tools on the same physical box without instability.

Has anyone managed to run Browser-Use + 120B on the same Spark node stably? That’s the “Goldilocks” setup I’m chasing but haven’t found yet. Cheers James

That’s your problem right there. Just use 0.7 or 0.6 and you will have some room to spare. Unlike llama.cpp, vLLM occupies all available room by default, even if KV cache doesn’t require this much, to support maximum concurrency.

For example, when I run gpt-oss-120b on my cluster (with memory utilization 0.7), vLLM reports this:

GPU KV cache size: 1,296,944 tokens
Maximum concurrency for 131,072 tokens per request: 19.46x
Available KV cache memory: 44.6 GiB

It means that while the model maximum context size is 131,072 tokens, the available VRAM allows to allocate almost 20x that much, so this cluster will be able to serve at least 19 concurrent requests with full context each.

llama.cpp by default allocates enough cache to serve one concurrent request.

You can run gpt-oss-120b in about 70GB total VRAM with llama.cpp if you don’t care about concurrency much. vLLM will take a bit more, but you don’t have to allocate the entire VRAM for it. Same is true for Nemotron.

TL;DR: if you want to make space for other tools, you need to set --gpu-memory-utilization accordingly. 0.9 is too aggressive even for Spark dedicated to inference.

P.S. Treat LLM answers to your questions with a grain of salt. When it comes to bleeding edge tech, they are ofter more wrong than right.

@eugr Thanks for the detailed breakdown.

​To clarify—I actually did test utilization down to 0.6 and 0.7 before abandoning the 120B architecture.

​While that setting prevented the immediate OOM crashes, it didn’t solve the Coherence Decay. In a multi-turn Agent workflow (LangGraph looping for ~30+ steps with tool outputs), I found that the 120B model started ‘forgetting’ earlier instructions or hallucinating state once the context saturated that tighter memory envelope.

​I suspect the difference is Workload Type.

You mentioned running on a ‘cluster’ and optimizing for ‘concurrency’ (Batch Throughput).

I am running on a Single Node (GB10) optimizing for Single-Stream Deep Context (Agentic Loops).

​For this specific single-node use case, squeezing a 120B Transformer into the available RAM left too little margin for the massive KV cache growth required by complex agents. Switching to Nemotron (Mamba) solved the stability issue instantly, likely because its fixed-state architecture removes that ‘KV Cache Anxiety’ entirely.

​I’m happy to trade the raw knowledge of 120B for the rock-solid stability of the 30B Mamba architecture so I can sleep while the agent runs

If you need >128K context, then yes, gpt-oss-120b will not help you. But it’s not because of the architecture difference, it’s just because Nemotron supports up to 1M context. Having said that, model architecture may have an impact on hallucination rates, etc.

Without a summarization step near full context. I would suspect this to be a setting in the Aible software.

Even with 1m token expectations, it surely wouldn’t be designed to ‘just crash’.

Have you tried Playwright as an MCP server? What about a vision model instead?

Could you share the code sample Agent workflow using LangGraph that replicates the issue deterministically, so we can help you profiling it? I run GPT-OSS-120B with multiple agents, and properly configured for the use case and don’t observe the same issue.

Sorry to barge in, I’m just a beginner but this got me curious: you can use vision models for financial analysis and browser automation?

​@raphael.amorim @christopher_owen @eugr Thanks for the engagement. To be clear—I am looking for ROI and Reliability, not just benchmarking numbers. I suspect the difference in our experiences comes down to Workload Intensity.

​1. The “Pension Analysis” Workload (Why I crash)

I can’t share the repo (proprietary financial POC), but I can share the specific workflow that causes the 120B model to destabilize on a single node. This isn’t a simple chat agent; it is a Financial Quant & Research Loop designed to manage pension portfolios:

  1. ​Ingest: Download and parse multiple 50+ page PDF Annual Reports. (Heavy RAG)

  2. ​Analysis: Extract financial tables and sentiment from those reports.

  3. ​Compute: Write and execute Python scripts for Monte Carlo Simulations (10k runs).

  4. ​Synthesis: Aggregate data + script outputs into a “Masterplan” report.

​2. The Failure Mode: Disk Swap & Coherence Decay

@eugr — To your point on config: I did test lowering --gpu-memory-utilization to 0.6 and 0.7.

  • ​The Result: While it prevented the immediate OOM, it accelerated Coherence Decay.

  • ​The Freeze: The agent typically makes it ~75% through the workflow. It reads the PDFs and runs the sims, but consistently fails during the final Report Synthesis phase.

  • ​Why: By step 4, the KV Cache is saturated. The system starts Swapping to Disk, inference drops to 0.1 t/s, and the model “forgets” the earlier PDF data. I frequently had to write separate scripts just to salvage the partial outputs because the agent couldn’t finish the final report.

​3. Addressing Image & Stack Questions (@christopher_owen)

You asked if I “rolled my own” image.

  • ​Yes, initially: I built my own container for GPT-OSS 120B. When I hit stability issues, I switched to your spark-vllm build and even tried Microsoft Magentic-One with Playwright.

  • ​The Outcome: The result was largely the same. Magentic-One is excellent, but on a single node with this heavy context load, the “Swap Wall” is undefeated. 120B simply doesn’t leave enough RAM for the OS + Browser + massive Context History required to finish the job.

​4. The Pivot to Nemotron (Mamba)

Because of the swap issues with 120B, I am actively migrating the stack to Nemotron 3 Nano.

  • ​The Hypothesis: With Mamba, the context memory footprint is linear/flat. Theoretically, I can load the PDFs and run the loops without the RAM usage spiking and triggering a swap.

  • ​Early Results: I compiled llama.cpp from source specifically for the GB10 (-DCMAKE_CUDA_ARCHITECTURES=“121”). This fixed driver emulation issues and is currently holding a stable 30 t/s at Q8 precision with minimal memory growth. I am currently porting the full “Pension Analysis” workflow to confirm if this solves the end-to-end completion issue.

​5. Validating the “Boss/Worker” Architecture (Aible)

This split architecture (CPU Orchestrator / GPU Worker) appears to be the standard enterprise pattern for this hardware. Aible (partnered with NVIDIA) uses this exact design: offloading orchestration to the Grace CPU while keeping the GPU purely for inference to ensure synchronous performance.

​My Questions to the Group:

  1. ​**@jrsphd - Re: MCP:** I haven’t implemented it yet (I used Playwright via standard Python libraries). Does offloading the browser control to an MCP server actually reduce the VRAM load on the main inference engine? My bottleneck seems to be the Model+Context weights, not the tool execution itself.

  2. ​Use Case Comparison: For those running stable agents on 120B—what are your specific use cases? Are you doing heavy RAG (PDF reading) and Code Execution in the same loop? Or are these lighter “Chat/Search” agents?

​I’m trying to determine if the 120B architecture is viable for single-node Heavy Duty agents, or if Mamba is indeed the “Tier 0” requirement when you need to fit the Model + OS + Infinite Context into 128GB.

I’m slightly confused by what you’re writing, but I’m very happy that you have a working solution for you.

Congrats!

Thanks Christopher.

To be fair, “confused” is the right state of mind—my findings on the Swap/Coherence failure were definitely counter-intuitive given the theoretical specs of the hardware. It’s very possible my “Pension Workflow” is just hitting a pathological edge case that standard inference doesn’t trigger.

I’m certainly not married to Mamba as the only solution, it’s just the one that stopped the bleeding for this specific long-context loop. I’m hoping as more people push the GB10 with heavy Agentic workloads, we’ll see if 120B can be tuned to handle it reliably on a single node.

Regardless, your spark-vllm repo remains the gold standard for raw throughput, and I’ll definitely be keeping it as the engine for my standard chat/inference interfaces. Appreciate the work you’ve put into the ecosystem

Based on your workflow, I suspect your issue is that you put too much data into the context, so you run out of 131K tokens context window that gpt-oss supports. I don’t know what context size you use for Nemotron, but by default it’s something like 256K and it supports up to 1M context window.

Having said that, I really hope you QC the results. All models start hallucinating as the context grows, and sometimes it’s not even a bug - there is a thing called “context poisoning”. Just like human brain gets overloaded with too much data, LLMs can get overwhelmed as well. A better practice would be to split your processing into multiple stages, so you have LLM processing smaller chunks of data at each iteration.

@jr_2 In order to help you the best way possible and others in the forum. Please check these samples (those are just simple examples to help standardize the discussion) and add any extra scenario that is closer to your use case and we can try to help you to get GPT-OSS-120B working.

Naive implementation running:

Logs on vLLM side:

Version with some mitigations:


Logs on vLLM side: