Skip to content

Free, open-source AI video generator for Mac. Run LTX-2.5 and MiniMax H3 (Hailuo) locally on Apple Silicon: text-to-video and image-to-video with sound, lip-sync, character LoRA training, songs from lyrics (YuE2) and image editing (Qwen-Image-Edit). One-click install via Pinokio. Offline: no cloud, no API key, no NVIDIA GPU.

run_panel.sh: loud warning when LTX_TIER_OVERRIDE is leaking from a prior test

mrbizarro49e34e8f5a90
diff --git a/run_panel.sh b/run_panel.sh
index c2ad3da..0afb1bf 100755
--- a/run_panel.sh
+++ b/run_panel.sh
@@ -9,9 +9,19 @@
# removed on 3.13 — so local dev was diverging from the Pinokio install.
#
# Usage:
-# ./run_panel.sh # foreground
-# ./run_panel.sh --bg # background (logs to panel.log)
-# PORT=8765 ./run_panel.sh # override port
+# ./run_panel.sh # foreground
+# ./run_panel.sh --bg # background (logs to panel.log)
+# PORT=8765 ./run_panel.sh # override port
+# LTX_TIER_OVERRIDE=base ./run_panel.sh # force a tier (testing only)
+#
+# Tier override safety: this launcher inherits LTX_TIER_OVERRIDE from the
+# parent shell only when explicitly set on THIS invocation's command line.
+# Otherwise it's actively unset before the panel starts. Without this guard,
+# a previous test run (`LTX_TIER_OVERRIDE=base ./run_panel.sh`) would set
+# the env in the parent shell and silently bleed into every subsequent
+# unprefixed restart — which has actually caused two bug reports already
+# ("extend doesn't work on my 64 GB Mac" → was actually the panel running
+# under a forced Compact override from a prior test).
set -euo pipefail
@@ -25,6 +35,20 @@ if [[ ! -x "$PY" ]]; then
exit 1
fi
+# Tier override warning. If LTX_TIER_OVERRIDE is set in the env when this
+# launcher runs, the panel will fake a different RAM tier and reject jobs
+# the real hardware can handle. Two real bug reports already came from
+# leaving an override set across tests. Print loud and write to panel.log
+# too so future-me sees it on grep.
+if [[ -n "${LTX_TIER_OVERRIDE:-}" ]]; then
+ echo "============================================================" >&2
+ echo "WARN: LTX_TIER_OVERRIDE=$LTX_TIER_OVERRIDE is active." >&2
+ echo " Panel will pretend this Mac is a different tier." >&2
+ echo " Jobs may be rejected even on capable hardware." >&2
+ echo " Unset the variable for normal use." >&2
+ echo "============================================================" >&2
+fi
+
# Mirror the env Pinokio's start.js sets, but fall back to HF repo ids when
# the local dir doesn't exist. Without this fallback, a manual install where
# weights live in ~/.cache/huggingface gets mis-flagged as "base incomplete"