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

Get autotune configs #3843

Open
Luke20000429 opened this issue May 5, 2024 · 2 comments
Open

Get autotune configs #3843

Luke20000429 opened this issue May 5, 2024 · 2 comments

Comments

@Luke20000429
Copy link

Luke20000429 commented May 5, 2024

The autotune feature is great but takes time in the first several rounds.
How to get the dictionary of autotune results after running a few cycles? In that way, I can hardcode the config choice in the release version.

@ThomasRaoux
Copy link
Collaborator

you can set env var: TRITON_PRINT_AUTOTUNING=1 or you can also do print(kernl.best_config) after running auto tuning

@Luke20000429
Copy link
Author

Luke20000429 commented May 13, 2024

If I've known the best configs after autotune, is there any way to save the dict of configurations so that I can load that directly in the next time? Using triton.heuristics can specify the meta data, but how to specify num_stages num_warps etc.?

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

No branches or pull requests

2 participants