Skip to content

Add pct_achievable_gemm_tops and pct_achievable_mem_bw to fp8 roofline utils #2120

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions torchao/testing/float8/roofline_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,10 @@
"fp8_peak_tops": 2614e12,
# 5.3 TB per second
"peak_mem_bw_bytes_sec": 5.3e12,
# for now, copy over from H100
# TODO(future): run measurement on hardware
"pct_achievable_gemm_tops": 0.78,
# for now, copy over from H100
# TODO(future): run measurement on hardware
"pct_achievable_mem_bw": 0.92,
# based on microbenchmark (fw + bw gemms) with M,K,N = 3 * (8192,)
"pct_achievable_gemm_tops": 0.47,
# based on microbenchmark with pointwise triton kernel with large inputs
"pct_achievable_mem_bw": 0.72,
},
# TODO(future): more GPU names
}
Expand Down
Loading