NVIDIA Introduces Tensor Flop Utilization for Scalable GPU Efficiency

NVIDIA says RTX Spark can localize AI coding workflows on one PC




Home

Latest reporting

News


NVIDIA unveils Tensor Flop Utilization (TFU), a new metric for measuring GPU efficiency at scale, addressing challenges in ML training workloads.






NVIDIA has introduced Tensor Flop Utilization (TFU), a new metric designed to measure GPU compute efficiency at scale. TFU serves as a proxy for Model FLOPs Utilization (MFU), leveraging GPU telemetry instead of workload-specific FLOPs formulas. This innovation enables fleet-wide efficiency monitoring across large-scale GPU deployments.

Challenges in Measuring GPU Efficiency

Traditional metrics like MFU and Hardware FLOPs Utilization (HFU) have proven difficult to compute in large-scale environments. MFU, introduced by Google in the PaLM paper, measures the ratio of observed throughput to the theoretical maximum throughput of a system. However, it relies on fragile inputs such as peak FLOP/s and FLOPs per token, which are prone to miscalculations. HFU, on the other hand, measures achieved FLOPs divided by theoretical peak FLOPs but includes operations like rematerialization, which do not directly contribute to faster training.

Both metrics face limitations in practical applications. Profiling tools like Nsight Compute add significant overhead, making them unsuitable for monitoring production workloads. Analytical accounting methods are also cumbersome, requiring detailed knowledge of each workload’s implementation.

Tensor Flop Utilization: A Scalable Solution

TFU addresses these challenges by measuring the share of a GPU’s peak Tensor Core throughput achieved by a job. It calculates efficiency using tensor pipe activity (TPA) and the ratio of the current SM clock to the maximum reference clock. This method avoids the need for precision-specific adjustments, as the same Tensor Core pipe handles all precisions, ensuring consistent results across mixed-precision workloads.

Validation of TFU was conducted on a mixed-precision pretraining run of an MoE hybrid Mamba-Transformer model across 6,144 GB200 GPUs. The results showed that TFU closely aligned with application-reported MFU, with an average agreement within one percentage point and a correlation of 0.98 across 174 jobs. Fleet-wide measurements spanning 54.8 million GPU-hours revealed that general LLM training averaged 17.2% TFU, with the best-tuned runs achieving 30–40% TFU.

Implications and Applications

TFU is applicable to a wide range of Tensor Core workloads, including vision, speech, multimodal tasks, inference, and reinforcement learning. By avoiding the mixed-precision accounting issues that make MFU brittle, TFU provides a reliable and scalable metric for monitoring GPU efficiency in diverse machine learning environments.

For organizations looking to implement TFU, NVIDIA recommends configuring DCGM Workload Labels to map GPUs to jobs on Kubernetes or Slurm clusters. Tensor Core activity and SM clock fields can be collected via the DCGM Exporter, enabling users to compute TFU for their workloads using reference clocks provided by NVIDIA.



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *

Pin It on Pinterest