Repository navigation
Studio: add Search Hub to the Images, Video and Audio model pickers - #11756
Merged
Merged
Conversation
The button opens the Hub on Discover with the matching capability filter on: Image/video gen for Images and Video, Audio for Audio. The Hub route takes a new capability search param.
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. |
A capability link that also carried tab=downloaded or kind=datasets kept those params, so the filter never showed. Consuming the link now sets tab=discover and clears kind.
Member
Author
|
@codex review |
The Images, Video and Audio pages run curated Unsloth uploads, so a capability link now also sets the Hub's owner filter to Unsloth.
Member
Author
|
@codex review |
1 similar comment
Member
Author
|
@codex review |
|
Codex Review: Didn't find any major issues. You're on a roll. 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". |
deepspace28
pushed a commit
to deepspace28/unsloth
that referenced
this pull request
Sep 24, 2026
…rings (unslothai#11772) * studiobench: do not fail UI parity on repetitions that swap two renderings The parity verdict on unslothai#11756 (run 35949769378) failed on four stable pairs, delete_message and thread_reopen at r100K, in both repetitions. The two repetitions held the same two renderings with the arms swapped: rep0's (base, head) captures are rep1's (head, base) captures, field for field. The extra 2012 and 2022 characters of scaffold are the attachment chip image_upload leaves in the composer when it reaches its 800ms slot, and which cells reached it was a race (base missed, head ran, head missed, base ran). The null control shows one build rendering both states. corroborated() already refuses to let two one-arm failures that blame opposite arms corroborate each other, but treated a digest difference as having no direction. swapped_between_arms() now finds a differing pair whose two renderings another repetition of the same action and rung holds on the opposite arms, compared exactly on every capture field, and report() prints those as UNCORROBORATED instead of counting them. The null audit scope and the evidence step apply the same predicate so all three agree. A consistent difference, or a real change on top of the race, does not line up as a swap and still fails. Captures without a digest and --min-reps 1 are scored as before. * studiobench parity: match swapped repetitions one-to-one A differing pair was excused whenever any other repetition held its reverse, so three repetitions of (R1, R2) against one (R2, R1) were all excused and a difference seen three times passed. Each reversal now excuses exactly one observation in the other direction; the rest go to corroborated() as before, so the example above leaves two firm repetitions. * studiobench parity: match swaps by observation, not row One-to-one by row let a reversed repetition carried by two shards partner two forward repetitions, while corroborated() counts it once. Swaps are now matched on distinct (repetition, direction) observations, and every row of a matched observation is excused together, so the duplicate leaves two firm forward repetitions in Codex's example. * studiobench parity: each repetition joins at most one swap Keying observations on (repetition, direction) let a repetition recorded by two shards in opposite directions join two swaps, excusing a difference seen in two other repetitions. A repetition is now the unit: it takes part in at most one swap, and one that holds more than one outcome pair (shards that disagree) is never excused.
shaojun
pushed a commit
to shaojun/unsloth
that referenced
this pull request
Sep 29, 2026
…nslothai#11756) * Studio: add Search Hub to the Images, Video and Audio model pickers The button opens the Hub on Discover with the matching capability filter on: Image/video gen for Images and Video, Audio for Audio. The Hub route takes a new capability search param. * Studio: make a capability link always land on Discover models A capability link that also carried tab=downloaded or kind=datasets kept those params, so the filter never showed. Consuming the link now sets tab=discover and clears kind. * Studio: open Search Hub from the media pickers on the Unsloth filter The Images, Video and Audio pages run curated Unsloth uploads, so a capability link now also sets the Hub's owner filter to Unsloth.
shaojun
pushed a commit
to shaojun/unsloth
that referenced
this pull request
Sep 29, 2026
…rings (unslothai#11772) * studiobench: do not fail UI parity on repetitions that swap two renderings The parity verdict on unslothai#11756 (run 35949769378) failed on four stable pairs, delete_message and thread_reopen at r100K, in both repetitions. The two repetitions held the same two renderings with the arms swapped: rep0's (base, head) captures are rep1's (head, base) captures, field for field. The extra 2012 and 2022 characters of scaffold are the attachment chip image_upload leaves in the composer when it reaches its 800ms slot, and which cells reached it was a race (base missed, head ran, head missed, base ran). The null control shows one build rendering both states. corroborated() already refuses to let two one-arm failures that blame opposite arms corroborate each other, but treated a digest difference as having no direction. swapped_between_arms() now finds a differing pair whose two renderings another repetition of the same action and rung holds on the opposite arms, compared exactly on every capture field, and report() prints those as UNCORROBORATED instead of counting them. The null audit scope and the evidence step apply the same predicate so all three agree. A consistent difference, or a real change on top of the race, does not line up as a swap and still fails. Captures without a digest and --min-reps 1 are scored as before. * studiobench parity: match swapped repetitions one-to-one A differing pair was excused whenever any other repetition held its reverse, so three repetitions of (R1, R2) against one (R2, R1) were all excused and a difference seen three times passed. Each reversal now excuses exactly one observation in the other direction; the rest go to corroborated() as before, so the example above leaves two firm repetitions. * studiobench parity: match swaps by observation, not row One-to-one by row let a reversed repetition carried by two shards partner two forward repetitions, while corroborated() counts it once. Swaps are now matched on distinct (repetition, direction) observations, and every row of a matched observation is excused together, so the duplicate leaves two firm forward repetitions in Codex's example. * studiobench parity: each repetition joins at most one swap Keying observations on (repetition, direction) let a repetition recorded by two shards in opposite directions join two swaps, excusing a difference seen in two other repetitions. A repetition is now the unit: it takes part in at most one swap, and one that holds more than one outcome pair (shards that disagree) is never excused.
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.
Summary
The Images, Video and Audio model pickers now have the same Search Hub button as the chat model picker. It opens the Model hub on Discover with the matching capability filter already on:
The owner filter is also set to Unsloth, since these pages run curated Unsloth uploads.
Before this, Images and Video had no Search Hub button at all, and Audio's opened the unfiltered Discover feed.
Changes
app/routes/hub.tsx:/hubaccepts acapabilitysearch param, validated against the Discover capability filter values.hub-page.tsx: acapabilitylink switches to Models, clears the query, sets the format filter to All formats, applies the capability filter and opens the sorted Discover list. The feed's trending carousel ignores the capability filter, so the flat list is what makes the filter actually hold. It also sets the owner filter to Unsloth, and lands on the Discover tab with Models selected even if the link carriedtab=downloadedorkind=datasets. The param is then removed from the URL, so later filter changes stick and clicking Search Hub again re-applies it.model-selector.tsx: new optionalhubCapabilityprop. When set, Search Hub navigates with it and is shown even on curated task pickers, which previously hid the button.images-page.tsx,video-page.tsx: passhubCapability="diffusion".audio-page.tsx: passeshubCapability="audio".features/hub/index.ts: exports theCapabilityKeytype for the route and the picker.The chat picker does not set the prop, so its Search Hub is unchanged.
Testing
tsc -binstudio/frontend: pass.react-hooks/set-state-in-effectfinding for the URL param effect inhub-page.tsx, the same pattern the page already uses for itssectionandkindparams.