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.

updates

HenryNdubuaku765bb7a4bb07
diff --git a/src/cli.py b/src/cli.py
index 49a5a12..a13f53d 100644
--- a/src/cli.py
+++ b/src/cli.py
@@ -54,7 +54,7 @@ HELP = """
│ │
│ tpu │
│ create NAME Create TPU (auto-finds zone) │
- │ --type STR Accelerator type (default: v6e-4) │
+ │ --type STR Accelerator type (default: v5litepod-4) │
│ --version STR TPU OS (auto-detected from --type) │
│ connect NAME SSH config + connect (auto-zone) │
│ claude NAME Install Claude Code on instance │
@@ -140,7 +140,7 @@ def main():
tp = tpu_sub.add_parser("create", add_help=False)
tp.add_argument("name", type=str)
- tp.add_argument("--type", dest="accel_type", type=str, default="v6e-4")
+ tp.add_argument("--type", dest="accel_type", type=str, default="v5litepod-4")
tp.add_argument("--version", type=str, default=None,
help="Software version (auto-detected from --type if omitted)")
diff --git a/src/tpu.py b/src/tpu.py
index c4f9155..c4f286e 100644
--- a/src/tpu.py
+++ b/src/tpu.py
@@ -44,6 +44,9 @@ ZONES = [
"us-south1-a", "us-south1-b",
"us-west1-a", "us-west1-b",
"us-west4-a",
+ "europe-west4-a",
+ "asia-northeast1-b",
+ "southamerica-west1-a",
]
TPU_HELP = """
@@ -135,29 +138,23 @@ def _check_tpu_health(name, zone):
def _collect_git_config():
- """Prompt for git user.name and user.email, with defaults from local git config."""
- local_name = ""
- local_email = ""
+ """Read git user.name and user.email from local git config."""
+ name = ""
+ email = ""
try:
- local_name = subprocess.run(
+ name = subprocess.run(
["git", "config", "user.name"], capture_output=True, text=True
).stdout.strip()
- local_email = subprocess.run(
+ email = subprocess.run(
["git", "config", "user.email"], capture_output=True, text=True
).stdout.strip()
except FileNotFoundError:
pass
- prompt_name = f" git user.name [{local_name}]: " if local_name else " git user.name: "
- prompt_email = f" git user.email [{local_email}]: " if local_email else " git user.email: "
-
- print("[tpu] Configure git for the instance:")
- name = input(prompt_name).strip() or local_name
- email = input(prompt_email).strip() or local_email
-
if not name or not email:
- print("[tpu] Skipping git config (name or email empty).")
+ print("[tpu] Skipping git config (user.name or user.email not set locally).")
return None, None
+ print(f"[tpu] Using git config: {name} <{email}>")
return name, email