Repository navigation
Studio: stop rejecting --mmproj-device CUDA1 when gpu_ids are saved - #12620
Merged
Merged
Conversation
#12562 (make carried rows a faintly frosted, darker copy) landed after this branch was cut and restyles the shared ghost rule that #12499 introduced: it relies on --row-ghost-surface and .model-picker-row-ghost, and edits model-picker-pinned-drag-preview.test.ts, all of which the #12499 revert removes. Keeping it without #12499 leaves .sidebar-row-ghost reading an unset variable, so the conflict is resolved by dropping #12562's two hunks as well. It should be re-opened together with #12499. #12563, #12564 and #12597 are kept.
…12505) * Studio: widen companion devices within explicit gpu_ids An explicit gpu_ids selection turned off companion-device widening, so when the fit pinned the model to one selected GPU, --mmproj-device CUDA1 still named a hidden card and llama-server rejected it. Widen onto cards in gpu_ids and keep unselected cards out. Fixes #12467 Signed-off-by: 1fanwang <[email protected]> * Studio: record the widened explicit pin as the effective GPU pin With gpu_ids saved and the fit choosing fewer GPUs, the mask now widens onto a companion card inside gpu_ids, but the effective pin was recorded before that. /status echoed the narrower pin, a request carrying it matched the loaded model and became the stored intent, and a respawn or rollback replaying it reloaded without the projector's GPU ("invalid device" again). Deselecting that GPU was also treated as already loaded. Record the widened mask once it is applied. --------- Signed-off-by: 1fanwang <[email protected]> Co-authored-by: Etherll <[email protected]> (cherry picked from commit a91ee37)
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. |
…12505) * Studio: widen companion devices within explicit gpu_ids An explicit gpu_ids selection turned off companion-device widening, so when the fit pinned the model to one selected GPU, --mmproj-device CUDA1 still named a hidden card and llama-server rejected it. Widen onto cards in gpu_ids and keep unselected cards out. Fixes #12467 Signed-off-by: 1fanwang <[email protected]> * Studio: record the widened explicit pin as the effective GPU pin With gpu_ids saved and the fit choosing fewer GPUs, the mask now widens onto a companion card inside gpu_ids, but the effective pin was recorded before that. /status echoed the narrower pin, a request carrying it matched the loaded model and became the stored intent, and a respawn or rollback replaying it reloaded without the projector's GPU ("invalid device" again). Deselecting that GPU was also treated as already loaded. Record the widened mask once it is applied. --------- Signed-off-by: 1fanwang <[email protected]> Co-authored-by: Etherll <[email protected]> (cherry picked from commit a91ee37)
Member
Author
|
@codex review |
1 similar comment
Member
Author
|
@codex review |
|
Codex Review: Didn't find any major issues. Chef's kiss. 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". |
JoshuaL3000
pushed a commit
to JoshuaL3000/unsloth
that referenced
this pull request
Oct 4, 2026
…nslothai#12620) Re-lands unslothai#12505 (reverted in unslothai#12569). Limits companion-device mask widening to the GPUs in gpu_ids instead of disabling it, and records the widened pin for /status and dedupe. Fixes unslothai#12467. Co-authored-by: Stefan Wang <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Re-opens #12505 for review. It was merged before its review converged and was reverted in #12569.
The change is the original squash commit, cherry-picked unchanged (
git cherry-pick -x a91ee3789), with authorship kept for @1fanwang. The full description and discussion are on #12505.#12569 has merged, so this PR targets
mainand its diff shows only this change.