summaryrefslogtreecommitdiff
path: root/snippets/hyperstack
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-20 14:57:23 +0200
committerPaul Buetow <paul@buetow.org>2026-03-20 14:57:23 +0200
commit864da4f8a42d1474810396746dc5a097c573f1d9 (patch)
tree2650dfdcdd6204be6d7af0ccb088923a2e1e15c6 /snippets/hyperstack
parentff72f14ce6919d0731ddb5be00283c365ce2247d (diff)
Add Pi VM launcher scripts
Diffstat (limited to 'snippets/hyperstack')
-rw-r--r--snippets/hyperstack/.gitignore1
-rw-r--r--snippets/hyperstack/README.md18
-rwxr-xr-xsnippets/hyperstack/pi-vm17
-rwxr-xr-xsnippets/hyperstack/pi-vm27
4 files changed, 33 insertions, 0 deletions
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' "$@"