Originally published at: https://developer.nvidia.com/blog/nvidia-grace-hopper-superchip-architecture-in-depth/
The NVIDIA Grace Hopper Superchip Architecture is the first true heterogeneous accelerated platform for high-performance computing (HPC) and AI workloads. It accelerates applications with the strengths of both GPUs and CPUs while providing the simplest and most productive distributed heterogeneous programming model to date. Scientists and engineers can focus on solving the world’s most important…
Hello! I would be very interested in trying out the chip for AI inference over encrypted data (see Sentiment Analysis on Encrypted Data with FHE - a Hugging Face Space by zama-fhe for example). Is the chip available via a cloud solution already?
Hi there,
We are interested in the power capping technology on theses systems mentioned in
The documents discuss power capping at the module-level, but imply that a lot of power-capping is performed using DVFS. Is it possible to power-cap memory or otherwise apply DVFS in this way in either HBM or LPDDR? If I recall correctly, such controls are exposed through MSR on other vendor devices, but I am unable to find similar documentation for Grace-Hopper.
Any information is appreciated.
Hello. There is no memory DVFS for Grace LPDDR. For HBM, there is boot time selection of frequency possible, but no dynamic control there either.
There is CPU DVFS with ACPI CPPC.
Hello there,
I have been trying to get power data for the Grace Hopper Superchip following the tuning guide attached below, but have encountered some problems. Using the pg.33 of the tuning guide, I can draw average power data over either 50ms or 100ms, but for both time’s all 4 sensor’s from Hardware monitor seem to usually report the same data. Referring to pg.35 which describes the SuperChip Telemetry Sensors, I am under the assumption the data shouldn’t be the same. For example sensor 0 reports total module power which includes the Hopper GPU, but most of the time the power is the same as sensor 3(SysIO), sensor 2(CPU), or sensor 1(Grace) output whose sensors don’t include Hopper GPU Power. Any help would be Appreciated!
This is the command I use to tell which sensor is being recorded: cat /sys/class/hwmon/hwmonX/device/power1_oem_info
This is the command I use to display average power consumption: cat /sys/class/hwmon/hwmonX/device/power1_average
Here is the Tuning Guide: https://docs.nvidia.com/grace-performance-tuning-guide.pdf
Thank You!
HI agottipa
Are you saying the power number remains same for 50ms and 100ms or all 4 sensor are reporting the same values. If you can post some logs that will also help
Hey kinchitd,
When reading the hwmon file for all 4 sensors they usually report the same values. I have attached two csv files, the cpu_logs.csv records power data when not using cuda and the gpu_logs.csv records power data when using cuda.
These logs are from testing on 50ms. The same behavior is observed in 100ms
cpu_logs.csv: cpu_logs.txt (4.0 KB)
gpu_logs.csv: gpu_logs.txt (785 Bytes)
Thank You,
Agottipa
Hey
Few things that will help to root cause this
- The bash/shell script that generated the log file to make sure the HWMON you are using are correct since we have not seen this on our platforms so far
- please provide log files for the following
- sudo ipmitool fru print > ipmitool_log
- sudo dmidecode - H1 > dmidecode_log
- grep “” /sys/class/hwmon/hwmon*/device/power1_{average,oem_info}
Hello, I will have to look into the HWMON we are using but here are the log files:
dmidecode_log.txt (11.8 KB)
ipmitool_log.txt (1.9 KB)
Here are the grep results:
41904000
41904000
41904000
41904000
Module Power Socket 0
Grace Power Socket 0
CPU Power Socket 0
SysIO Power Socket 0
Thank You,
Anshuk Gottipati
Hey, we ended up doing a firmware update which did fix the issue!
Now it shows:
94280000
2781000
1309000
491000
Module Power Socket 0
Grace Power Socket 0
CPU Power Socket 0
SysIO Power Socket 0
Thanks for the Help!
Is there some documentation or explanation for the difference between power measurements using nvidia-smi vs. directly using the hwmon source for total module power?
I am under the impression that on the grace-hopper system, nvidia-smi must be reporting full system power due to the capacity (900w), and also due to the fact that the numbers are close to those reported by the total hardware module power with hwmon.
However, hwmon and nvidia-smi seem to report different numbers consistently. Is nvidia-smi software estimation and hwmon sensor data? Or something else?
I have a quick query. Can Grace access memory allocated in Hopper through cudaMalloc?
Hello.
I have measured the read and write bandwidths for the GraceHopper GH200 machine, for all possible combinations of CPU/GPU and DRAM/HBM. In the picture you can see the GB/s bandwidths (and in parentheses the percentage of maximum reported in the presentation of GH200).
Is there any explanation why CPU accesses to HBM reach only 60% of reported bandwidth? Similar numbers are reported in this paper https://arxiv.org/abs/2408.11556 (Figure 7 and Section III-C).
Is it that only the GPU→c2c→DRAM path is optimized for memory transfers, and the CPU→c2c→HBM not? I think the rest of the reported bandwidths make sense, but if anything else is worth commenting, please point it out also.
Thank you!
