5 ms·
Not really. GPU many cores, at least for fp32, gives you 2 to 4 order of magnitudes compared to high speed CPU. The rest will be from "python float" (e.g. not
by cdavid 4mo ago
Not really. GPU many cores, at least for fp32, gives you 2 to 4 order of magnitudes compared to high speed CPU.
The rest will be from "python float" (e.g. not from numpy) to C, which gives you already 2 to 3 order of magnitude difference, and then another 2 to 3 from plan C to optimized SIMD.
See e.g. https://github.com/Avafly/optimize-gemm https://github.com/Avafly/optimize-gemm for how you can get 2 to 3 order of magnitude just from C.
- p1esk 4mo agoTheoretical FP32 performance of AMD EPYC 9965 is double that of A100: 41.2 TFLOP/s vs 19.5 TFLOP/s
- fc417fc802 4mo agoIsn't that because the A100 is optimizing for memory bandwidth per TF?