Why your DGX Spark cluster runs at half speed, and the 5-minute fix
There's a lot of weirdness in these little boxes and I don't mean the internal workings of the LLMs they run
Three Nvidia DGX Sparks sit on a desk, with two of them connected to train an AI model. During profiling, it was discovered that one Spark was running its GPU at around a quarter of its usual clock speed, but this was not indicated on any dashboard. Utilization remained near 100%. This issue can occur in a local AI cluster, causing half the speed without any visible warning.
A simple reboot or pulling the power brick out of the wall can fix the problem. After restarting the machines, a profile showed one Spark's GPU running at 591 MHz while the other was at about 2,190 MHz. The slower machine waited 3.4 seconds out of every 7.2 seconds for the faster machine to catch up, reducing overall throughput.
To check your own Sparks, run a specific command in a second terminal while conducting a workload. Look for a clock near 600 MHz with low power draw and high utilization. Community reports indicate that the USB-C power delivery controller in the power brick can get stuck in a low-power state, causing the issue. Unplugging the wall from the affected Spark resolves the problem, leading to a two-fold increase in throughput.
Rewritten by urgent.news; may contain errors โ check the original.
Source: xda-developers.com