A 35B Model Read nvidia-smi and Got the Carve-Out Wrong

· AI & Models · Local Inference · Unified Memory · llama.cpp · RTX Spark · Quantization

A local 35B model used nvidia-smi to claim 64 GB of dedicated VRAM. NVIDIA's porting guide says that memory is a carve-out of system DRAM, and cutting it to 4 GB still ran a 63.4 GB model at 92% of full speed.

A 35B Model Read nvidia-smi and Got the Carve-Out Wrong

A viral screenshot has a local model "discovering" 64 GB of VRAM. The number is right; the noun is wrong.

Executive Takeaway: On an RTX Spark laptop, the 64 GB that nvidia-smi labels dedicated GPU memory is a firmware carve-out of the same LPDDR5X pool Windows is already using. NVIDIA's own porting guide says it is "physically backed by system DRAM rather than separate VRAM." A 35B model at Q8_0 (~37 GB) does fit inside it — but not because the machine has a graphics card with 64 GB on board.

The measured consequence is the useful part: dropping the carve-out to its 4 GB minimum still ran a 63.4 GB model at 92% of its 64 GB speed. If the slider does not buy throughput, "make it fit in VRAM" is the wrong optimisation target. Context length, batch size and expert placement are where the remaining throughput lives.

The model's own report: 128 GB of SK hynix memory split 64/64, so the Q8_0 weights fit entirely in the GPU
The model's own report: 128 GB of SK hynix memory split 64/64, so the Q8_0 weights fit entirely in the GPU

Chubby (@kimmonismus) on X

1 · What Actually Changed

The assistant ran its own diagnostic, then narrated the hardware wrongly

A 35B-A3B model running locally under llama.cpp had shell access, called nvidia-smi, read the memory slots, and produced a confident, warmly written hardware report. Two of its claims survive contact with the documentation. The third — 64 GB of dedicated VRAM — is where the platform's naming does the lying for it.

The diagnostic moved into the chat loop

Self-inspection is now an ordinary agent capability

Local agents routinely call nvidia-smi, wmic or read /proc to describe their own host. That is genuinely useful, and it is also a new failure surface: the tool returns numbers, the model supplies the nouns. Capacity readings are usually right. VRAM, dedicated and graphics card are the model's inference, not the tool's output.

One physical pool, three Windows regions

Carve-out, shared, CPU-only

NVIDIA's Windows-on-Arm porting guide splits the pool into three logical regions. The carve-out is reported to Windows as dedicated GPU memory and is physically backed by system DRAM. The remainder divides between shared system memory and CPU-only memory, with the shared portion clamped between 50% and 80% of post-carveout capacity. On a 128 GB unit with a 64/64 split, a reviewer measured 62.5 GB usable on the GPU side.

Does 37 GB really fit in the GPU?

Capacity yes, bandwidth no

Q8_0 stores weights at roughly 8.5 bits per parameter, so a 35B checkpoint lands near 37 GB — comfortably inside a 62.5 GB carve-out. The arithmetic holds. What it conceals is that the memory it sits in is the same LPDDR5X the CPU reads through: a 256-bit interface, spec'd at 300 GB/s for the platform and measured around 122 GB/s in CPU-side STREAM Triad runs. A discrete card with 64 GB of real VRAM would decode far faster per token.

# Checkpoint sizing, before KV cache
weights_gb = params_b * 8.5 / 8   # Q8_0 ~ 8.5 bits per weight
35 * 8.5 / 8                      # ~ 37.2 GB, fits in 62.5 GB

2 · Benchmarks & Landscape

Measured on one 128 GB Surface Laptop Ultra, one run per setting

The slider is not a speed dial

4 GB to 96 GB stays inside the noise

Same model, same llama.cpp build, only the NVIDIA App carve-out changed, with a reboot between runs. Generation held between 58.8 and 64.2 tok/s across a 24x change in nominal dedicated memory.

What the carve-out actually takes

The cost lands on Windows, not on tokens

Carve-outMain memoryCommit headroomtg128
4 GB122.5 GB238.9 GB58.8
64 GB62.5 GB134.2 GB63.9
82 GB44.5 GB108.8 GB64.2
96 GB30.5 GB102.9 GB64.0

Sizing the 35B class against 62.5 GB

Q8_0 fits with about 25 GB to spare

WeightsFile sizeFits 62.5 GBMeasured tg128
UD-Q4_K_M22.1 GBYes74.9 tok/s
Q8_0 (computed)~37.2 GBYesnot measured
FP16 (computed)~70 GBNon/a

Against a discrete-GPU laptop

The 5090 wins where it fits, and only where it fits

In the same review the Blade 16's RTX 5090 was 2.3x faster on anything that fits in 24 GB, and sat out the 35B tier entirely. The Spark platform's argument is not tokens per second. It is that 35B and 120B checkpoints run at all, at 58 to 89 tok/s, from a laptop chassis.

The Blackwell RTX generation the N1X is built on, CES 2025: same silicon family, very different memory system
The Blackwell RTX generation the N1X is built on, CES 2025: same silicon family, very different memory system

3 · Limits, Costs & Counterarguments

Where the enthusiasm stops being free

Bandwidth, not capacity, is the ceiling

300 GB/s spec'd, 122 GB/s measured

Prompt processing held 2,735 tok/s at 8,192 tokens, 97% of the 512-token figure, with about 23 GB of the carve-out in use. That is a prefill bandwidth story, not a capacity story. More unified memory raises what can be loaded; it does not raise how fast anything decodes.

One machine, one run per setting

Direction solid, percentages provisional

The sweep is a single 128 GB unit, two models, one measurement per carve-out after a reboot, with standard deviation under 4% on generation. The author also states plainly that the roughly 10% gap between 4 GB and 64 GB is unexplained. Treat the shape of the curve as reliable and the exact deltas as provisional.

Where the carve-out still bites

Video is the honest counterexample

The same 4 GB setting that cost the LLM 8% roughly doubled one video model's render time and left the other untouched. Spilling weights is cheap; spilling large intermediate tensors is not.

Workload4 GB carve-out64 GB carve-out
63.4 GB LLM58.8 tok/s63.9 tok/s
Wan 2.2 video271 s/video143 s/video
MiniMax video33 s/video30 s/video

The advice that inverts on unified memor

-ncmoe is a discrete-VRAM remedy

The standard fix when VRAM runs short is parking MoE experts on the CPU. Here it went the other way: at a 4 GB carve-out, moving all experts to the CPU was 2.1 to 2.6x slower for the 120B model than letting shared GPU memory absorb the overflow. Guidance written for discrete-VRAM laptops does not transfer to a single pool.

The measured sweep from the practitioner write-up: flat generation speed while main memory collapses toward the commit limit
The measured sweep from the practitioner write-up: flat generation speed while main memory collapses toward the commit limit

4 · Practical Decision Playbook

What to change on Monday

Set the carve-out to the model file

Not to the maximum the app allows

64 GB is the sweet spot for a 63.4 GB checkpoint: weights land inside the carve-out at full speed and 45.8 GB stays free for Windows under load. At 82 GB and 96 GB, committed memory reached 99% of the commit limit, one more browser tab away from paging.

# Measure first: one load, repeated runs
llama-bench -m model.gguf -ngl 999 -fa 1 -p 512,8192 -n 128 -r 3

Profile with the tool, not the adjective

Ask the driver for a number, then check it twice

Before repeating any claim a local model makes about its own host, query the driver and reconcile it against the physical total. If dedicated plus main memory equals system memory, there is no separate VRAM to reason about, and capacity is not your bottleneck.

nvidia-smi --query-gpu=name,memory.total,memory.used --format=csv
# dedicated + main ~ physical total (UMA)

Who should buy 128 GB, who should wait

Buy it for 30B to 120B single-machine inference at 60 to 90 tok/s, with the OS still breathing. Wait if your work is prefill-heavy, multi-tenant, or 4-bit fine-tuning: bandwidth-bound workloads still belong on a discrete card or a rented GPU. Do not buy 128 GB expecting the memory slider to be a performance dial.

NVIDIA RTX Spark: one LPDDR5X pool serving a 20-core Arm CPU and a Blackwell iGPU, with the split set in software
NVIDIA RTX Spark: one LPDDR5X pool serving a 20-core Arm CPU and a Blackwell iGPU, with the split set in software

5 · Verified Sources & Deep Reading

Original X post (@kimmonismus)

NVIDIA: Unified Memory Architecture (porting guide)

Carve-out sweep: 4 GB vs 64/82/96 GB, measured

StorageReview: Surface Laptop Ultra, RTX Spark N1X

中文导读:本地模型读准了容量,读错了显存语义

本地 35B 模型用 nvidia-smi 宣称拥有 64GB 专用显存。NVIDIA 文档显示这只是系统 DRAM 的切分区;压到 4GB 后,63.4GB 模型仍有 92% 的速度。

Primary Sources & References

  1. Original X post (@kimmonismus)
  2. NVIDIA RTX Spark porting guide: Unified Memory Architecture
  3. Carve-out sweep: 4 GB vs 64/82/96 GB, measured
  4. StorageReview: Surface Laptop Ultra, RTX Spark N1X