Skip to content

Unsloth Studio / Desktop: typing a full model name in the composer picker's Discover search finds the official Unsloth GGUF again - #18744

Merged
danielhanchen merged 3 commits into
unslothai:mainfrom
LeoBorcherding:fix/composer-search-unsloth-prefetch
Nov 23, 2026
Merged

danielhanchen merged 3 commits into
unslothai:mainfrom
LeoBorcherding:fix/composer-search-unsloth-prefetch

Conversation

@LeoBorcherding

@LeoBorcherding LeoBorcherding commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

When you type in the composer model picker's Discover tab, the search shows a few Unsloth matches first, then community results. It only pulled the 3 newest Unsloth matches, sorted newest-first. One release's uploads (FP8, bnb-4bit, NVFP4, GGUF) are ordered by upload time, so for qwen3.8-27b those 3 were the FP8, bnb-4bit and NVFP4 repos. The chat picker hides all three, and unsloth/Qwen3.8-27B-GGUF (the 4th) was never fetched. qwen alone worked only because it matches the Qwen provider search.

Popularity sorts keep the short Unsloth head of 3. Newest-first sorts now read up to 20 Unsloth matches, so the whole release is there.

Test: tests/hub-search-unsloth-prefetch.test.ts runs the 5 repos the Hub returns newest-first for qwen3.8-27b through the new limit, for every sort. It fails on base and passes here. The existing hub and composer-picker tests (406) pass, and tsc --noEmit is clean.

Screenshots

Colab T4, Linux, Unsloth Studio web UI. Both sides ran on the same VM: the PR head 7495936, then the same checkout with use-hub-model-search.ts reverted to main ba4979c and the frontend rebuilt. ba4979c already has #18477 and #18473, and as of fd3bbb2 main hasn't changed this hook since.

typed in Discover before (main ba4979c) after (7495936)
qwen3.8-27b Qwen3.8-27B-GGUF only shows up at row 11, below the community repos first
Qwen3.8-27B same same
gemma-4-31b no Google GGUF in the first 10 rows gemma-4-31B-it-qat-GGUF, gemma-4-31B-it-GGUF first
gemma-4 no official Gemma 4 GGUF in view E4B, E2B, 12B, 26B-A4B qat GGUFs first
mistral-small-3.2-24b-instruct-2506 official GGUF at row 6 first
qwen (control) unchanged unchanged

qwen3.8-27b
gemma-4-31b

Edge cases: caps, broad query, Mistral, control

Qwen3.8-27B
gemma-4
mistral
qwen

…inds the official Unsloth GGUF

The newest-first search floated only the 3 newest Unsloth matches above community results. For
qwen3.8-27b those are the FP8, bnb-4bit and NVFP4 uploads, which the picker hides, so the GGUF
never loaded. Popularity sorts keep the short head; newest-first reads the model's whole family.
@danielhanchen

Copy link
Copy Markdown
Member

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T05:04:14.048229Z b96d6a7 Manual request
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@danielhanchen

Copy link
Copy Markdown
Member

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: b96d6a7a30

ℹ️ 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".

@danielhanchen
danielhanchen merged commit e71b5db into unslothai:main Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants