Skip to content

Conversation

@fulvius31
Copy link
Contributor

While running internal benchmarks using TritonBench with Helion as a runner, I found it inconvenient to repeatedly edit benchmarks/run.py to add or tweak KERNEL_MAPPINGS / KERNEL_METRIC_MAPPINGS for new kernels I wanted to test.
This change keeps the current behavior unchanged by default, but adds an optional way to provide kernel mappings via a config file so users don’t need to modify run.py every time.

This PR adds a new optional CLI arg --kernel-config which points to a yaml or a json file that describe kernel_mappings, kernel_metric_mappings as per current run.py.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 21, 2025
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.

1 participant