* Fix llama.cpp prebuilt: skip the already-installed same-release fallback install_prebuilt computes diffusion_visual_server_backfill_needed from the newest candidate (plan.attempts[0]); when that is True it passed existing_install_dir=None to validate_prebuilt_attempts, which disabled the "existing install already matches this candidate" skip for the WHOLE plan. So when the newest bundle failed validation the installer re-downloaded and re-extracted an older fallback bundle that was already correctly installed. Pass the real install dir always and gate the skip per-attempt: a matching candidate is skipped unless that specific candidate still needs the DiffusionGemma backfill re-extract. Also make test_llama_cpp_search_roots_handles_studio_root_oserror read the full _find_llama_server_binary / _kill_orphaned_servers method bodies instead of a fixed 4000-char window. The except handler it asserts already exists, but the function grew past the window so the guard silently failed; slicing to the next sibling def keeps the check correct as the file grows. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: Daniel Han <michaelhan2050@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| backend | ||
| frontend | ||
| src-tauri | ||
| __init__.py | ||
| install_llama_prebuilt.py | ||
| install_python_stack.py | ||
| LICENSE.AGPL-3.0 | ||
| package-lock.json | ||
| package.json | ||
| setup.bat | ||
| setup.ps1 | ||
| setup.sh | ||
| Unsloth_Studio_Colab.ipynb | ||