Add RunnerConfig typed configuration infrastructure#5131
Open
Cesar-Cardoso wants to merge 2 commits intofacebook:mainfrom
Open
Add RunnerConfig typed configuration infrastructure#5131Cesar-Cardoso wants to merge 2 commits intofacebook:mainfrom
Cesar-Cardoso wants to merge 2 commits intofacebook:mainfrom
Conversation
Summary: Add UNSET sentinel class in ax/utils/common/sentinel.py for distinguishing "not provided" from None in runner config updates Reviewed By: andycylmeta Differential Revision: D97988143
Summary: Introduce `RunnerConfig` base class in `runner.py` with nested `SearchSpaceUpdateArguments` and `RunnerUpdateArguments` frozen dataclasses, and a `config_type` ClassVar on `Runner` so each runner subclass can declare its config type. Reviewed By: andycylmeta Differential Revision: D99150292
|
@Cesar-Cardoso has exported this pull request. If you are a Meta employee, you can view the originating Diff in D99150292. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5131 +/- ##
==========================================
- Coverage 96.40% 96.40% -0.01%
==========================================
Files 613 614 +1
Lines 68171 68184 +13
==========================================
+ Hits 65721 65730 +9
- Misses 2450 2454 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Cesar-Cardoso
added a commit
to Cesar-Cardoso/Ax
that referenced
this pull request
Apr 3, 2026
Summary: Introduce `RunnerConfig` base class in `runner.py` with nested `SearchSpaceUpdateArguments` and `RunnerUpdateArguments` frozen dataclasses, and a `config_type` ClassVar on `Runner` so each runner subclass can declare its config type. Reviewed By: andycylmeta Differential Revision: D99150292
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.
Summary: Introduce
RunnerConfigbase class inrunner.pywith nestedSearchSpaceUpdateArgumentsandRunnerUpdateArgumentsfrozen dataclasses, and aconfig_typeClassVar onRunnerso each runner subclass can declare its config type.Reviewed By: andycylmeta
Differential Revision: D99150292