Skip to content

Commit de88d6a

Browse files
zdevitometa-codesync[bot]
authored andcommitted
Don't print <Shared ...> for a proc mesh (meta-pytorch#1726)
Summary: Pull Request resolved: meta-pytorch#1726 bit rotted over time, I think.... ghstack-source-id: 320793488 Reviewed By: samlurye, mariusae Differential Revision: D85977155 fbshipit-source-id: acedfebd3a664176ca7b415611d48879fe082791
1 parent e68f0ee commit de88d6a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

python/monarch/_src/actor/v1/proc_mesh.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -288,12 +288,6 @@ async def task(
288288

289289
return pm
290290

291-
def __repr__(self) -> str:
292-
return repr(self._proc_mesh)
293-
294-
def __str__(self) -> str:
295-
return str(self._proc_mesh)
296-
297291
def _spawn_nonblocking(
298292
self, name: str, Class: Type[TActor], *args: Any, **kwargs: Any
299293
) -> TActor:

0 commit comments

Comments
 (0)