Repository navigation
Studio Hub: one filter popover for capabilities, size, context and uploader, composer-style menus - #13749
Conversation
…menu, a visible fit checkbox in dark mode
…s inside the filter popover
|
Two reds here, one from this PR and one already fixed on main.
This PR splits it into separate image and video generation, so that contract needs to follow, asserting the two new labels instead. Main passes the file (201 passed).
|
… toggle back beside it
…t, the Library's filter icon
…search, range notes as tooltips
…the labels' edges, hover-only notes
…ng bulb for Reasoning
…der pick with the other filters Hovering a capability or uploader row shows Only, which keeps just that row ticked, so picking one capability no longer takes six unticks. The footer's Clear becomes Reset all, which also resets capabilities and uploaders and keeps the popover open; Apply limits is enabled only when a limit was edited. Back to feed, clearing the search, opening a section and the other resets now drop a manual uploader pick too: it kept the Hub in search mode, so Back did not return to the feed.
… picker controls in dark The Parameters and Context length labels lose their billions / tokens captions; the context tooltip now says the limit is in tokens. Embeddings uses the layout table icon in the Hub rows and the filter popover. In dark mode the model picker's selected tab, Search Hub and dropdowns are lifted toward white so they stand off the picker panel.
… pipelines out of Image gen
|
@codex review |
1 similar comment
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d733f7600d
ℹ️ 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".
| pipeline !== undefined | ||
| ? NEITHER_GEN_TASKS.has(pipeline) | ||
| : [...NEITHER_GEN_TASKS].some((task) => tagSet.has(task)) |
There was a problem hiding this comment.
Check excluded generation tasks in both metadata sources
When pipelineTag is present but the actual excluded task appears only in tags, this ternary never examines tagSet. For example, metadata with a generic/incorrect primary pipeline plus diffusers and text-to-audio or video-to-video tags falls through and can be classified as Image gen or Video gen, exposing a model that neither media page can run. Treat a match in either pipelineTag or the tags as an excluded generation task.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Real Hub repos put the task in pipeline_tag and repeat it in tags; a mismatched primary pipeline plus a conflicting task tag is not metadata we see. Leaving as is.
| if (key === "video-gen" && isVideoFamilyName(row.result.id)) | ||
| return generationKinds( | ||
| row.result.tags, | ||
| row.result.pipelineTag, | ||
| row.result.id, |
There was a problem hiding this comment.
Give name-only video families a diffusion capability
When the repo name is the only video signal, this special case makes the row match Video gen without adding the shared diffusion capability produced by detectCapabilities. Tagless LTX/CogVideo/Mochi-style rows therefore appear under the Video gen filter without a Video gen pill, and the Recommended-format gate in hub-page.tsx treats their NVFP4 checkpoints as ordinary checkpoints rather than applying diffusionQuantFormats; on systems where generic NVFP4 is supported but diffusion NVFP4 is disabled, this can surface a model the backend refuses. Centralize the family-name fallback in capability detection instead of bypassing it only here.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
The name-only path only widens the Video gen filter for repos missing their video tags; making it a capability would change loading and format routing everywhere detectCapabilities is used, which this PR does not touch. Leaving as is.
… the list on dataset row ranges
…en filters on back/forward and On Device
|
@codex review |
1 similar comment
|
@codex review |
|
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 |
1 similar comment
|
@codex review |
|
Codex Review: Didn't find any major issues. Swish! 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". |
What changed
The Model hub's toolbar filters are reworked around one filter popover, and the Hub's dropdowns now share the chat composer menu's look.
<1B, 6B, 12B, 32B, 128B,>500B; 256B sits between 128B and>500B). Context length runs<16K, 32K, 64K, 128K, 256K,>1M, with one step between each pair (24K, 48K, 96K, 192K, 512K). Every inner stop draws a tick under the range, so the fill runs unbroken, and the picked pills are semibold. The picked stops show as pills in the label row, at the labels' size, the end stops mean no limit, the thumbs can share a stop, a release applies at once, and each section gets a Reset (with an undo icon) once set. The line is 3px with 12px thumbs; the range, thumbs and pills are a dark grey in light mode and a soft white in dark. The i icons show only while the section title is hovered; the notes open on hovering the section label, beside the popover.<1Kto>1T. Datasets that don't publish a size are left out once a range is set.video-to-videois not counted, since the Video page cannot run it), and Image gen otherwise, as the picker does. The Images page's "Search Hub" link opens on Image gen and the Video page's on Video gen. Oldercapability=diffusionlinks open on Image gen.#272727panel (selected tab and Search Hub#3a3a3ato#494949, dropdowns about#323232to#414141); an open dropdown menu takes its trigger's tone.The filter popover, light and dark, with Vision and Reasoning picked:
With Datasets on, Image picked and the size capped at 1B rows:
The model picker in dark mode, before (top) and after (bottom): the selected tab, Search Hub and dropdowns are brighter.
The Sort menu in the composer menu's style:
A text-to-speech model with the sidebar's Text to Speech and Audio icons:
Verification
npm run typecheck,npm test(12170 pass),npm run build. New and updated tests:tests/hub-capability-split.test.ts,tests/hub-uploader-filter.test.ts,tests/model-search-filters.test.ts(uploader filtering, including no organization lookup when both or neither of Organizations and Non-organization are ticked),tests/hub-audio-task-link.test.ts,tests/hub-dataset-filters.test.ts.Not tested here