Skip to content
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

[CI] Add new shape and with/without ukernel for benchmark tracking #909

Merged
merged 3 commits into from
Nov 21, 2024

Conversation

newling
Copy link
Contributor

@newling newling commented Nov 18, 2024

Now prints performance numbers for shapes

(M, N, K) = (512, 512, 4096) and (512, 4096, 512) and (4096, 512, 512)

with and without ukernels. Numbers with ukernels are interesting, take a look in CI, different gain with ukernel for the different shapes.

But looks like there's some improvement we can make on the vectorization of matmul front.

Comment on lines 1028 to 1066
512,
512,
4096,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be M == 512, N == 4096, K == 512 to correspond to the problem size we're tracking.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please tell me all the sizes we're tracking (sorry I lost the link to the doc again). I'd like to make this the official source of the tracker.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

M == 512, N == 4096, K == 512
M == 4096, N == 512, K == 512

Copy link
Contributor

@yzhang93 yzhang93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any idea of the windows failure?

build_tools/ci/cpu_comparison/run.py Outdated Show resolved Hide resolved
@newling
Copy link
Contributor Author

newling commented Nov 19, 2024

Any idea of the windows failure?

Yes I'm 90% sure it'll be fixed after rebasing on #911 (windows + ukernel = doesn't work)

@newling newling changed the title [CI] Add ukernel m=n=512 k=4096 bf16 to benchmark suite [CI] Add new shape and with/without ukernel for benchmark tracking Nov 21, 2024
Copy link
Collaborator

@jtuyls jtuyls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Great to have these shapes benchmarked on every commit!

@jtuyls jtuyls merged commit 59d991e into nod-ai:main Nov 21, 2024
6 checks passed
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.

3 participants