Commit d761e0a
committed
[hyperactor] mesh: v0 shims for v1 meshes
Pull Request resolved: #1453
In this change, we implement:
```
From<v1::ProcMeshRef> for ProcMesh
```
and
```
From<v1::ActorMeshRef<A>> for RootActorMesh<A>
```
This will allow us to temporarily use v1 instances through a v0 API, while we transition the usage sites.
ghstack-source-id: 314644713
Differential Revision: [D84081478](https://our.internmc.facebook.com/intern/diff/D84081478/)
**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D84081478/)!1 parent 9754552 commit d761e0a
File tree
11 files changed
+643
-206
lines changed- hyperactor_mesh/src
- alloc
- v1
- monarch_hyperactor/src
- code_sync
- ndslice/src
11 files changed
+643
-206
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| 202 | + | |
202 | 203 | | |
203 | 204 | | |
204 | 205 | | |
205 | 206 | | |
206 | | - | |
| 207 | + | |
| 208 | + | |
207 | 209 | | |
208 | 210 | | |
209 | 211 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
830 | 830 | | |
831 | 831 | | |
832 | 832 | | |
833 | | - | |
834 | | - | |
835 | | - | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
836 | 836 | | |
837 | 837 | | |
838 | 838 | | |
| |||
968 | 968 | | |
969 | 969 | | |
970 | 970 | | |
971 | | - | |
| 971 | + | |
972 | 972 | | |
973 | 973 | | |
974 | 974 | | |
| |||
1032 | 1032 | | |
1033 | 1033 | | |
1034 | 1034 | | |
1035 | | - | |
| 1035 | + | |
1036 | 1036 | | |
1037 | 1037 | | |
1038 | 1038 | | |
| |||
0 commit comments