Skip to content

Add GMI Cloud as an inference provider - #2297

Open
Alas129 wants to merge 2 commits into
huggingface:mainfrom
GMISWE:feat/add-gmicloud-provider
Open

Add GMI Cloud as an inference provider#2297
Alas129 wants to merge 2 commits into
huggingface:mainfrom
GMISWE:feat/add-gmicloud-provider

Conversation

@Alas129

@Alas129 Alas129 commented Jul 15, 2026

Copy link
Copy Markdown

Routes chat completions to https://api.gmi-serving.com, with the gmicloud slug mapped to the gmicloudinc Hub org. Follows the existing provider pattern.


Note

Low Risk
Additive provider wiring using the existing BaseConversationalTask pattern; no changes to auth, routing for other providers, or core client behavior.

Overview
Adds GMI Cloud as a third-party inference provider so InferenceClient can target provider: "gmicloud" for chat completion (streaming and non-streaming).

Requests go to https://api.gmi-serving.com via a thin GMICloudConversationalTask on BaseConversationalTask. The provider is registered in INFERENCE_PROVIDERS, PROVIDERS_HUB_ORGS (gmicloudgmicloudinc), getProviderHelper, and dev model-mapping stubs. README lists GMI Cloud and links to the partners model API.

Integration tests cover chatCompletion and chatCompletionStream with HF_GMICLOUD_KEY and a hardcoded deepseek-ai/DeepSeek-V4-Pro mapping.

Reviewed by Cursor Bugbot for commit 2cd7845. Bugbot is set up for automated code reviews on this repo. Configure here.

…ible).

Routes chat completions to https://api.gmi-serving.com, with the gmicloud slug mapped to the gmicloudinc Hub org. Follows the existing provider pattern.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant