hanzo 0.2.7__py3-none-any.whl → 0.2.8__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/__init__.py
CHANGED
hanzo/cli.py
CHANGED
|
@@ -12,7 +12,7 @@ from .interactive.repl import HanzoREPL
|
|
|
12
12
|
from .utils.output import console
|
|
13
13
|
|
|
14
14
|
# Version
|
|
15
|
-
__version__ = "0.2.
|
|
15
|
+
__version__ = "0.2.8"
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
@click.group(invoke_without_command=True)
|
|
@@ -88,6 +88,18 @@ def serve(ctx, name: str, port: int):
|
|
|
88
88
|
asyncio.run(cluster.start_cluster(ctx, name, port))
|
|
89
89
|
|
|
90
90
|
|
|
91
|
+
@cli.command()
|
|
92
|
+
@click.option("--name", "-n", help="Node name (auto-generated if not provided)")
|
|
93
|
+
@click.option("--port", "-p", default=52415, help="Node port (default: 52415 for hanzo/net)")
|
|
94
|
+
@click.option("--network", default="local", help="Network to join (mainnet/testnet/local)")
|
|
95
|
+
@click.option("--models", "-m", multiple=True, help="Models to serve (e.g., llama-3.2-3b)")
|
|
96
|
+
@click.option("--max-jobs", type=int, default=10, help="Max concurrent jobs")
|
|
97
|
+
@click.pass_context
|
|
98
|
+
def net(ctx, name: str, port: int, network: str, models: tuple, max_jobs: int):
|
|
99
|
+
"""Start the Hanzo Network distributed AI compute node."""
|
|
100
|
+
asyncio.run(start_compute_node(ctx, name, port, network, models, max_jobs))
|
|
101
|
+
|
|
102
|
+
|
|
91
103
|
@cli.command()
|
|
92
104
|
@click.option("--name", "-n", help="Node name (auto-generated if not provided)")
|
|
93
105
|
@click.option("--port", "-p", default=52415, help="Node port (default: 52415 for hanzo/net)")
|
|
@@ -96,7 +108,7 @@ def serve(ctx, name: str, port: int):
|
|
|
96
108
|
@click.option("--max-jobs", type=int, default=10, help="Max concurrent jobs")
|
|
97
109
|
@click.pass_context
|
|
98
110
|
def node(ctx, name: str, port: int, network: str, models: tuple, max_jobs: int):
|
|
99
|
-
"""Start as a compute node for the Hanzo network
|
|
111
|
+
"""Alias for 'hanzo net' - Start as a compute node for the Hanzo network."""
|
|
100
112
|
asyncio.run(start_compute_node(ctx, name, port, network, models, max_jobs))
|
|
101
113
|
|
|
102
114
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hanzo
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.8
|
|
4
4
|
Summary: Hanzo AI - Complete AI Infrastructure Platform with CLI, Router, MCP, and Agent Runtime
|
|
5
5
|
Project-URL: Homepage, https://hanzo.ai
|
|
6
6
|
Project-URL: Repository, https://github.com/hanzoai/python-sdk
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
hanzo/__init__.py,sha256=
|
|
1
|
+
hanzo/__init__.py,sha256=b-nqjBd-i3gjDB2Rar9kyXrUC4MRBvnCZR9NUuy3fH0,168
|
|
2
2
|
hanzo/__main__.py,sha256=qRjwG8-7MHPOy3czoyDP9VK1GhEaJJsVeZcz2AG9NV0,104
|
|
3
|
-
hanzo/cli.py,sha256=
|
|
3
|
+
hanzo/cli.py,sha256=qn5Jtjrk3_6qJYPWxV3ys3nvpwa2e-0t9ZiVvdDCo7M,9605
|
|
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,7 +22,7 @@ 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.2.
|
|
26
|
-
hanzo-0.2.
|
|
27
|
-
hanzo-0.2.
|
|
28
|
-
hanzo-0.2.
|
|
25
|
+
hanzo-0.2.8.dist-info/METADATA,sha256=p34fg7ZSJVFyTGsqvr17QDpwjKa20Ph5GtFeTErWWm8,4347
|
|
26
|
+
hanzo-0.2.8.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
27
|
+
hanzo-0.2.8.dist-info/entry_points.txt,sha256=pQLPMdqOXU_2BfTcMDhkqTCDNk_H6ApvYuSaWcuQOOw,171
|
|
28
|
+
hanzo-0.2.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|