Skip to content

Conversation

@shayne-fletcher
Copy link
Contributor

Differential Revision: D89555029

@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 D89555029.

shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Dec 19, 2025
…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

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
shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Dec 19, 2025
…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
shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Dec 19, 2025
…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
shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Dec 19, 2025
…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
shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Dec 19, 2025
…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
shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Dec 19, 2025
…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
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