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.

release(v3.6.2): fix the Pinokio 8 install hang (blank-window freeze)

mrbizarro3505c4f035ec
diff --git a/VERSION b/VERSION
index 9575d51..b727628 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-3.6.1
+3.6.2
diff --git a/download_q8.js b/download_q8.js
index cc4b2d8..7e061d6 100644
--- a/download_q8.js
+++ b/download_q8.js
@@ -31,7 +31,18 @@ module.exports = {
// with a warning if the package isn't on disk for any reason.
env: { HF_HUB_ENABLE_HF_TRANSFER: "1" },
message: [
- "hf download dgrauet/ltx-2.3-mlx-q8 --local-dir mlx_models/ltx-2.3-mlx-q8 --include '*.json' --include 'transformer-dev.safetensors' --include 'connector.safetensors' --include 'ltx-2.3-22b-distilled-lora-384.safetensors' --include 'vae_decoder.safetensors' --include 'vae_encoder.safetensors' --include 'audio_vae.safetensors' --include 'vocoder.safetensors' --include 'spatial_upscaler_x2_v1_1.safetensors'"
+ // One command over shell line-continuations: Pinokio 8.0.x hangs on
+ // very long single lines (#50), and trailing backslashes keep this a
+ // single hf invocation.
+ [
+ "hf download dgrauet/ltx-2.3-mlx-q8 --local-dir mlx_models/ltx-2.3-mlx-q8 \\",
+ " --include '*.json' --include 'transformer-dev.safetensors' \\",
+ " --include 'connector.safetensors' \\",
+ " --include 'ltx-2.3-22b-distilled-lora-384.safetensors' \\",
+ " --include 'vae_decoder.safetensors' --include 'vae_encoder.safetensors' \\",
+ " --include 'audio_vae.safetensors' --include 'vocoder.safetensors' \\",
+ " --include 'spatial_upscaler_x2_v1_1.safetensors'",
+ ].join("\n")
]
}
},
diff --git a/install.js b/install.js
index c7dbb0c..f995272 100644
--- a/install.js
+++ b/install.js
@@ -206,7 +206,27 @@ module.exports = {
// macOS major < 14. If sw_vers is missing, unparseable, or non-numeric
// for any reason, we PROCEED — a preflight that can't read the version
// must never be the thing that bricks an otherwise-fine install.
- "MACOS_VER=$(sw_vers -productVersion 2>/dev/null); MACOS_MAJOR=$(echo \"$MACOS_VER\" | cut -d. -f1); if echo \"$MACOS_MAJOR\" | grep -qE '^[0-9]+$' && [ \"$MACOS_MAJOR\" -lt 14 ]; then echo '=================================================================='; echo \"PHOSPHENE CANNOT INSTALL ON macOS $MACOS_VER\"; echo 'Phosphene needs macOS 14 (Sonoma) or newer.'; echo 'Why: mlx 0.31.1 ships no macOS 13 build, so the engine cannot install'; echo 'and every generation would fail.'; echo 'Fix: System Settings > General > Software Update -> macOS 14 or 15,'; echo 'then reinstall Phosphene.'; echo '=================================================================='; exit 1; else echo \"macOS preflight OK (detected '$MACOS_VER', needs >= 14)\"; fi",
+ // Pinokio 8.0.x wedges its shell on very long single lines (#50: 764
+ // chars hangs, ~373 passes — bisected by @Morac2). Every line below
+ // stays well under that; they run in ONE shell invocation joined by
+ // \n, so the if/else and variables still span lines.
+ [
+ "MACOS_VER=$(sw_vers -productVersion 2>/dev/null)",
+ "MACOS_MAJOR=$(echo \"$MACOS_VER\" | cut -d. -f1)",
+ "if echo \"$MACOS_MAJOR\" | grep -qE '^[0-9]+$' && [ \"$MACOS_MAJOR\" -lt 14 ]; then",
+ " echo '=================================================================='",
+ " echo \"PHOSPHENE CANNOT INSTALL ON macOS $MACOS_VER\"",
+ " echo 'Phosphene needs macOS 14 (Sonoma) or newer.'",
+ " echo 'Why: mlx 0.31.1 ships no macOS 13 build, so the engine cannot install'",
+ " echo 'and every generation would fail.'",
+ " echo 'Fix: System Settings > General > Software Update -> macOS 14 or 15,'",
+ " echo 'then reinstall Phosphene.'",
+ " echo '=================================================================='",
+ " exit 1",
+ "else",
+ " echo \"macOS preflight OK (detected '$MACOS_VER', needs >= 14)\"",
+ "fi",
+ ].join("\n"),
"which uv && uv --version || echo 'uv NOT FOUND'",
"which python3.11 && python3.11 --version || echo 'system python3.11 NOT FOUND (uv will try to fetch)'",
"uname -a",
@@ -389,7 +409,16 @@ module.exports = {
// isn't yet on disk (warning + plain Python downloader).
env: { HF_HUB_ENABLE_HF_TRANSFER: "1" },
message: [
- "hf download dgrauet/ltx-2.3-mlx-q4 --local-dir ../mlx_models/ltx-2.3-mlx-q4 --include '*.json' --include 'transformer-distilled.safetensors' --include 'connector.safetensors' --include 'vae_decoder.safetensors' --include 'vae_encoder.safetensors' --include 'audio_vae.safetensors' --include 'vocoder.safetensors' --include 'spatial_upscaler_x2_v1_1.safetensors'"
+ // Short lines over shell continuations — Pinokio 8.0.x hangs on very
+ // long single lines (#50); still one hf invocation.
+ [
+ "hf download dgrauet/ltx-2.3-mlx-q4 --local-dir ../mlx_models/ltx-2.3-mlx-q4 \\",
+ " --include '*.json' --include 'transformer-distilled.safetensors' \\",
+ " --include 'connector.safetensors' \\",
+ " --include 'vae_decoder.safetensors' --include 'vae_encoder.safetensors' \\",
+ " --include 'audio_vae.safetensors' --include 'vocoder.safetensors' \\",
+ " --include 'spatial_upscaler_x2_v1_1.safetensors'",
+ ].join("\n")
]
}
},
diff --git a/install_h3.js b/install_h3.js
index b6d0506..92102ab 100644
--- a/install_h3.js
+++ b/install_h3.js
@@ -55,7 +55,23 @@ module.exports = {
method: "shell.run",
params: {
message: [
- "MEM_BYTES=$(sysctl -n hw.memsize 2>/dev/null); if echo \"$MEM_BYTES\" | grep -qE '^[0-9]+$' && [ \"$MEM_BYTES\" -lt 60000000000 ]; then MEM_GB=$((MEM_BYTES / 1000000000)); echo '=================================================================='; echo \"HAILUO H3 NEEDS ABOUT 64 GB OF UNIFIED MEMORY (this Mac has ${MEM_GB} GB)\"; echo 'The staged runner peaks around 40 GiB with one component resident at'; echo 'a time. Below 64 GB it swaps and a 3-second clip takes hours.'; echo 'Nothing was downloaded. Keep using the built-in LTX-2.3 engine.'; echo '=================================================================='; exit 1; else echo 'H3 memory preflight OK'; fi",
+ // Split across short lines: Pinokio 8.0.x hangs its shell on very long
+ // single lines (#50). One shell invocation — the if/else spans lines.
+ [
+ "MEM_BYTES=$(sysctl -n hw.memsize 2>/dev/null)",
+ "if echo \"$MEM_BYTES\" | grep -qE '^[0-9]+$' && [ \"$MEM_BYTES\" -lt 60000000000 ]; then",
+ " MEM_GB=$((MEM_BYTES / 1000000000))",
+ " echo '=================================================================='",
+ " echo \"HAILUO H3 NEEDS ABOUT 64 GB OF UNIFIED MEMORY (this Mac has ${MEM_GB} GB)\"",
+ " echo 'The staged runner peaks around 40 GiB with one component resident at'",
+ " echo 'a time. Below 64 GB it swaps and a 3-second clip takes hours.'",
+ " echo 'Nothing was downloaded. Keep using the built-in LTX-2.3 engine.'",
+ " echo '=================================================================='",
+ " exit 1",
+ "else",
+ " echo 'H3 memory preflight OK'",
+ "fi",
+ ].join("\n"),
"echo 'free disk space:'",
"df -h ."
]
@@ -121,7 +137,17 @@ module.exports = {
path: "minimax-h3-mlx",
message: [
"echo '=== H3 venv check ==='",
- "if .venv/bin/python -c 'import sys' >/dev/null 2>&1; then echo 'H3 venv healthy - reusing it'; else echo 'H3 venv missing or broken (dangling interpreter) - rebuilding, no weights are re-downloaded'; which uv && uv --version || echo 'uv NOT FOUND'; rm -rf .venv; uv venv --python 3.11 --seed .venv; .venv/bin/python --version || echo 'venv python NOT executable'; fi"
+ [
+ "if .venv/bin/python -c 'import sys' >/dev/null 2>&1; then",
+ " echo 'H3 venv healthy - reusing it'",
+ "else",
+ " echo 'H3 venv missing or broken (dangling interpreter) - rebuilding, no weights are re-downloaded'",
+ " which uv && uv --version || echo 'uv NOT FOUND'",
+ " rm -rf .venv",
+ " uv venv --python 3.11 --seed .venv",
+ " .venv/bin/python --version || echo 'venv python NOT executable'",
+ "fi",
+ ].join("\n")
]
}
},