[Autotuner] Auto-checkpoint feature and ability to resume from checkpoint#1348
Closed
[Autotuner] Auto-checkpoint feature and ability to resume from checkpoint#1348
Conversation
2cc8c6c to
276b702
Compare
7584ee4 to
b1b51ee
Compare
b3bdc8b to
e21b569
Compare
b1c3e82 to
da4b791
Compare
yf225
commented
Jan 28, 2026
helion/autotuner/base_search.py
Outdated
| return | ||
| self._current_generation = generation | ||
| if generation > 0: | ||
| self.save_checkpoint() |
Contributor
Author
There was a problem hiding this comment.
This currently always save a checkpoint per generation - we could also add a setting to control this
da4b791 to
8d0009f
Compare
b1d6961 to
0104696
Compare
v0i0
reviewed
Feb 27, 2026
docs/api/settings.md
Outdated
| | ``HELION_AUTOTUNE_PROGRESS_BAR`` | ``autotune_progress_bar`` | Enable or disable the progress bar UI during autotuning. | | ||
| | ``HELION_AUTOTUNE_IGNORE_ERRORS`` | ``autotune_ignore_errors`` | Continue autotuning even when recoverable runtime errors occur. | | ||
| | ``HELION_AUTOTUNE_CONFIG_OVERRIDES`` | ``autotune_config_overrides`` | Supply JSON forcing particular autotuner config key/value pairs. | | ||
| | ``HELION_AUTOTUNE_CHECKPOINT_ID`` | ``autotune_checkpoint_id`` | Checkpoint ID for resuming autotuning from a previous checkpoint. | |
Contributor
There was a problem hiding this comment.
i feel like a better mechanism would be to have a var that is the target directory, which we'd both dump to and resume from.
it seems important that this is opt in like triton crash dump & like aot tuning directories, otherwise i'd worry we just accumulate trash somewhere.
bf5b5b5 to
672ac87
Compare
672ac87 to
f431366
Compare
Contributor
Author
|
Closing in favor of #1920 stack. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1330.