Skip to content

[1/x] mx roofline: make the script work on NVIDIA B200 #1778

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

Merged
merged 3 commits into from
Feb 27, 2025
Merged

Conversation

vkuzo
Copy link
Contributor

@vkuzo vkuzo commented Feb 25, 2025

Summary:

Makes the roofline estimation script work on NVIDIA B200:

  1. skip rowwise scaling (does not work yet on B200)
  2. add proper values for peak tensor core flops and peak memory
    bandwidth for B200.

This script needs a lot of future improvements to be useful, will do in a stack.

Test Plan:

python benchmarks/float8/float8_roofline.py ~/local/tmp/20250225_test.csv

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
@vkuzo
Copy link
Contributor Author

vkuzo commented Feb 25, 2025

Copy link

pytorch-bot bot commented Feb 25, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/1778

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 73eec2e with merge base 1ab1b77 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

vkuzo added a commit that referenced this pull request Feb 25, 2025
Summary:

Makes the roofline estimation script work on NVIDIA B200:
1. skip rowwise scaling (does not work yet on B200)
2. add proper values for peak tensor core flops and peak memory
   bandwidth for B200.

This script needs a lot of future improvements to be useful, will do in a stack.

Test Plan:

```
python benchmarks/float8/float8_roofline.py ~/local/tmp/20250225_test.csv
```

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: 3c9b1cd
ghstack-comment-id: 2683396978
Pull Request resolved: #1778
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 25, 2025
@vkuzo vkuzo added the topic: not user facing Use this tag if you don't want this PR to show up in release notes label Feb 25, 2025
[ghstack-poisoned]
[ghstack-poisoned]
@vkuzo vkuzo merged commit c788ee7 into main Feb 27, 2025
47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. topic: not user facing Use this tag if you don't want this PR to show up in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants