install.sh: fix set-e exit from bare 'return' in build_hybrid guard
This commit is contained in:
+1
-1
@@ -209,7 +209,7 @@ download_models() {
|
|||||||
# ============================================================================
|
# ============================================================================
|
||||||
|
|
||||||
build_hybrid() {
|
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
|
if [[ -f "$HYBRID_DIR/model.safetensors.index.json" ]]; then ok "Hybrid ckpt present: $HYBRID_DIR"; return; fi
|
||||||
local gptq="$MODEL_DIR"
|
local gptq="$MODEL_DIR"
|
||||||
if [[ -z "$gptq" ]]; then
|
if [[ -z "$gptq" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user