When DEFAULT_PUBLISHED_REPO is ggml-org/llama.cpp, the prebuilt resolver raises PrebuiltFallback because ggml-org releases do not include a llama-prebuilt-manifest.json asset. This was caught by the generic Exception handler and printed as "fatal helper error" to stderr, which triggers NativeCommandError on PowerShell. Catch PrebuiltFallback separately in the top-level __main__ handler and exit with EXIT_FALLBACK (code 2) instead of EXIT_ERROR (code 1). The message is still logged but without the "fatal helper error" prefix. The shell scripts already handle non-zero exits and fall back to source builds. Co-authored-by: Daniel Han <danielhanchen@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| backend | ||
| frontend | ||
| __init__.py | ||
| install_llama_prebuilt.py | ||
| install_python_stack.py | ||
| LICENSE.AGPL-3.0 | ||
| setup.bat | ||
| setup.ps1 | ||
| setup.sh | ||
| Unsloth_Studio_Colab.ipynb | ||