Skip to content

Conversation

@shayne-fletcher
Copy link
Contributor

Differential Revision: D89562135

…tencies (meta-pytorch#2182)

Summary:

key change here is precedence: Env wins over ClientOverride. everything else is cleanup to make the code and docs say the same thing and to reduce the chance we "remember" the wrong order later. tests are updated to encode the new behavior.

Reviewed By: mariusae

Differential Revision: D89551496
Summary:

fill in a few missing tests

Reviewed By: colin2328

Differential Revision: D89553139
…ytorch#2184)

Summary:


this adds python-side config support for a couple of additional rust types. specifically, it introduces `PyEncoding` to bridge string values onto `hyperactor::data::Encoding`, and `PyPortRange` to bridge python `(start, end)` tuples or `"start..end"` strings onto `Range<u16>`. both are wired into `declare_py_config_type!` so they work with `monarch.configure(...)`, and the new tests cover parsing, validation, and round-tripping for the supported formats.

Differential Revision: D89555029
…ta-pytorch#2186)

Summary:

this wires a bunch of previously env-only `CONFIG` keys through the python configure path by giving them `py_name`s, updating the python wrapper + stubs to surface everything explicitly. the tests are expanded to systematically cover the new parameters (defaults, set/restore behavior, and basic type error cases), plus validation for encodings and port-range parsing.

Differential Revision: D89560177
Differential Revision: D89562135
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Dec 19, 2025
@meta-codesync
Copy link

meta-codesync bot commented Dec 19, 2025

@shayne-fletcher has exported this pull request. If you are a Meta employee, you can view the originating Diff in D89562135.

shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Dec 19, 2025
Summary:

update monarch.config rest docs

Differential Revision: D89562135
shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Dec 19, 2025
Summary:

update monarch.config rest docs

Reviewed By: thedavekwon

Differential Revision: D89562135
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant