<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Nodeox]]></title><description><![CDATA[Research, benchmarks and practical guides from Nodeox on multi-GPU training, mixed NVIDIA and AMD GPUs, and making more existing GPU capacity usable.]]></description><link>https://nodeox.hashnode.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/6afe1dc8ce1774a078ffc68e/21a6f924-732b-42ce-8ab0-534b0fa83bcf.png</url><title>Nodeox</title><link>https://nodeox.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Sat, 28 Nov 2026 01:04:35 GMT</lastBuildDate><atom:link href="https://nodeox.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[How we choose GPUs for a training job]]></title><description><![CDATA[How we check software support, GPU and coordinator memory, communication and expected runtime when choosing GPUs—with a completed full fine-tuning example…]]></description><link>https://nodeox.hashnode.dev/how-we-choose-gpus-for-a-training-job</link><guid isPermaLink="true">https://nodeox.hashnode.dev/how-we-choose-gpus-for-a-training-job</guid><category><![CDATA[distributed training]]></category><category><![CDATA[AI infrastructure]]></category><category><![CDATA[GPU Computing]]></category><dc:creator><![CDATA[Denis Voronko]]></dc:creator><pubDate>Thu, 26 Nov 2026 00:58:57 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6afe1dc8ce1774a078ffc68e/7bda52f0-3f10-41a2-811e-8bea0c1736ac.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>How we check software support, GPU and coordinator memory, communication and expected runtime when choosing GPUs—with a completed full fine-tuning example</p>
<p>Which GPUs should we use for this training job? Before comparing speed, we want to know whether the model fits, whether the <a href="https://nodeox.com/blog/gpu-scheduling-orchestration-execution"><u>software path works</u></a>, and how the hosts will work together.</p>
<p>We’ve brought more of that decision into the Nodeox Workbench: a host chooser, memory-fit estimates and a runtime forecast that can be compared with the completed run. Here’s the sequence we use, with a recent full fine-tuning run as the worked example.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6afe1dc8ce1774a078ffc68e/cbbe6a4b-ab81-4e18-bb5b-e292e6c3aa8b.png" alt="A practical GPU-selection sequence: define the workload, check software and memory fit including coordinator RAM, inspect hosts and communication, compare the runtime forecast, then check the completed result and retain the evidence." style="display:block;margin:0 auto" />

<h2><strong>Start with the job you intend to finish</strong></h2>
<p>Write down the model and version, dataset, training method, batch size, precision and amount of work. Decide how you will <a href="https://nodeox.com/blog/benchmark-mixed-gpu-training">check the benchmark mixed-GPU training</a>. These settings give a GPU comparison its meaning.</p>
<p>A smaller batch can change what fits. A different precision can change memory use and performance. Running inference says little about the resources needed for a full fine-tune. We keep the intended configuration attached to the comparison so that a promising device is tested on the work we actually need.</p>
<h2><strong>Check software and memory fit before comparing speed</strong></h2>
<p>First, check that the required operations, data types and software versions have a supported execution path. If a backend uses CPU fallback, account for its transfers and timing. Seeing a device in a framework is the beginning of this check.</p>
<p>Then look beyond the size of the weights. Training can also need activations, gradients, optimizer state and temporary buffers. Batch size and the way work is divided affect the total.</p>
<p>In the Workbench, each host has a memory-fit estimate for the selected model and training method. It does not yet count the batch size. The estimate makes the assumptions visible before Load; the representative run checks whether the configuration actually works.</p>
<p>Host memory matters too. Data preparation, aggregation and saving results use resources outside the GPU. We check those stages as part of the whole configuration.</p>
<p>In our <a href="https://nodeox.com/blog/vit-h-coordination-memory"><u>ViT-H coordination study</u></a>, the process peak fell from 29.4 GB to 9.6 GB, within a 16 GB budget, after changes to how model state was held and released. The check used two software hosts sharing one MI300X. For GPU selection, the lesson is practical: check <strong>the coordinator’s RAM budget as well as each GPU’s memory</strong>. In the Workbench, a Load whose coordinator is estimated to exceed its RAM budget is refused before any GPU host is taken.</p>
<h2><strong>Inspect the hosts you are choosing</strong></h2>
<p>The host chooser brings GPU type, memory, speed, link measurements and availability into one place. We can inspect individual hosts rather than decide from a fleet total.</p>
<p>Automatic selection is useful for assembling a candidate set. By default, it adds the fastest suitable hosts while each one shortens the forecast by at least 5%. When we need a specific host, we can pick it by hand and hold it while preparing the run. The selection still needs to make sense for the workload.</p>
<p>A link measurement deserves attention even when two hosts have the same GPU name. During the forecast check, two rented RTX 4090s measured 52 and 4 Mbit/s download. With both selected, the forecast rose to about 39 minutes, most of it Load; the automatic selection took one. That is a concrete reason to inspect the host rather than stop at the card’s specifications.</p>
<h2><strong>Check how the selected devices work together</strong></h2>
<p>A model running on two devices separately is one useful check. A training job using them together adds work distribution, communication and synchronization to the decision.</p>
<p>Faster computation can be offset by time spent <a href="https://nodeox.com/blog/e1-distributed-training-overhead"><u>preparing, transferring or applying updates</u></a>. We therefore consider the run’s phases as well as a host’s compute speed. The useful comparison is <strong>the same workload completed under the proposed configuration</strong>.</p>
<p>This is also why a memory-fit estimate and a runtime estimate answer different questions. A configuration can look feasible and still be a poor choice for the time available.</p>
<h2><strong>Use the forecast to support the selection</strong></h2>
<p>On 2 November, we checked the forecast with a full fine-tune of ViT-B/16 on Oxford-IIIT Pet. The run used an NVIDIA RTX 4090 and an NVIDIA RTX 3060, four rounds of 300 training steps split equally across the hosts, with batch size 32.</p>
<p>Before Load, we can compare the expected duration of the selected configuration with the time available. Keeping the original estimate beside the completed run makes that choice inspectable afterwards.</p>
<p>In the full fine-tuning check above, the run completed in 542 seconds against an initial estimate of 627 seconds, inside the planning range. We cover the <a href="https://nodeox.com/blog/training-runtime-forecast"><u>forecasting method and its validation</u></a> in a separate research article; here the estimate supports the host-selection decision.</p>
<h2><strong>Check the result, then keep the useful evidence</strong></h2>
<p>A time estimate addresses duration. Result quality has its own acceptance test. We check that separately before treating a configuration as suitable for the next piece of work.</p>
<p>For a candidate configuration, we keep a short record of the workload and settings, software and memory checks, selected hosts, estimate and actual elapsed time, result quality, and any failures or recovery.</p>
<p>That record helps distinguish three things: what we expected, what completed successfully, and what we would change for the next run. A single completed run supplies evidence for that setup; repeated comparable runs help show how dependable it is.</p>
<h2><strong>A more useful starting point than GPU count</strong></h2>
<p>The Workbench update lets us inspect the hosts, choose a candidate configuration, see its expected runtime and compare that expectation with the run we completed.</p>
<p>For the next job, we start with what it needs to finish. Then we choose the GPUs that can contribute, test the combination, and keep the evidence for the next decision.</p>
]]></content:encoded></item><item><title><![CDATA[Why can a multi-GPU job wait while GPUs are idle?]]></title><description><![CDATA[Six GPUs can be free while a four-GPU job waits. Start with its pending reason, resource request and workload requirements to understand why.]]></description><link>https://nodeox.hashnode.dev/why-can-a-multi-gpu-job-wait-while-gpus-are-idle</link><guid isPermaLink="true">https://nodeox.hashnode.dev/why-can-a-multi-gpu-job-wait-while-gpus-are-idle</guid><category><![CDATA[#ArtificialIntelligence ]]></category><category><![CDATA[MachineLearning]]></category><category><![CDATA[GPU Computing]]></category><category><![CDATA[distributed system]]></category><dc:creator><![CDATA[Denis Voronko]]></dc:creator><pubDate>Wed, 18 Nov 2026 22:31:05 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6afe1dc8ce1774a078ffc68e/d3e49008-e325-4140-ad15-1d79b7033f38.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Six GPUs are free. A job asking for four still waits. It is tempting to blame the scheduler, but the fleet total leaves out the detail that matters: <strong>which four GPUs can this job actually use?</strong></p>
<p>An idle count tells us that devices are not busy. It does not tell us whether they satisfy a particular request, are accessible under the relevant policy, or can run the application together. Those are separate checks. We would start with one pending job and work outward from there.</p>
<p>It helps to separate <a href="https://nodeox.com/blog/gpu-scheduling-orchestration-execution">what scheduling, orchestration and execution each handle</a> before deciding which part of the stack needs fixing.</p>
<h2><strong>Start with the reason the job is pending</strong></h2>
<p>Slurm exposes pending reasons such as unavailable resources, priority, association or QOS limits and dependencies. A job can face several constraints; the displayed reason is the one encountered by the scheduling attempt, so it is a useful starting point rather than a complete diagnosis.</p>
<p>If the blocker is a dependency, changing GPU types will not finish the preceding job. If an association or QOS limit applies, additional idle devices do not automatically make the allocation permissible. If the request cannot be satisfied, examine its shape before concluding that the fleet is too small.</p>
<p>Keep a small diagnosis record: the request, pending reason, observation time, eligible nodes and the policy that applies. A screenshot of free GPUs without that context makes a weak basis for buying hardware or replacing a scheduler.</p>
<h2><strong>Count the devices that fit the request</strong></h2>
<p>Consider this hypothetical fleet. Four GPUs are configured as type A, and two are occupied. Four more are type B, and all are free. A job requests four type-A GPUs.</p>
<p>Six devices are idle, but <strong>only two match</strong>. The allocation cannot be assembled from that snapshot. Slurm can represent GPU types through its <a href="https://slurm.schedmd.com/gres.html">generic-resource configuration</a>; what the request can select depends on that configuration.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6afe1dc8ce1774a078ffc68e/2ac4a6d6-f5df-4c5b-9264-5727661ae5cb.png" alt="" style="display:block;margin:0 auto" />

<p>The type restriction may be necessary. Perhaps the model needs more memory than type B offers, or the validated environment depends on a particular software path. Perhaps it is simply the configuration used in an old submission script. The observation alone does not distinguish those cases.</p>
<p>Ask the application owner why the restriction exists. Then test whether another configuration can complete the same work at the required quality. Removing a request constraint before answering that question can turn a waiting job into a failed job.</p>
<h2><strong>Look beyond the GPU count</strong></h2>
<p>The allocation also needs enough supporting resources in the right places. Check host memory, CPU requirements, placement, network access and the partitions the account can use. Four free GPUs spread across four machines may be a very different option from four in one machine.</p>
<p>This is where “fragmentation” needs a precise description. Which pieces are available? Which combination is required? What prevents the pieces being used together? The word is more useful when it names the missing combination than when it labels every queue delay.</p>
<p>Also separate <strong>resource eligibility from application eligibility</strong>. A workload manager may allocate and launch a combination that the training runtime cannot use efficiently. Slurm supports heterogeneous job components; that capability does not by itself settle the training algorithm's compatibility or communication requirements.</p>
<h2><strong>What public traces help us ask</strong></h2>
<p>Our repository's analysis of the historical Helios traces found a much longer p90 wait for multi-node jobs than single-node jobs: about 21 minutes versus 3 minutes (37 minutes for jobs on exactly two nodes). The multi-node jobs were a small share of job count but a large share of GPU-hours. These are observations from four of SenseTime's eight Helios clusters (public trace, April–September 2020), not a forecast for a university cluster.</p>
<p>They make multi-node requests worth investigating. They do not show that the free GPUs were the wrong model. Helios supplies queue information without the GPU-type evidence needed for that conclusion; our Alibaba PAI analysis supplies type information without useful waiting-time differences. Combining two incomplete pictures does not create the missing causal observation.</p>
<p>For a real fleet, we would want simultaneous evidence: what the job needed, why it waited, which devices were free, and whether those devices could have completed its workload. That is the point where a plausible idea becomes a testable operational question.</p>
<h2><strong>Test a change on one workload</strong></h2>
<p>Choose a repeatable job with a clear acceptance criterion. Record its usual request and the <strong>time from submission to an accepted result</strong>. If a broader hardware configuration is eligible, measure its setup, runtime, communication, failures, quality and cost as well.</p>
<p>The alternative might execute more slowly and still return a result earlier because it starts sooner. It might lose that advantage to overhead. It might be unsuitable altogether. An idle-GPU chart cannot choose between those outcomes.</p>
<p>Nodeox is investigating whether suitable workloads can use a broader mixed GPU allocation. Its E1 training tests do not measure customer queue savings. Before making that claim, we need the queue record and a workload comparison in the environment where the decision matters.\</p>
<img src="https://cdn.hashnode.com/uploads/covers/6afe1dc8ce1774a078ffc68e/c49244c4-f0bf-4591-9416-2f2af8cb75d1.png" alt="" style="display:block;margin:0 auto" />

<p>For the next pending job, put the free-device count beside its actual request. The discrepancy is often where the useful questions begin.\</p>
]]></content:encoded></item></channel></rss>