Heat and the thermal guard
On this page
A GB10 machine can switch itself off when it runs hot for minutes at a time. Since v0.7.10 the engine watches the machine's temperature and slows its own GPU work before that happens. The guard is on by default. It changes timing only, never the output.
Why it is needed
A GB10 machine cuts its power, with no shutdown and no log line, when the hottest sensor on its board stays around 95–96 °C. Reading a long prompt keeps the GPU fully busy, and on a machine that runs hot this reaches that band in two to three minutes. The GPU does not protect itself here: its own sensor reads 8–15 °C below the hottest board sensor, and it keeps its full clock until seconds before the power goes. Our own GX10 machines have powered off this way, and owners of other GB10 machines report the same with other engines.
What the guard does
- Every 250 ms it reads the hottest of the board's thermal zones (
/sys/class/thermal). It takes the middle value of the last three readings, so one glitched reading changes nothing. It acts on the temperature expected 2 seconds ahead at the current rate of rise, because the board keeps warming for a few seconds after the GPU slows down. - From 85 °C it pauses GPU work in proportion to the heat. The share of time the GPU works falls from 100% at 85 °C to 15% at 90 °C.
- At 90 °C new work waits until the board is 2 °C cooler, at most 2 seconds per pause.
- It acts after every scheduler step (decode and speculative rounds). With EXL3 and FP4-Local packs it also acts inside prompt reading, every 4 layers, so a long prompt is paced while it is being read rather than only between chunks.
- With EXL3 and FP4-Local packs on two or four machines, each machine reads its own temperature. The hottest machine sets the pace of the group, because the others wait for it at the next exchange.
What it costs
On a cool machine, nothing: below 85 °C the check returns at once, and short requests are never slowed.
On a machine that runs hot, long prompts are read more slowly. On our hottest machine, prompt reading ran at about half its cool speed while it was being paced. Decode is paced too when the machine stays near the limit.
The figures on the benchmark pages were measured with the guard off, or with builds from before it existed. On a machine that runs hot, with the guard on, long-prompt reading can be slower than they show.
On or off: which to choose
The guard trades a little speed on a hot machine for safety. Both settings give exactly the same output; only timing differs.
Keep it on (the default) for production. The reason is long-term stability and protection of the hardware: a server that runs for hours or days, under load you do not watch, with long prompts and several users at once. That is the load that heats a GB10 until it switches itself off, and an unplanned power-off ends every request in flight, can corrupt files being written, and puts repeated thermal stress on the machine. With the guard on, the worst case is a slower response while the board is hot, never a dead machine.
Turn it off when you want the unpaced speed and are watching. For example a benchmark run, a short session, or a machine with good cooling in a cool room. With off the engine never pauses GPU work, so long prompts read at full speed even when the board is hot. On 2026-11-25 we ran nearly 100 benchmark sessions with the guard off, covering every topology from one to eight machines, and saw no issue: no power-off and no failed request. Those sessions last minutes, though, not hours of sustained load, so this tells you the guard is not needed for benchmarking; it does not tell you a hot machine can serve all day without it.
If you run with off, the engine also stops reading the temperature, so /metrics no longer shows it. Watch the hottest board zone yourself, for example with cat /sys/class/thermal/thermal_zone*/temp (millidegrees; take the highest). The GPU's own sensor in nvidia-smi reads 8–15 °C lower, so it is not a safe guide. A board that approaches 95 °C is a sign to turn the guard back on, or to add a clock cap (below).
Settings
--thermal-guard on(the default) oroff: withoffnothing is paced, and a line at start-up warns that the machine can switch itself off under long prompts. See On or off above.--thermal-soft-c <°C>, default85: the board temperature where pacing starts.--thermal-hard-c <°C>, default90: the board temperature where new work waits for the machine to cool. A value above 95 is capped at 95. If it is not above the soft limit, the soft limit is set 4 °C below it.
On two or four machines, set them on the head; it passes them to every machine.
What you will see
When the guard starts, at the first GPU work, it prints one line:
[thermal] guard on: GPU work is paced from 85 C and held at 90 C (hottest of <N> board zones, now <T> C; ...)
<N> and <T> are your machine's zone count and temperature. When pacing begins it prints one more line:
[thermal] <T> C: at or above 85 C, pacing GPU work (hold at 90 C)
If the machine has no readable thermal zone, the guard switches itself off and says so in one line.
The server's /metrics endpoint shows what the guard has done:
| Metric | What it counts |
|---|---|
velogb10_thermal_guard |
1 when the guard is on. |
velogb10_thermal_celsius{which="now"} |
The hottest board zone now. which="peak" is the highest since start-up; soft and hard are the limits in use. |
velogb10_thermal_paced_seconds_total |
Seconds GPU work was paused between the two limits. |
velogb10_thermal_paced_total |
The number of those pauses. |
velogb10_thermal_held_seconds_total |
Seconds new work waited at the hard limit. |
velogb10_thermal_holds_total |
The number of those waits. |
A clock cap, if you have root
The guard needs no root. Some owners cap the GPU clock instead, with sudo nvidia-smi -lgc 300,<MHz>, which lasts until the next reboot; sudo nvidia-smi -rgc removes it. A cap costs some speed all the time, but under long prompts the GPU then draws much less power, so the guard has little left to do. On our hottest machine an 1800 MHz cap kept the board below 89 °C through long prompts, and long-prompt reading ran at about twice the speed it had with the guard alone. The engine never sets a cap itself.
Where it applies
- EXL3 and FP4-Local packs, on one, two or four machines: after every scheduler step and inside prompt reading.
- NVFP4 and bf16 packs: once per scheduler step and once per prompt-reading pass.
- Naive N0.5 Flash: not paced in v0.7.10.
The guard was tuned and measured on Qwen3.8-Flash-Next (EXL3) on one and on four machines. On the other paths it is in place but has not been measured yet.
Also changed in v0.7.10: waiting without spinning
Two defaults changed with the guard. Both change timing only.
--gpu-waitis nowhybrid(it wasspin). While the GPU works, the serving thread sleeps until just before the work is due to finish, then checks with short sleeps, instead of holding a CPU core in a spin. This now covers EXL3 and FP4-Local packs too.spinrestores the old behaviour.blocksleeps in the driver on every wait: it frees the most CPU, but each wait on a GB10 then ends 0.2 to 1.3 ms later.--proxy-idle-usis now300(it was0). On two or four machines, the thread that moves data between machines parks its core after 300 µs with nothing to do, including in the short gaps inside a request, instead of spinning. No speed cost was measured on four machines.0restores the old behaviour.