-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Feature]: LiteLLM support VertexAI/ Hugging Face Models #3659
Labels
enhancement
New feature or request
Comments
i believe this is already supported via model garden - https://docs.litellm.ai/docs/providers/vertex#model-garden |
@krrishdholakia it is not supported, the Vertex API throws an error:
FYI this is my minimal reproducible setup: import litellm
litellm.vertex_project = "0000" # project id
litellm.vertex_location = "us-central1"
response = litellm.completion(
model="vertex_ai/0000", # endpoint id
messages=[{"role": "user", "content": "write code for saying hi from LiteLLM"}],
)
print(response) My guess is it's because it's a hugging face model that's deployed to vertex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Feature
user is trying to use litellm for calling VertexAI / hugging face model
Motivation, pitch
Twitter / LinkedIn details
No response
The text was updated successfully, but these errors were encountered: