feat(multitask): default tensorboard_clean=True when TensorBoard logging is enabled#199
Merged
Merged
Conversation
…ing is enabled When the config enables tensorboard_log and carries no explicit tensorboard_clean, SpotOptimStrategy now forwards tensorboard_clean=True so every search starts with a fresh dashboard (spotoptim >= 0.12.9 wipes the configured tensorboard_path itself). An explicit cfg.tensorboard_clean = False still wins, and the default is never injected when logging is off. Multi-task pipelines sharing one log directory should opt out or use per-task paths (documented). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Also refreshes the locked self-version after the 5.1.1 release. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Collaborator
Author
|
🎉 This PR is included in version 5.2.0-rc.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Collaborator
Author
|
🎉 This PR is included in version 5.2.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
Fresh dashboard per run: when the config enables
tensorboard_logand carries no explicittensorboard_clean,SpotOptimStrategynow forwardstensorboard_clean=True, so the configured log directory is wiped at search start and TensorBoard shows only the current run.cfg.tensorboard_clean = Falsestill wins; the default is never injected when logging is off.spotoptim>=0.12.9, wheretensorboard_cleantargets the configuredtensorboard_pathitself (before 0.12.9 it wiped an unrelated hardcodedruns/dir in the CWD — see fix(utils): clean the configured tensorboard_path, not only the runs/ dir spotoptim#90).spotoptim_intro.qmd).Verification: full suite 1168 passed, ruff clean, quartodoc build + interlinks OK, full
quarto render --no-cache42/42 OK; strategy + search tests re-run green against the released spotoptim 0.12.9.🤖 Generated with Claude Code