install.sh: fix set-e exit from bare 'return' in build_hybrid guard

This commit is contained in:
ent
2026-06-24 13:06:03 +10:00
parent 60bf1b7b02
commit 884945ada4
+1 -1
View File
@@ -209,7 +209,7 @@ download_models() {
# ============================================================================
build_hybrid() {
[[ "$BUILD_HYBRID" -eq 1 ]] || return
[[ "$BUILD_HYBRID" -eq 1 ]] || return 0
if [[ -f "$HYBRID_DIR/model.safetensors.index.json" ]]; then ok "Hybrid ckpt present: $HYBRID_DIR"; return; fi
local gptq="$MODEL_DIR"
if [[ -z "$gptq" ]]; then