feat(inference): Add Latitude as inference provider#3715
Open
gsalberto wants to merge 1 commit intohuggingface:mainfrom
Open
feat(inference): Add Latitude as inference provider#3715gsalberto wants to merge 1 commit intohuggingface:mainfrom
gsalberto wants to merge 1 commit intohuggingface:mainfrom
Conversation
Latitude provides fast, affordable LLM inference on dedicated GPU infrastructure. Supported tasks: - conversational (chat completions) - text-generation (completions) Features: - OpenAI-compatible API - Tool calling / function calling - Structured output (JSON mode) - Vision / multimodal inputs - Streaming with TTFT tracking Provider details: - Organization: https://huggingface.co/latitude-sh - API Base: https://api.lsh.ai - Pricing: https://api.lsh.ai/pricing
This was referenced Jan 22, 2026
Author
|
Hi @Wauplin @hanouticelina @SBrandeis - following up on this PR. It's been 2 weeks since submission. This adds Latitude as an inference provider for the Python client. We have the JS client PR (huggingface.js#1927) and docs PR (hub-docs#2180) ready as well. Let us know if any changes are needed. Thanks! |
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.
Summary
This PR adds support for Latitude.sh as an inference provider.
About Latitude:
AI Inference Platform Features:
https://api.lsh.aiChanges
src/huggingface_hub/inference/_providers/latitude.pywithLatitudeConversationalTaskandLatitudeTextGenerationTask__init__.pyto register the providerRelated PRs