mli / transformers-benchmarks Goto Github PK
View Code? Open in Web Editor NEWreal Transformer TeraFLOPS on various GPUs
License: Apache License 2.0
real Transformer TeraFLOPS on various GPUs
License: Apache License 2.0
请问沐神:
参考techpowerup数据, 3090ti 的单精度/半精度数据与表格里展示的不太一样
我在 RTX 4090 工作站上运行 banchmark 程序,取得了异常高的总线带宽数据:
Pytorch version : 1.14.0a0+44dac51
CUDA version : 12.0
GPU : NVIDIA GeForce RTX 4090
Matrix Multiplication:
n=128 n=512 n=2048 n=8192
torch.float32 1.048 29.653 82.788 86.676
torch.float16 1.304 46.890 167.112 158.596
Memory Bandwidth:
65536 262144 1048576 4194304
TFLOPS 0.025 0.099 0.324 0.484
GB/s 196.343 792.595 2590.594 3868.374
可以看到显存带宽为 3868 GB/s,而我查到的 4090 理论显存带宽为 1000 GB/s 左右。
而我在 A800 服务器上运行 banchmark 程序的结果是正常的:
Pytorch version : 2.0.0a0+1767026
CUDA version : 12.1
GPU : NVIDIA A800 80GB PCIe
Matrix Multiplication:
n=128 n=512 n=2048 n=8192
torch.float32 0.464 25.947 82.386 105.973
torch.float16 0.343 31.456 192.540 215.333
Memory Bandwidth:
65536 262144 1048576 4194304
TFLOPS 0.009 0.036 0.143 0.216
GB/s 72.026 288.159 1143.973 1727.486
显存带宽 1727 GB/s 低于理论上限 1935 GB/s
这导致 4090 的显存带宽远高于 A800,在我的实际训练中 4090也取得了更快的训练速度。
请问 4090 这样高的带宽是正常的吗?如果不正常的话有什么可能的原因?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.