Skip to content

Conversation

@shayne-fletcher
Copy link
Contributor

Differential Revision: D89568148

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

…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
Summary:

update monarch.config rest docs

Reviewed By: thedavekwon

Differential Revision: D89562135
Summary: adjust and re-enable codec max frame tests disabled by D89089836

Reviewed By: dulinriley

Differential Revision: D89568148
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