4Dakar → Paris, on the whiteboard · episode 4 of 10
The machine: an NVIDIA Spark and local models
Most artificial intelligences run at large companies, on distant servers. Part of our project does the opposite: it runs here, on a single machine sitting on a desk.
Why? To keep the data on site, to avoid paying for each use, and to understand what these models really demand. This episode explains what that makes possible, and what it costs.
The audio side and the project's analyses run locally, on an NVIDIA DGX Spark: a GB10 chip combining an Arm processor and a Blackwell GPU, 128 GB of unified memory, running Linux, with Docker.
This episode details what runs on it, why the language model stayed with Anthropic after a test bench, what memory bandwidth changes, and the incident that froze the machine in the middle of the livestream.
Independent Veden project, not affiliated with Nico, Ascend or their partners.
Move forward with the arrow → or the Next button. “Discovery / Technical”, at the top, changes the level of the text; “Listen” reads it aloud.
4Memory
128 GB of memory, shared between the processor and the GPU
An artificial intelligence has to fit entirely in memory to work. On an ordinary computer, the graphics card has its own memory, often small.
On this machine, there is just one large pool of 128 gigabytes, shared by everyone. That is what lets it load big models. But it is also a trap: what one program takes, the other no longer has.
The Spark has 128 GB of LPDDR5x as unified memory: the processor and the GPU draw from the same pool, with no fixed split. A large model fits there where a consumer graphics card would stop at 24 or 32 GB.
The flip side: system memory and model memory are the same. A model server that reserves a fixed share at start-up takes it away from everything else, including the other GPU containers. So you have to add up what each service might ask for at the worst moment, not on average.
unified memory of the DGX Spark
128 GB
shared by the processor and the GPU, of which about 121 are usable.
4Audio models
All the listening runs on site
To know who speaks and what is said, we use several small, free artificial intelligence models that run on the machine. The livestream's audio is never sent anywhere else.
One spots who speaks and when, another writes down what is said, a third recognises voices it already knows. Episode 6 shows them at work.
Three open NVIDIA models for audio: Nemotron 3 Diarization (who speaks, when, up to eight voices), Parakeet TDT 0.6B v3 (transcription) and TitaNet Large (voice embeddings). Added to these is bge-m3, served by Ollama, to measure how close in meaning two texts are (episode 8).
The three audio models live in two separate Docker images: Nemotron 3 was only supported by the development version of transformers, installed from source, whereas Parakeet and TitaNet rely on the NeMo stack. Rather than bet on two fast-moving stacks coexisting, each has its own image.
4Local or API
The local language model against the API
We also tried having the travel log written by a large model installed on the machine, instead of Claude, the Anthropic model we use. On paper, it was free.
In practice, it got too many nuances wrong. For example, it took a rumour read in the chat, Flamby giving up, for a real announcement. Claude, for its part, saw through every trap we had set for it.
The test bench: 35 slices, of which 30 from the livestream and 5 trap slices from the first days, with 11 nuance checks verified by hand. For example: Byilhan does fall into Lake Retba (the Pink Lake); the scorpion is a fear, not a sting; Flamby giving up is a rumour they joke about; Morocco is a plan, not a stage reached.
gpt-oss 120b, served locally by Ollama, passed 5 checks out of 11, against 11 out of 11 for Claude Opus. On quote fidelity, 73 to 81% of its quotes could be found word for word in the transcript, against 99%.
nuance traps passed, same test bench
5 / 11→11 / 11
for the local model, then for Claude Opus.
4Speed
What sets the speed: memory, not computation
A language model writes word after word. For each word, it has to reread from memory the part of what it has learned that applies to that word.
Its speed therefore depends mainly on how fast the memory sends it this data, much more than on computing power.
To generate each word, a language model rereads its active weights. Memory throughput therefore sets the generation speed, much more than computing power. The Spark offers 273 GB/s, far from high-end graphics cards and their dedicated memories.
This is why a mixture-of-experts model such as gpt-oss 120b remains usable on it: out of 117 billion parameters, only about 5.1 billion are read for each word, and the weights are quantised to a little over 4 bits.
memory bandwidth of the DGX Spark
273 GB/s
shared by the processor and the GPU.
4The incident
4 October: one model too many
In the middle of the livestream, we started another large model on the same machine, which reserved 80% of the memory outright. On the next run, the transcription asked for its share.
The result: no memory left, a machine frozen for 1 hour 45 minutes, two restarts. The lesson is simple: only one large model at a time, and always some headroom.
On 4 October, a vLLM server started with --gpu-memory-utilization 0.80 coexisted with the hourly transcription. The driver returned “Out of memory”, then the machine stopped responding, network included, for about 1 hour 45 minutes. After two restarts, the GPU still suffered Xid 119 errors (GSP timeout), one to three minutes after start-up.
Rules adopted: only one large model at a time, a reservation capped at 0.65; after a restart, watch for ten minutes before declaring the GPU recovered. Two Docker pitfalls along the way: a container set to unless-stopped that is restarted by hand comes back at the next boot, and under cgroup v2, --gpus all does not always open /dev/nvidia-uvm.
4The choice
Listening locally, writing through the API
In the end, we chose the best of both worlds. Listening to the livestream, which runs all day, stays on our machine: it is fast and free there, and the audio never leaves it.
Writing the travel log, which takes the most finesse, is entrusted to Claude, the model that made the fewest mistakes.
The split was made on measurements, not on principle. The audio models are small, reliable and used continuously: local wins. Writing turns on nuances that only the best model handled correctly on the test bench: the API wins, at about $0.40 per hour of livestream at API prices.
This choice can be revisited: it is enough to rerun the same test bench on each new open model. The writing engine is changed with an environment variable.
4Summary
What to remember
- Part of the project's AI runs on a single machine, here in-house.
- Its large shared memory allows big models, but it has to be used with care.
- The local model got too many nuances wrong: the writing is entrusted to Claude.
- Only one large model at a time: we learned that the hard way.
- 128 GB of unified memory: add up the worst cases of each service.
- Audio runs locally, in two separate Docker images for two incompatible stacks.
- Choose the writing model on your own test bench: 5/11 against 11/11.
- Memory bandwidth sets the generation speed; mixture-of-experts models take advantage of it.
Are you torn between local AI and an API?
We can measure both on your own data before deciding. Write to me: we will look together at what is feasible.
Let's talk about your projectSources:
- Tom's Hardware, DGX Spark specifications
- gpt-oss model card, active parameters
- Nemotron 3 Diarization model card