Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/inference/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Currently, we support the following providers:
- [Fireworks AI](https://fireworks.ai)
- [HF Inference](https://huggingface.co/docs/inference-providers/providers/hf-inference)
- [Hyperbolic](https://hyperbolic.xyz)
- [Hyperfusion](https://hyperfusion.io)
- [Nebius](https://studio.nebius.ai)
- [Novita](https://novita.ai)
- [Nscale](https://nscale.com)
Expand Down Expand Up @@ -87,6 +88,7 @@ Only a subset of models are supported when requesting third-party providers. You
- [Fireworks AI supported models](https://huggingface.co/api/partners/fireworks-ai/models)
- [HF Inference supported models](https://huggingface.co/api/partners/hf-inference/models)
- [Hyperbolic supported models](https://huggingface.co/api/partners/hyperbolic/models)
- [Hyperfusion supported models](https://huggingface.co/api/partners/hyperfusion/models)
- [Nebius supported models](https://huggingface.co/api/partners/nebius/models)
- [Nscale supported models](https://huggingface.co/api/partners/nscale/models)
- [OVHcloud supported models](https://huggingface.co/api/partners/ovhcloud/models)
Expand Down
4 changes: 4 additions & 0 deletions packages/inference/src/lib/getProviderHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import * as Fireworks from "../providers/fireworks-ai.js";
import * as Groq from "../providers/groq.js";
import * as HFInference from "../providers/hf-inference.js";
import * as Hyperbolic from "../providers/hyperbolic.js";
import * as Hyperfusion from "../providers/hyperfusion.js"
import * as Nebius from "../providers/nebius.js";
import * as Novita from "../providers/novita.js";
import * as Nscale from "../providers/nscale.js";
Expand Down Expand Up @@ -114,6 +115,9 @@ export const PROVIDERS: Record<InferenceProvider, Partial<Record<InferenceTask,
conversational: new Hyperbolic.HyperbolicConversationalTask(),
"text-generation": new Hyperbolic.HyperbolicTextGenerationTask(),
},
hyperfusion: {
conversational: new Hyperfusion.HyperfusionConversationalTask(),
},
nebius: {
"text-to-image": new Nebius.NebiusTextToImageTask(),
conversational: new Nebius.NebiusConversationalTask(),
Expand Down
1 change: 1 addition & 0 deletions packages/inference/src/providers/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export const HARDCODED_MODEL_INFERENCE_MAPPING: Record<
groq: {},
"hf-inference": {},
hyperbolic: {},
hyperfusion:{},
nebius: {},
novita: {},
nscale: {},
Expand Down
10 changes: 10 additions & 0 deletions packages/inference/src/providers/hyperfusion.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

import { BaseConversationalTask } from "./providerHelper.js";

const HYPERFUSION_API_BASE_URL = "https://api.hyperfusion.io";

export class HyperfusionConversationalTask extends BaseConversationalTask {
constructor() {
super("hyperfusion", HYPERFUSION_API_BASE_URL);
}
}
1 change: 1 addition & 0 deletions packages/inference/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export const INFERENCE_PROVIDERS = [
"groq",
"hf-inference",
"hyperbolic",
"hyperfusion",
"nebius",
"novita",
"nscale",
Expand Down