Commit cbe236f
committed
[hyperactor] make all variants of
Pull Request resolved: #1968
Building on the previous diff, separating out remote from local instantiation, this diff implements synchronous spawns throughout. This means we can always spawn an actor in a nonblocking way, regardless of context.
Spawns should also become infallible, instead relying on supervision to handle errors.
ghstack-source-id: 325278669
Differential Revision: [D87608082](https://our.internmc.facebook.com/intern/diff/D87608082/)
**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D87608082/)!spawn sync1 parent fa573bf commit cbe236f
File tree
27 files changed
+134
-240
lines changed- hyperactor_mesh
- examples
- src
- proc_mesh
- v1
- host_mesh
- hyperactor_multiprocess/src
- hyperactor
- example
- src
- test_utils
- test
- monarch_extension/src
- monarch_hyperactor/src
- code_sync
- v1
- monarch_tensor_worker/src
27 files changed
+134
-240
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
| 86 | + | |
| 87 | + | |
90 | 88 | | |
91 | 89 | | |
92 | 90 | | |
| |||
96 | 94 | | |
97 | 95 | | |
98 | 96 | | |
99 | | - | |
100 | 97 | | |
101 | 98 | | |
102 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
| 101 | + | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | | - | |
| 111 | + | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
| 263 | + | |
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| |||
792 | 792 | | |
793 | 793 | | |
794 | 794 | | |
795 | | - | |
| 795 | + | |
796 | 796 | | |
797 | 797 | | |
798 | 798 | | |
| |||
808 | 808 | | |
809 | 809 | | |
810 | 810 | | |
811 | | - | |
812 | | - | |
813 | | - | |
814 | | - | |
815 | | - | |
816 | | - | |
817 | | - | |
818 | | - | |
| 811 | + | |
| 812 | + | |
819 | 813 | | |
820 | 814 | | |
821 | 815 | | |
| |||
842 | 836 | | |
843 | 837 | | |
844 | 838 | | |
845 | | - | |
846 | | - | |
847 | | - | |
848 | | - | |
849 | | - | |
850 | | - | |
851 | | - | |
852 | | - | |
| 839 | + | |
| 840 | + | |
853 | 841 | | |
854 | 842 | | |
855 | 843 | | |
| |||
895 | 883 | | |
896 | 884 | | |
897 | 885 | | |
898 | | - | |
| 886 | + | |
899 | 887 | | |
900 | 888 | | |
901 | 889 | | |
| |||
954 | 942 | | |
955 | 943 | | |
956 | 944 | | |
957 | | - | |
| 945 | + | |
958 | 946 | | |
959 | 947 | | |
960 | 948 | | |
| |||
1072 | 1060 | | |
1073 | 1061 | | |
1074 | 1062 | | |
1075 | | - | |
| 1063 | + | |
1076 | 1064 | | |
1077 | 1065 | | |
1078 | 1066 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1220 | 1220 | | |
1221 | 1221 | | |
1222 | 1222 | | |
1223 | | - | |
| 1223 | + | |
1224 | 1224 | | |
1225 | 1225 | | |
1226 | 1226 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3125 | 3125 | | |
3126 | 3126 | | |
3127 | 3127 | | |
3128 | | - | |
| 3128 | + | |
3129 | 3129 | | |
3130 | 3130 | | |
3131 | 3131 | | |
| |||
0 commit comments