Profiling LLM Training Workflows on NVIDIA Grace Hopper
AI-generated summary of reporting by NVIDIA Developer Blog. Read the original for the full story.
Why it matters
Engineers fine-tuning LLMs on GH200 hardware get a concrete profiling recipe showing their workloads are compute-bound and where GPU idle time hides, enabling targeted optimization today.
NVIDIA published a guide on using its Nsight Systems profiling tool to find slowdowns when training large language models, like Llama 2 7B, on its Grace Hopper Superchip, a single chip combining a processor and graphics chip. Profiling showed one matrix-multiplication task eats about half the GPU's time, while moving data between the chip's two halves takes under 1%. This matters to AI engineers deciding how to speed up training and cut costs.
NVIDIA's post shows that LLM fine-tuning on its GH200 Grace Hopper Superchip is compute-bound, not limited by CPU-GPU transfers: matrix multiplication kernels account for 49.9% of GPU time versus 0.5% for data movement. For teams buying or renting AI infrastructure, this suggests Grace Hopper's tightly coupled design is working as intended. The main remaining inefficiency is synchronization delays between CPU and GPU, which NVIDIA says can be tuned. Competing architectures are not evaluated, so buyers should treat this as NVIDIA's own showcase.
NVIDIA profiles Llama 2 7B supervised fine-tuning on the GH200 (Grace CPU + Hopper GPU via NVLink-C2C) using the NeMo 25.02.01 container and nsys profile with delayed start (-d 720) and 360-second capture. Kernel analysis shows sm90_xmma_gemm_bf16f16_bf16f32 consumes 49.9% of GPU time while CPU-GPU transfers use 0.5%, confirming a compute-bound workload. Timeline inspection of pt_main_thread and pt_autograd_0 reveals GPU idle gaps and pthread_cond_wait blocks from CPU-GPU synchronization. Suggested fixes: overlapping compute and communication, tuning kernel launch parameters, and reducing transfer frequency.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
NVIDIA Grace Hopper GH200 Nsight Systems NeMo Llama 2 7B PyTorch
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Samsung is testing a feature that changes the angle of photos you’ve already taken
Samsung’s new Recompose lets users change photo angles after shooting, potentially reducing the need for multiple shots and improving post-capture editing workflows for photographers and casual users alike.
Frame generation on NVIDIA cards: DLSS on RTX 40/50, FSR 3 elsewhere
Enabling frame generation on non-RTX 40/50 GPUs lets gamers run console-build games at higher frame rates without buying new hardware.
Taking Trainium3 to the Track: Generating Videos with LTX-2.5
Video generation on AWS Trainium3 can now rival Lightricks' paid API in speed, giving teams a non-CUDA inference option, though only after heavy custom patching.
The Download: Better bionic hands and AI’s natural-gas boom
This newsletter roundup mostly relays other outlets' reporting; its two own stories flag sensory-linked prosthetics reaching home use and AI data centers locking the US grid into natural gas.
Introducing the llama.cpp benchmark dashboard for AMD Ryzen and Radeon
AMD developers running llama.cpp locally on Ryzen/Radeon GPUs can now compare prompt-processing and token-generation speeds across builds, models and quantizations on a public dashboard.