From 864da4f8a42d1474810396746dc5a097c573f1d9 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 20 Mar 2026 14:57:23 +0200 Subject: Add Pi VM launcher scripts --- snippets/hyperstack/.gitignore | 1 + snippets/hyperstack/README.md | 18 ++++++++++++++++++ snippets/hyperstack/pi-vm1 | 7 +++++++ snippets/hyperstack/pi-vm2 | 7 +++++++ 4 files changed, 33 insertions(+) create mode 100755 snippets/hyperstack/pi-vm1 create mode 100755 snippets/hyperstack/pi-vm2 (limited to 'snippets/hyperstack') diff --git a/snippets/hyperstack/.gitignore b/snippets/hyperstack/.gitignore index 452e01a..132d791 100644 --- a/snippets/hyperstack/.gitignore +++ b/snippets/hyperstack/.gitignore @@ -1,3 +1,4 @@ .bundle/ vendor/bundle/ .hyperstack-vm-state.json +.hyperstack-vm*-state.json* diff --git a/snippets/hyperstack/README.md b/snippets/hyperstack/README.md index 48f7a38..730b310 100644 --- a/snippets/hyperstack/README.md +++ b/snippets/hyperstack/README.md @@ -51,6 +51,24 @@ claude --model claude-opus-4-6-20260604 --dangerously-skip-permissions ruby hyperstack.rb delete ``` +## Using Pi + +Bring both VMs up first: + +```bash +ruby hyperstack.rb create-both +``` + +Then start one Pi session per terminal: + +```bash +./pi-vm1 +./pi-vm2 +``` + +These wrappers `cd` into this repo before launching Pi, so the project-local +settings in `.pi/settings.json` still apply. + ## Using Claude Code with vLLM WireGuard (`wg1`) must be active before connecting. diff --git a/snippets/hyperstack/pi-vm1 b/snippets/hyperstack/pi-vm1 new file mode 100755 index 0000000..a6f7937 --- /dev/null +++ b/snippets/hyperstack/pi-vm1 @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +set -euo pipefail + +script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) +cd "$script_dir" + +exec pi --model 'hyperstack1/cyankiwi/NVIDIA-Nemotron-3-Super-120B-A12B-AWQ-4bit' "$@" diff --git a/snippets/hyperstack/pi-vm2 b/snippets/hyperstack/pi-vm2 new file mode 100755 index 0000000..5f07e7d --- /dev/null +++ b/snippets/hyperstack/pi-vm2 @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +set -euo pipefail + +script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) +cd "$script_dir" + +exec pi --model 'hyperstack2/bullpoint/Qwen3-Coder-Next-AWQ-4bit' "$@" -- cgit v1.2.3