Skip to content

Automation foundation model for tiny devices: 2-bit, 8-29 MB, tool calls, ASR, structured extraction and embeddings on phones, wearables, smart homes, robots, cars and microcontrollers.

update needle

HenryNdubuakuaad537dfd4a0
diff --git a/src/cli.py b/src/cli.py
index 15a909e..37eff3a 100644
--- a/src/cli.py
+++ b/src/cli.py
@@ -108,6 +108,8 @@ def main():
tp.add_argument("--type", dest="accel_type", type=str, default="v6e-8")
tp.add_argument("--version", type=str, default=None,
help="Software version (auto-detected from --type if omitted)")
+ tp.add_argument("--disk-size", type=int, default=1000,
+ help="Data disk size in GB (default: 1000)")
tp = tpu_sub.add_parser("connect", add_help=False)
tp.add_argument("name", type=str)
diff --git a/src/tpu.py b/src/tpu.py
index 6ec3691..948f1ef 100644
--- a/src/tpu.py
+++ b/src/tpu.py
@@ -181,6 +181,7 @@ def tpu_create(args):
"--zone", zone,
"--accelerator-type", args.accel_type,
"--version", version,
+ "--data-disk-size", str(args.disk_size),
"--project", PROJECT],
check=False, capture=True,
)