Skip to content

Conversation

Sibylau
Copy link
Contributor

@Sibylau Sibylau commented Sep 4, 2025

[Benchmark] add addmm example and test

  • Add addmm Helion example
  • Benchmark addmm example with Tritonbench
  • Add a test to check the Triton code generation

For the Triton kernel benchmarking issue #234.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Sep 4, 2025
@Sibylau Sibylau requested review from oulgen and yf225 September 4, 2025 00:54
{"B": 4, "T": 512, "v_range": "10,15"}
if os.environ.get("HELION_DEV_LOW_VRAM", "0") == "1"
else {}
),
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@@ -0,0 +1,83 @@
"""
Copy link
Contributor

@yf225 yf225 Sep 4, 2025

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)

Copy link
Contributor Author

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.

@Sibylau Sibylau requested a review from yf225 September 4, 2025 19:18
Copy link
Contributor

@yf225 yf225 left a comment

Choose a reason for hiding this comment

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

Thanks @Sibylau !

@Sibylau Sibylau merged commit 548d1d0 into main Sep 4, 2025
9 of 13 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 Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants