Repository navigation
Studio: choose the model and quant in the API usage examples #10313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
NilayYadav
wants to merge
21
commits into
unslothai:main
from
NilayYadav:fix-usage-examples-model-picker
Closed
Changes from 2 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
c3862f7
Studio: pick the model and quant the API usage examples name
NilayYadav 5b104ae
Studio: name a downloaded model when none is resident, and follow the…
NilayYadav 7e01906
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 77b37fe
Studio: pin the quant a directory qualifies, and check residency at t…
NilayYadav 880ea7c
Studio: ship the keyless warning string, and read the switch from the…
NilayYadav cca6c91
Studio: publish the resident quant the scan proves while the resolver…
NilayYadav fa7ce29
Studio: let only the copy the resolver reaches advertise a repo's quants
NilayYadav c7a9e8e
Studio: offer one picker row per repo, whatever case the catalog spel…
NilayYadav a317a65
Studio: withdraw the quant list when two copies of one id disagree
NilayYadav 9dc3eee
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 1ec78ad
Studio: count a quantless copy as a conflict, and read residency from…
NilayYadav 13be7ed
Studio: match quant labels case-insensitively, as the resolver does
NilayYadav 355da91
Studio: keep the server's withheld quant list withheld when merging i…
NilayYadav 2f5c983
Merge remote-tracking branch 'upstream/main' into r10313
NilayYadav bae2130
Studio: compare quant spellings the way the list dedupes them
NilayYadav f2fc8d0
Studio: say withheld quants out loud so a client cannot read it as an…
NilayYadav c31a4b1
Studio: honour a withheld quant list when following, and only label l…
NilayYadav 2cd9504
Studio: follow the resolver's new vouched-quant helper in the source …
NilayYadav 565e3f5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 0f2b5cb
Studio: keep a repo's quant list when a loose .gguf sits beside it, a…
NilayYadav b4a60ae
Studio: make following the loaded model reachable again, and keep eve…
NilayYadav File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When two physical copies of the same model ID contain the same quant labels but their scans return the non-default labels in a different order, these tuples compare unequal and the code publishes
quants: []. Every explicit quant pin is valid against either copy in this scenario, so the picker unnecessarily loses all alternatives even though the change promises to expose every on-disk quant. Compare a normalized set of labels for ambiguity while retaining one scan's order for display.Useful? React with 👍 / 👎.