-
Notifications
You must be signed in to change notification settings - Fork 36
[Benchmark] add addmm example and test #555
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
Conversation
benchmarks/run.py
Outdated
{"B": 4, "T": 512, "v_range": "10,15"} | ||
if os.environ.get("HELION_DEV_LOW_VRAM", "0") == "1" | ||
else {} | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
curious do we need these two changes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, it should be linter formatting change. Let me fix it.
examples/addmm.py
Outdated
@@ -0,0 +1,83 @@ | |||
""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe we should be able to directly use the kernel in matmul.py
which also does addmm
(and avoid needing to create a new file)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. I changed the addmm
benchmark to reuse matmul
Helion kernel example.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Sibylau !
[Benchmark] add addmm example and test
For the Triton kernel benchmarking issue #234.