An eight-GPU training job can launch successfully and still leave important questions unanswered. How much useful training does the node complete? Where does execution slow down? Can the job recover from a checkpoint? Will the full workload finish inside the planned rental window?

A useful HGX B300 training benchmark answers those questions with measurements from your application.

The first run should establish a repeatable environment, a representative workload, and a clear definition of success. From there, you can compare configurations, investigate bottlenecks, and estimate the time required for a longer training run.

An HGX B300 node provides eight GPUs for the workload. Your software, data pipeline, training strategy, and recovery process determine how effectively that allocation supports the project.


Define the result the training run must produce

Begin with the outcome your team needs.

You might want to complete a fixed number of epochs, process a specified token budget, compare several fine-tuning settings, or determine whether a model can train within the available memory.

Each objective requires an appropriate completion rule.

Training objective

Useful completion evidence

Finish a dataset pass

Recorded examples or tokens processed

Compare configurations

Repeatable results under matching conditions

Validate model fit

Peak memory across all devices during representative steps

Meet a deadline

Measured throughput plus preparation and export estimates

Continue training later

A checkpoint successfully loaded in a fresh process

Improve model behavior

Evaluation results against a defined baseline

Keep performance and model quality in the same report.

A configuration that processes examples faster may also change the effective batch size, sequence handling, or numerical precision. Record those changes and evaluate their effect on the training outcome.

For a fine-tuning experiment, successful completion might require a saved adapter and an evaluation against held-out examples. For a larger training job, it might require a specific amount of processed data and a checkpoint that can continue in a fresh process.


Fix the environment before comparing results

A distributed benchmark needs a stable starting point.

Record the training code revision, model revision, dataset version, container image, framework version, precision, optimizer, and launch configuration.

Include the distributed strategy and how workers are mapped to devices.

NVIDIA describes HGX B300 as an eight-GPU platform using NVLink and NVSwitch for internal GPU communication. Confirm the topology and usable resources exposed to your application during handover.

https://docs.nvidia.com/enterprise-reference-architectures/hgx-ai-factory/latest/components.html

Use the same approved environment across comparison runs wherever the experiment allows it.

If you change a framework version, model format, or data preparation step, preserve the earlier configuration and explain the difference. That makes it easier to determine what caused a performance change.

Field

What to record

Code

Repository revision and training configuration

Model

Exact checkpoint or initialization

Data

Dataset version, subset, ordering, and sequence lengths

Runtime

Image digest and framework versions

Precision

Parameter, compute, and relevant state formats

Batch

Microbatch, accumulation, and effective global batch

Distribution

Worker count and parallel strategy

Measurement

Warm-up period and timed interval

Output

Throughput, memory, loss, evaluation, and recovery results

Our article “HGX B300 Rental Checklist What to Confirm Before Booking an 8-GPU Node” covers the host resources, storage paths, and acceptance checks that should be established before this benchmark begins.


Understand what stays fixed when GPU count changes

A scaling comparison needs a clear explanation of how the workload changes as devices are added.

Two useful experiments are common.


Hold the total workload fixed

Use the same model, data volume, sequence lengths, and effective global batch.

This helps answer how much sooner the same work completes with more devices.

For a straightforward data-parallel setup, effective global batch size equals the per-device microbatch multiplied by the number of data-parallel workers and gradient accumulation steps.

For example, a microbatch of two examples across eight data-parallel workers with eight accumulation steps produces an effective global batch of 128 examples per optimizer update.

More complex layouts require the calculation to use the actual data-parallel worker count.


Hold per-device work fixed

Keep the per-device microbatch and accumulation settings unchanged while adding workers.

This can reveal aggregate throughput as the allocation grows. However, the effective global batch also grows in a simple data-parallel setup.

Document that change before interpreting convergence, optimizer behavior, or the number of updates required.

Both experiments can be useful. State which one you are running so another engineer can interpret the result and reproduce the comparison.


Choose a representative benchmark workload

A small test is useful when it preserves the characteristics that determine the full run’s behavior.

Include realistic sequence lengths, input formats, preprocessing, and batch construction. For image workloads, preserve representative resolution and augmentation. For language-model training, include the length distribution and packing behavior the actual job will use.

A convenient subset can hide important costs.

For example, repeatedly reading one prepared shard may keep the entire input in cache. A longer run that reads previously unseen shards can behave differently.

Use a sample large enough to exercise relevant transitions, or label the result clearly as a cache-resident test.

Include some of the more demanding valid inputs. A trial containing only short sequences or easily decoded files can underestimate the memory and preparation time required by the full dataset.


Separate initialization and warm-up

Record image preparation, dataset staging, model initialization, and distributed process startup separately from the timed training interval.

Allow the application to reach representative execution before measuring steady throughput. Keep the warm-up procedure consistent across comparisons.

Retain startup measurements because they still affect the project schedule.

A team running many short experiments may spend a substantial share of its booking loading models and rebuilding state. A longer uninterrupted run has a different balance between preparation and productive training.

Record both patterns if both are part of the intended workload.


Measure useful throughput and step-time variation

Choose a throughput unit that represents the work.

Examples per second can be useful for consistently sized samples. For variable-length language data, record tokens processed and explain whether padding contributes to the count.

Track both typical step time and variation.

Measurement

What it helps reveal

Examples or tokens per second

Useful processing rate under the tested conditions

Optimizer-update time

Duration of the complete update cycle

Step-time variation

Irregular stalls or uneven inputs

Peak device memory

Capacity requirements and imbalance

Input waiting

Whether the pipeline supplies workers consistently

Communication timing

Synchronization or state-transfer costs

Loss and evaluation results

Whether training behaves as expected

Checkpoint duration

Recovery overhead within the booking

Measure the same interval in each run. State whether evaluation and checkpoint writing are included in the reported throughput.

A training-only figure helps investigate execution. A complete-job measurement helps estimate the time required to deliver a usable result.


Calculate speedup and scaling efficiency

Speedup compares the larger configuration’s throughput with the baseline.

Scaling efficiency divides that speedup by the increase in GPU count.

Consider the following hypothetical results, with workload and batch conditions documented consistently.

GPUs used

Training examples per second

Speedup over one GPU

Scaling efficiency

1

100

1.00×

100%

2

190

1.90×

95%

8

650

6.50×

81.25%

The eight-GPU result processes 6.5 times as many examples per second as the baseline. Dividing 6.5 by eight gives 81.25% scaling efficiency.

These figures illustrate the calculation. Actual performance needs to be measured using the workload and delivered configuration.

Use the result to identify the next investigation. Communication, input loading, scheduling, memory behavior, or changed batch conditions can affect scaling.

If the full model cannot run on one GPU, use a viable baseline and explain it. A smaller model can help investigate software behavior, but its scaling result needs separate interpretation from the target model.

Our article “B300 GPU Rental — How to Choose 1, 2, or 8 GPUs” explores how memory, parallelism, deadlines, and completed output influence that allocation decision.

We offer B300 GPU rentals for short-term workloads and longer projects. Click the Rent now button to learn more about available configurations and rental terms.


Separate input delays from distributed communication

When training slows down, determine where workers spend their time.

A data loader may wait for storage, perform expensive decoding, or provide batches unevenly. A distributed job may also spend time synchronizing workers or moving partitioned state.

Inspect those activities separately.

PyTorch’s Distributed Data Parallel implementation synchronizes gradients across participating processes. Its documentation explains how communication is coordinated with the backward pass.

https://docs.pytorch.org/docs/main/notes/ddp.html

A useful timing breakdown distinguishes input preparation, forward execution, backward execution, synchronization, and the optimizer update where your tools support those measurements.

Use the breakdown to choose the next experiment. If input preparation dominates, changing the communication strategy may have little effect on total completion time.


Investigate a slow worker

Workers that synchronize can wait for the slowest participant.

Check whether one process receives longer samples, performs more preprocessing, accesses a slower input path, or encounters repeated data errors.

Capture per-worker timings where practical. A node-wide average can hide the process that determines completion time.

For variable-length data, inspect how batches are constructed and distributed. One worker consistently processing longer sequences can make the whole training step appear slower.

Preserve the problematic inputs or approved fixtures that reproduce the delay so a later test can verify the improvement.


Compare realistic and staged input

A prepared local subset can help isolate data-supply delays.

If training becomes substantially smoother with staged input, investigate the original source, file layout, preprocessing, and loader configuration.

Keep both results. The staged test helps diagnosis, while the original path remains part of the application’s operating requirements.

Also check whether the full dataset fits within the proposed staging space. An improvement measured on a small local subset needs a workable plan for the complete run.


Review the memory strategy when the model is tight

Distributed training strategies place different demands on memory and communication.

Some approaches replicate more state across workers. Others shard parameters, gradients, or optimizer state.

PyTorch’s fully sharded data-parallel implementation distributes training state across workers to reduce memory use while introducing communication for the required state transfers.

https://docs.pytorch.org/docs/main/distributed/fsdp.fully_shard.html

Measure the chosen strategy with representative inputs.

Record peak memory on every device, including during backward execution, evaluation, and checkpoint handling where relevant.

If a revised strategy makes the workload fit, measure its effect on useful throughput as well. The decision needs both the memory benefit and the resulting completion time.

Change one major setting at a time. That keeps the reason for an improvement or regression understandable.


Rehearse checkpoint recovery before the long run

A checkpoint becomes useful when a fresh process can load it and continue the intended work.

Run a short training segment, save the required state, stop cleanly, and launch again from that save.

Verify the update count, optimizer state, scheduler position, and relevant data progress. Complete additional training steps and check that behavior remains consistent with the acceptance criteria.

PyTorch Distributed Checkpoint supports distributed saving and loading, including load-time resharding. Its documentation also states that backward compatibility across PyTorch versions is not guaranteed.

https://docs.pytorch.org/docs/main/distributed/checkpoint.html

Test the actual software versions and target layout your team intends to use.

Keep the original environment record with the checkpoint. It provides a known starting point if a later runtime or allocation requires additional testing.


Include the export destination

A local restart leaves the transfer path untested.

Export a complete checkpoint to the approved destination and load that copy. Check required files, metadata, permissions, and integrity.

Measure how long the complete save, transfer, and restore sequence takes. Those timings belong in the project schedule.

Include the checkpoint’s full file set. Distributed saves can contain multiple files and associated metadata that the loading process expects to find together.


Choose a measured save interval

Checkpoint frequency trades recovery freshness against time and storage overhead.

Suppose a hypothetical blocking save takes three minutes after every sixty minutes of productive training. The cycle lasts 63 minutes, with approximately 4.8% spent saving.

An asynchronous implementation needs its own measurement because staging and background writes may overlap with training.

Choose the interval using the workload’s tolerance for repeated work and the observed overhead.

Account for storage overlap as well. Retaining the last complete checkpoint while writing a new one can temporarily require space for both.


Estimate the full training schedule

Use the benchmark to estimate the complete job.

Include preparation, initialization, training, evaluation, checkpoint saves, recovery allowance, export, and verification.

A hypothetical 24-hour plan might allocate the window as follows.

Activity

Planning allowance

Access and environment checks

1 hour

Data and model preparation

3 hours

Initial training and recovery test

2 hours

Main training experiments

12 hours

Evaluation

2 hours

Final export and verification

2 hours

Remaining margin

2 hours

Replace these allowances with measured durations.

If checkpoint writing or data preparation takes longer than expected, revise the experiment count before the window becomes too tight.

Set a final training cutoff that preserves export time. Keep a usable recovery point if the main run approaches the agreed end.

For confidential workloads, include the required environment review before restricted inputs or keys enter the job. Preserve the accepted security configuration with the performance record.


Compare cost per accepted experiment

The full-node cost follows the agreed allocation and billable duration.

For an illustrative calculation, assume a hypothetical rate of $8 per GPU-hour. Eight GPUs would cost $64 per hour, or $1,536 for 24 hours.

Use the confirmed quote for an actual budget.

If the booking produces twenty accepted experiments, the compute cost is $76.80 per accepted experiment. If ten experiments meet the same completion and quality rules, the figure becomes $153.60.

Define acceptance before counting results. An experiment might require completed training, recorded settings, evaluation, and a verified exported artifact.

Preserve failed runs and their causes in the report. Their time still affects how much useful work the booking produces.


Use the benchmark results to plan the full run

Bring the measurements together into a working plan.

Record the productive training rate, startup time, peak memory, input delays, checkpoint duration, restore time, and final export requirements. Identify which values were measured and which remain estimates.

Calculate the expected completion window using the same model, data characteristics, and runtime configuration intended for the main job. Include time for evaluation and recovery rather than projecting only the fastest training interval.

Keep the code, image, dataset version, launch settings, raw measurements, and validated checkpoint together. That record gives the team a repeatable starting point and makes future performance changes easier to investigate.

Have a project in mind?

Tell us what you need. Our team will be in touch.