Repository navigation
Conversation
…as no weights A download that never completes leaves a weightless refs/snapshot skeleton in the active cache - from a repo-id load that resolved remotely, a pinned variant the parked copy does not carry, or an abort mid-flight. The skeleton scans as complete, so the catalog dedupe collapsed the parked scan-folder copy into it and the servability stage dropped the row: the model vanished from /v1/models and /models/local although a loadable copy existed. Key the parked copy by its own path so it is listed again whatever left the skeleton behind.
…talog # Conflicts: # studio/backend/routes/models.py
…tudio-scan-folder-catalog # Conflicts: # studio/backend/routes/models.py
…s new ComfyUI scan helper Upstream inserted _with_comfy_compat_rows right where this branch defines _merge_scan_folder_row; the merge keeps both. Resolves the routes/models.py conflict; catalog suites re-run green (231/5/35 passed).
…g - sync branch with upstream before re-cutting the patch No changes to the three patch files (empty ^1 diff); pure upstream sync ahead of the patch re-cut.
…dress the branch review before re-cutting the patch Pin omlx_model_dirs like Ollama/Hermes, or a machine with oMLX adds roots and rows the exact-equality assertions fail on. The new test pins the known limit: a parked copy whose newest snapshot holds no quant is listed in the picker but not in /v1/models, until the resolver keys on the layout, not the source.
A cache-layout copy parked in a scan folder now lists as a custom row. Two consumers still keyed on the old hf_cache label: - local_model_resolver skipped the newest-complete-snapshot selection for it, so /v1/models advertised a split quant that was missing a shard, or dropped a parked copy whose newest snapshot held no quant. Apply that selection to custom rows with a cache layout too. - the relabel cleared model_id on every parked row, so a parked-only image model no longer resolved by repo id in the media index. Clear it only when another row already answers to that repo id; the first parked copy keeps it.
The previous commit applied the newest-complete-snapshot selection to every custom row under a models--*/snapshots layout. A scan folder registered at a models--* repo dir lists each snapshot as its own row, so an older snapshot then advertised the newer snapshot's quant and a pin on it missed. Redirect a custom row only when it is the snapshot the cache scan itself names (the relabeled parked copy); every other snapshot row keeps its exact directory.
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. |
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.
Staging-only CI validation for unslothai#12803.
This PR exists only to run fork GitHub Actions checks and should be closed after validation.