-
Notifications
You must be signed in to change notification settings - Fork 823
[InferenceClient] Add third-party providers support #2757
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
Merged
Merged
Changes from 4 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
5c1a209
Add first version of third-party providers support
hanouticelina c142995
add task level in model id mappings
hanouticelina 051ee76
raise error when task is not supported by a provider + some improvements
hanouticelina ab2b44f
small (big) refactoring
hanouticelina a896f3e
multiple fixes
hanouticelina 49d389a
add hf inference tasks
hanouticelina 20e8d3a
Handle hf_inference in single file (#2766)
Wauplin ceca530
harmonize prepare_payload args and add automatic-speech-recognition task
hanouticelina a076eb4
backward compatibility with custom urls
hanouticelina aca6050
first draft of tests
hanouticelina c2bdcc2
InferenceClient as fixture + skip if no api_key
Wauplin 4489069
give name to parametrized tests
Wauplin 5f9d946
upload cassettes
hanouticelina e1a379c
make quali
Wauplin fec77a6
download sample files from prod
Wauplin a731eec
fix python3.8
Wauplin 9b209b8
small improvement for better readability
hanouticelina 28825cb
make style
Wauplin a0208c9
fixing more tests
hanouticelina 8f2eb6c
Merge branch 'inference-providers-compatibility' of github.com:huggin…
hanouticelina 456122f
test url building
hanouticelina d5dcf8f
fix and record async client tests
hanouticelina 4ba4ab4
re-add cassettes
hanouticelina 65b659d
fix
hanouticelina ae6f2af
add cassettes back
hanouticelina 4d50893
fix test
hanouticelina 9d557f0
hopefully this will fix the test
hanouticelina 92f62fc
fix sentence similarity test
hanouticelina 8ebbe80
Merge branch 'main' into inference-providers-compatibility
hanouticelina 2223998
Merge branch 'main' into inference-providers-compatibility
Wauplin 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
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
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.
Uh oh!
There was an error while loading. Please reload this page.