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

how to dump kernel generated by mirage and reuse for next time directly? #159

Open
MichoChan opened this issue Dec 30, 2024 · 1 comment

Comments

@MichoChan
Copy link

No description provided.

@wmdi
Copy link
Collaborator

wmdi commented Jan 1, 2025

You can specify the checkpoint file name using the previous_checkpoint parameter in KNGraph.superoptimize. If the file does not exist, the Mirage generator will create it and save the generated mugraphs. If the file exists, Mirage will skip the generation step and reuse the mugraphs stored in the checkpoint file.

Refer to the scripts in the benchmark directory for usage examples.

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