Skip to content

feat: add AMD Instinct peak FLOPS for MFU on ROCm#262

Open
Abhishek21g wants to merge 1 commit into
PrimeIntellect-ai:mainfrom
Abhishek21g:abhishek/rocm-peak-flops-mfu
Open

feat: add AMD Instinct peak FLOPS for MFU on ROCm#262
Abhishek21g wants to merge 1 commit into
PrimeIntellect-ai:mainfrom
Abhishek21g:abhishek/rocm-peak-flops-mfu

Conversation

@Abhishek21g

Copy link
Copy Markdown

Problem

get_peak_flops() only recognizes A100/H100. On ROCm hosts (MI250/MI300), MFU denominators default to A100 (312 TFLOPS) and reported utilization is wrong.

Fix

Add published dense matrix BF16/FP16 peak FLOPS for MI100, MI210, MI250, and MI300 in zeroband/utils/__init__.py.

Complements #255 (ROCm support) — no overlap with training-path changes.

Verification

uv run pytest tests/test_peak_flops.py -v

get_peak_flops() fell back to A100 for MI250/MI300, skewing MFU on
ROCm hosts. Add published peak BF16/FP16 matrix FLOPS for MI100,
MI210, MI250, and MI300 with unit tests.

Complements PrimeIntellect-ai#255 (ROCm support).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant