hanzo 0.3.5__py3-none-any.whl → 0.3.6__py3-none-any.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.
Potentially problematic release.
This version of hanzo might be problematic. Click here for more details.
- hanzo/cli.py +4 -4
- {hanzo-0.3.5.dist-info → hanzo-0.3.6.dist-info}/METADATA +1 -1
- {hanzo-0.3.5.dist-info → hanzo-0.3.6.dist-info}/RECORD +6 -6
- {hanzo-0.3.5.dist-info → hanzo-0.3.6.dist-info}/WHEEL +0 -0
- {hanzo-0.3.5.dist-info → hanzo-0.3.6.dist-info}/entry_points.txt +0 -0
- {hanzo-0.3.5.dist-info → hanzo-0.3.6.dist-info}/top_level.txt +0 -0
hanzo/cli.py
CHANGED
|
@@ -97,7 +97,7 @@ def serve(ctx, name: str, port: int):
|
|
|
97
97
|
@click.pass_context
|
|
98
98
|
def net(ctx, name: str, port: int, network: str, models: tuple, max_jobs: int):
|
|
99
99
|
"""Start the Hanzo Network distributed AI compute node."""
|
|
100
|
-
|
|
100
|
+
start_compute_node(ctx, name, port, network, models, max_jobs)
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
@cli.command()
|
|
@@ -109,10 +109,10 @@ def net(ctx, name: str, port: int, network: str, models: tuple, max_jobs: int):
|
|
|
109
109
|
@click.pass_context
|
|
110
110
|
def node(ctx, name: str, port: int, network: str, models: tuple, max_jobs: int):
|
|
111
111
|
"""Alias for 'hanzo net' - Start as a compute node for the Hanzo network."""
|
|
112
|
-
|
|
112
|
+
start_compute_node(ctx, name, port, network, models, max_jobs)
|
|
113
113
|
|
|
114
114
|
|
|
115
|
-
|
|
115
|
+
def start_compute_node(ctx, name: str = None, port: int = 52415,
|
|
116
116
|
network: str = "mainnet", models: tuple = None,
|
|
117
117
|
max_jobs: int = 10):
|
|
118
118
|
"""Start this instance as a compute node using hanzo/net."""
|
|
@@ -174,7 +174,7 @@ async def start_compute_node(ctx, name: str = None, port: int = 52415,
|
|
|
174
174
|
console.print("\nPress Ctrl+C to stop\n")
|
|
175
175
|
|
|
176
176
|
# Run net
|
|
177
|
-
|
|
177
|
+
net_run()
|
|
178
178
|
finally:
|
|
179
179
|
sys.argv = original_argv
|
|
180
180
|
else:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
hanzo/__init__.py,sha256=_3gjqIqXV4OeOilSunCNFmQ1SxhRMn_0bZINRXuoWwI,168
|
|
2
2
|
hanzo/__main__.py,sha256=qRjwG8-7MHPOy3czoyDP9VK1GhEaJJsVeZcz2AG9NV0,104
|
|
3
|
-
hanzo/cli.py,sha256=
|
|
3
|
+
hanzo/cli.py,sha256=RJ_ZVoqdXAnBabjOmmB5TbMb-muTmayevUfFTrhRfXk,10504
|
|
4
4
|
hanzo/mcp_server.py,sha256=FBqcXhaJgV8_9O83H3fUy_pv4cV1707XCYm7FXaJeWY,422
|
|
5
5
|
hanzo/repl.py,sha256=sC7EXbIBn7Oxnmzqey6neAg5-116gfpmrF0YFDYrhAQ,1014
|
|
6
6
|
hanzo/commands/__init__.py,sha256=vXfIgioA6eakIYEN5ff5k_5BqOYQCJggD_MW40gb56w,138
|
|
@@ -22,8 +22,8 @@ hanzo/utils/__init__.py,sha256=zmCH4YxefrpWmR-netV99UeECqrXjkKbi3ZjbcD79dw,68
|
|
|
22
22
|
hanzo/utils/config.py,sha256=RU27eiSxGWAT9fI5-CjRdEJZEeT_xjMxjlMVeKC1gMg,4830
|
|
23
23
|
hanzo/utils/net_check.py,sha256=WDElDu19MYN3qs7y_DbIpcnVsxiMCgg2CTI-48A15vE,3066
|
|
24
24
|
hanzo/utils/output.py,sha256=lROF8RDOkck7ySt1kiTlVlHZqx1E0B-PqcJc78ZHYOs,2694
|
|
25
|
-
hanzo-0.3.
|
|
26
|
-
hanzo-0.3.
|
|
27
|
-
hanzo-0.3.
|
|
28
|
-
hanzo-0.3.
|
|
29
|
-
hanzo-0.3.
|
|
25
|
+
hanzo-0.3.6.dist-info/METADATA,sha256=0Pj75UY2q3Ods5GhDt6TXUgh8LWJHXUeNWHWH7X2_eg,2035
|
|
26
|
+
hanzo-0.3.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
27
|
+
hanzo-0.3.6.dist-info/entry_points.txt,sha256=MkIfUVPd60IM8Se318MHpOLs4UN7LFVDKNzKuOsrvxM,41
|
|
28
|
+
hanzo-0.3.6.dist-info/top_level.txt,sha256=HZaVsynzw0H1KJfoZXqeQo7C4gmULwxI8o05pUKR3hA,6
|
|
29
|
+
hanzo-0.3.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|