torchmonarch-nightly 2025.9.9__cp313-cp313-manylinux2014_x86_64.whl → 2025.9.11__cp313-cp313-manylinux2014_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- monarch/__init__.py +7 -0
- monarch/_rust_bindings.so +0 -0
- monarch/_src/actor/actor_mesh.py +1 -1
- monarch/_src/actor/bootstrap_main.py +7 -2
- monarch/_src/actor/debugger/breakpoint.py +30 -0
- monarch/_src/actor/debugger/debug_command.py +183 -0
- monarch/_src/actor/debugger/debug_controller.py +246 -0
- monarch/_src/actor/debugger/debug_io.py +68 -0
- monarch/_src/actor/debugger/debug_session.py +249 -0
- monarch/_src/actor/debugger/pdb_wrapper.py +1 -1
- monarch/_src/actor/host_mesh.py +10 -2
- monarch/_src/actor/pickle.py +4 -10
- monarch/_src/actor/proc_mesh.py +80 -19
- monarch/_src/tensor_engine/rdma.py +2 -0
- monarch/actor/__init__.py +1 -1
- monarch/gradient/_gradient_generator.so +0 -0
- monarch/monarch_controller +0 -0
- monarch/tools/cli.py +26 -0
- monarch/tools/commands.py +15 -0
- monarch/tools/debug_env.py +34 -0
- monarch/tools/mesh_spec.py +2 -0
- tests/test_allocator.py +18 -9
- tests/test_debugger.py +29 -25
- tests/test_mock_cuda.py +11 -3
- torchmonarch_nightly-2025.9.11.data/scripts/process_allocator +0 -0
- {torchmonarch_nightly-2025.9.9.dist-info → torchmonarch_nightly-2025.9.11.dist-info}/METADATA +1 -1
- {torchmonarch_nightly-2025.9.9.dist-info → torchmonarch_nightly-2025.9.11.dist-info}/RECORD +31 -29
- monarch/_src/actor/debugger/debugger.py +0 -737
- monarch/_src/debug_cli/__init__.py +0 -7
- monarch/_src/debug_cli/debug_cli.py +0 -43
- monarch/debug_cli/__init__.py +0 -7
- monarch/debug_cli/__main__.py +0 -12
- {torchmonarch_nightly-2025.9.9.dist-info → torchmonarch_nightly-2025.9.11.dist-info}/WHEEL +0 -0
- {torchmonarch_nightly-2025.9.9.dist-info → torchmonarch_nightly-2025.9.11.dist-info}/entry_points.txt +0 -0
- {torchmonarch_nightly-2025.9.9.dist-info → torchmonarch_nightly-2025.9.11.dist-info}/licenses/LICENSE +0 -0
- {torchmonarch_nightly-2025.9.9.dist-info → torchmonarch_nightly-2025.9.11.dist-info}/top_level.txt +0 -0
@@ -1,43 +0,0 @@
|
|
1
|
-
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
2
|
-
# All rights reserved.
|
3
|
-
#
|
4
|
-
# This source code is licensed under the BSD-style license found in the
|
5
|
-
# LICENSE file in the root directory of this source tree.
|
6
|
-
|
7
|
-
# pyre-unsafe
|
8
|
-
import argparse
|
9
|
-
import logging
|
10
|
-
import subprocess
|
11
|
-
|
12
|
-
from monarch._src.actor.debugger.debugger import (
|
13
|
-
_get_debug_server_host,
|
14
|
-
_get_debug_server_port,
|
15
|
-
)
|
16
|
-
|
17
|
-
|
18
|
-
def run():
|
19
|
-
parser = argparse.ArgumentParser(description="Monarch Debug CLI")
|
20
|
-
parser.add_argument(
|
21
|
-
"--host",
|
22
|
-
type=str,
|
23
|
-
default=_get_debug_server_host(),
|
24
|
-
help="Hostname where the debug server is running",
|
25
|
-
)
|
26
|
-
parser.add_argument(
|
27
|
-
"--port",
|
28
|
-
type=str,
|
29
|
-
default=_get_debug_server_port(),
|
30
|
-
help="Port that the debug server is listening on",
|
31
|
-
)
|
32
|
-
args = parser.parse_args()
|
33
|
-
|
34
|
-
for cmd in ["ncat", "nc", "netcat"]:
|
35
|
-
try:
|
36
|
-
subprocess.run([cmd, f"{args.host}", f"{args.port}"], check=True)
|
37
|
-
return
|
38
|
-
except FileNotFoundError:
|
39
|
-
pass
|
40
|
-
|
41
|
-
logging.error(
|
42
|
-
"Could not find a suitable netcat binary. Please install one and try again."
|
43
|
-
)
|
monarch/debug_cli/__init__.py
DELETED
monarch/debug_cli/__main__.py
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
2
|
-
# All rights reserved.
|
3
|
-
#
|
4
|
-
# This source code is licensed under the BSD-style license found in the
|
5
|
-
# LICENSE file in the root directory of this source tree.
|
6
|
-
|
7
|
-
# pyre-unsafe
|
8
|
-
from monarch._src.debug_cli import debug_cli
|
9
|
-
|
10
|
-
|
11
|
-
if __name__ == "__main__":
|
12
|
-
debug_cli.run()
|
File without changes
|
File without changes
|
File without changes
|
{torchmonarch_nightly-2025.9.9.dist-info → torchmonarch_nightly-2025.9.11.dist-info}/top_level.txt
RENAMED
File without changes
|