* Studio: resolve llama.cpp prebuilts via the release-assets CDN to avoid GitHub API rate limits * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Studio: resolve manifest-named prebuilt assets on the download-host fast path Add tag-pinned CDN URLs for any manifest artifact whose hash is keyed under an upstream-tag alias in the checksum asset, so the fast path resolves the same assets the API path does. Cover the resolve body directly (only download_bytes stubbed) and soften the doc's validation-equivalence wording. * Studio: pin llama.cpp fast path to the releases/latest redirect tag Derive the authoritative latest tag from GitHub's /releases/latest redirect target instead of trusting the checksum asset's self-reported release_tag, so the existing release_tag cross-check in parse_approved_release_checksums is a real check again: a stale or mis-tagged checksum asset now falls back to the API. Pin every fast-path URL to that tag. Fall back to the API on a manifest 404 as well, since an in-progress release can publish the checksum asset before the manifest, matching the sha256 404 handling. Document the releases/latest (created_at / make_latest) versus published_at ordering divergence and why it is an accepted, mitigated tradeoff. * Studio: drop the llama.cpp prebuilt-resolution doc Remove studio/docs/llama-cpp-prebuilt-resolution.md and the docstring pointer to it; the resolution rationale (the created_at/make_latest vs published_at ordering nuance) stays inline in _download_host_latest_release_tag. * Studio: tighten llama.cpp download-host fast-path comments --------- 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_node_prebuilt.py | ||
| install_python_stack.py | ||
| LICENSE.AGPL-3.0 | ||
| node_prebuilt_pins.json | ||
| package-lock.json | ||
| package.json | ||
| setup.bat | ||
| setup.ps1 | ||
| setup.sh | ||
| Unsloth_Studio_Colab.ipynb | ||