I run a GNN code using TransformerConv and Set2Set (plus MLP) on various hosts. The code…
- User
I run a GNN code using TransformerConv and Set2Set (plus MLP) on various hosts. The code works very well on a host A on some CPUs such as AMD Ryzen 7 7700X 8-Core Processor with PCIE 5.0/16x achieving 95s per epoch training using RTX 5070 Ti, while on a host B using the same RTX 5070 Ti with AMD EPYC 8224P 24-Core Processor and PCIE 5.0/16x, the timings are 157s. On host A, GPU utilization is 90%+, while on host B only about 50-60%. Here is profile of host A: ------------------------------------------------------- ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------ ------------
Name Self CPU % Self CPU CPU total % CPU total CPU time avg Self CUDA Self CUDA % CUDA total CUDA time avg CPU Mem Self CPU Mem CUDA Mem Self CUDA Mem # of Calls
ProfilerStep* 36.76% 237.349ms 65.42% 422.337ms 84.467ms 0.000us 0.00% 49.012ms 9.802ms -80.16 Kb -80.16 Kb 2.00 Kb -10.63 Gb 5autograd::engine::evaluate_function: CompiledFunctio... 0.05% 348.919us 32.37% 208.969ms 5.224ms 0.000us 0.00% 67.282ms 1.682ms 0 b 0 b -10.16 Gb -105.99 Mb 40
CompiledFunctionBackward 28.53% 184.197ms 32.31% 208.620ms 5.216ms 0.000us 0.00% 67.282ms 1.682ms 0 b 0 b -10.05 Gb -10.06 Gb 40
Torch-Compiled Region: 0/0 1.68% 10.862ms 26.65% 172.033ms 34.407ms 0.000us 0.00% 44.752ms 8.950ms 0 b 0 b 10.66 Gb -1.88 Mb 5
CompiledFunction 18.72% 120.854ms 23.28% 150.284ms 3.757ms 0.000us 0.00% 42.479ms 1.062ms 0 b 0 b 10.49 Gb 10.49 Gb 40
Torch-Compiled Region: 1/0 0.01% 70.700us 2.38% 15.355ms 3.071ms 0.000us 0.00% 3.252ms 650.322us 0 b 0 b 179.67 Mb 0 b 5
Torch-Compiled Region: 2/0 0.09% 580.736us 2.36% 15.223ms 3.045ms 0.000us 0.00% 3.252ms 650.322us 0 b 0 b 179.67 Mb -192.00 Kb 5
Torch-Compiled Region: 3/0 0.23% 1.499ms 2.22% 14.347ms 2.869ms 0.000us 0.00% 3.228ms 645.580us 0 b 0 b 179.86 Mb -605.73 Mb 5
cuLaunchKernel 1.86% 12.016ms 1.86% 12.016ms 2.340us 0.000us 0.00% 0.000us 0.000us 0 b 0 b 0 b 0 b 5135 aten::mm 0.66% 4.259ms 0.94% 6.074ms 15.184us 17.304ms 13.19% 17.304ms 43.261us 0 b 0 b 0 b 0 b 400 Optimizer.step#AdamW.step 0.69% 4.438ms 0.87% 5.610ms 1.122ms 0.000us 0.00% 3.665ms 732.977us 0 b 0 b 0 b 0 b 5 cudaLaunchKernel 0.84% 5.427ms 0.84% 5.427ms 3.642us 0.000us 0.00% 0.000us 0.000us 0 b 0 b 0 b 0 b 1490 autograd::engine::evaluate_function: CudnnRnnBackwar... 0.02% 134.828us 0.75% 4.831ms 322.048us 0.000us 0.00% 552.894us 36.860us 0 b 0 b -13.60 Mb -30.05 Mb 15 CudnnRnnBackward0 0.02% 110.249us 0.73% 4.696ms 313.059us 0.000us 0.00% 552.894us 36.860us 0 b 0 b 16.45 Mb -1.88 Mb 15 aten::_cudnn_rnn_backward 0.36% 2.304ms 0.71% 4.586ms 305.709us 529.534us 0.40% 552.894us 36.860us 0 b 0 b 18.33 Mb -322.57 Mb 15 Torch-Compiled Region: 4/0 0.15% 940.906us 0.68% 4.396ms 293.035us 0.000us 0.00% 596.481us 39.765us 0 b 0 b 3.04 Mb 0 b 15 aten::_cudnn_rnn 0.30% 1.958ms 0.65% 4.221ms 140.686us 512.351us 0.39% 1.177ms 39.237us 0 b 0 b 38.96 Mb -179.10 Mb 30 triton_poi_fused__to_copy_21 0.47% 3.024ms 0.57% 3.690ms 12.301us 435.037us 0.33% 435.037us 1.450us 0 b 0 b 0 b 0 b 300 aten::lstm 0.03% 205.304us 0.55% 3.538ms 235.875us 0.000us 0.00% 664.766us 44.318us 0 b 0 b 27.71 Mb 0 b 15 Torch-Compiled Region: 5/0 0.16% 1.046ms 0.43% 2.807ms 187.147us 0.000us 0.00% 382.525us 25.502us 0 b 0 b 2.81 Mb 0 b 15 triton_tem_fused__to_copy_addmm_22 0.35% 2.264ms 0.43% 2.744ms 12.197us 5.717ms 4.36% 5.717ms 25.409us 0 b 0 b 0 b 0 b 225 triton_red_fused_native_batch_norm_backward_threshol... 0.28% 1.795ms 0.42% 2.679ms 6.698us 462.943us 0.35% 462.943us 1.157us 0 b 0 b 0 b 0 b 400 triton_poi_fused__to_copy_4 0.33% 2.110ms 0.41% 2.622ms 10.701us 260.638us 0.20% 260.638us 1.064us 0 b 0 b 0 b 0 b 245 autograd::engine::evaluate_function: torch::autograd... 0.19% 1.229ms 0.40% 2.585ms 2.779us 0.000us 0.00% 0.000us 0.000us 0 b 0 b 0 b 0 b 930 triton_red_fused_sum_5 0.27% 1.751ms 0.38% 2.482ms 7.636us 1.529ms 1.17% 1.529ms 4.705us 0 b 0 b 0 b 0 b 325 Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.