The wheel-only pip install for an optional attention kernel ran inside load_pipeline under _lock and _generate_lock, so a slow or hanging install blocked unload and cancellation for up to the 600s timeout. Resolve and install the kernel before taking the locks (only an explicit backend ever pulls a package, and its resolution ignores the speed tier); the in-lock apply call is then a fast no-op. Also decode and log pip's stderr on a failed install so the fallback to native is diagnosable instead of showing only the exit code. |
||
|---|---|---|
| .. | ||
| backend | ||
| frontend | ||
| src-tauri | ||
| __init__.py | ||
| install_llama_prebuilt.py | ||
| install_node_prebuilt.py | ||
| install_python_stack.py | ||
| install_sd_cpp_prebuilt.py | ||
| LICENSE.AGPL-3.0 | ||
| node_prebuilt_pins.json | ||
| package-lock.json | ||
| package.json | ||
| setup.bat | ||
| setup.ps1 | ||
| setup.sh | ||
| Unsloth_Studio_Colab.ipynb | ||