Repository navigation
Studio: make UNSLOTH_DISABLE_UPDATE_CHECK also stop the llama.cpp and whisper.cpp checks - #11155
Conversation
|
@codex review |
1 similar comment
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Keep it up! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a3ecda71f5
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
1 similar comment
|
@codex review |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Confirmed the opt-out only covered the PyPI check and that llama.cpp and whisper.cpp still reached GitHub from the status path, so the gating in llama_cpp_update.py and whisper_cpp_update.py is the right direction. Could you drop the unrelated reformatting in studio/backend/main.py and tests/studio/playwright_queue_localization.py so the branch is just the update-check change? |
…cpp update checks
7cb5cc9 to
772fed8
Compare
|
Rebased onto current main and dropped the pre-commit.ci formatting commit. Main already carries that formatting, and the commit was conflicting with main in |
|
@codex review |
Lyxot
left a comment
There was a problem hiding this comment.
LGTM. The opt-out now covers the llama.cpp and whisper.cpp update checks and the backend picker, and explicit backend switches still work. CI passes on current main.
… whisper.cpp checks (unslothai#11155) * Studio: honour UNSLOTH_DISABLE_UPDATE_CHECK in llama.cpp and whisper.cpp update checks * Studio: honour UNSLOTH_DISABLE_UPDATE_CHECK in the llama.cpp backend picker * Studio: translate the update-checks-disabled backend picker note * Studio: refuse llama.cpp update requests when update checks are disabled
Setting UNSLOTH_DISABLE_UPDATE_CHECK=1 stopped the PyPI check, but Studio still called GitHub for llama.cpp and whisper.cpp updates every time the page loaded, and again from the backend picker in Settings. On hosts without internet, these calls also made the status endpoint slow.
The update status routes, the freshness lookup and the Settings backend picker now skip the network when the variable is set. The picker shows a short note explaining why it is empty.
Tested with new unit tests and on a live Studio behind a logging proxy: no GitHub connections with the variable set, including Settings, and normal behaviour without it.