Skip to content
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

Nebius info actualized #4138

Merged
merged 1 commit into from
Feb 15, 2025
Merged
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 core/llm/autodetect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ const PROVIDER_HANDLES_TEMPLATING: string[] = [
"sambanova",
"vertexai",
"watsonx",
"nebius",
];

const PROVIDER_SUPPORTS_IMAGES: string[] = [
Expand All @@ -68,6 +69,7 @@ const PROVIDER_SUPPORTS_IMAGES: string[] = [
"vertexai",
"azure",
"scaleway",
"nebius",
];

const MODEL_SUPPORTS_IMAGES: string[] = [
Expand Down
4 changes: 4 additions & 0 deletions core/llm/llms/Nebius.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ class Nebius extends OpenAI {
};

private static MODEL_IDS: { [name: string]: string } = {
"deepseek/deepseek_v3": "deepseek-ai/DeepSeek-V3",
"deepseek/deepseek-r1": "deepseek-ai/DeepSeek-R1",
"qwen2.5-coder-32b": "Qwen/Qwen2.5-Coder-32B-Instruct-fast",
"Qwen/QwQ-32B-Preview": "Qwen/QwQ-32B-Preview",
"llama3.1-70b-nemotron": "nvidia/Llama-3.1-Nemotron-70B-Instruct-HF-fast",
"llama3.1-8b": "meta-llama/Meta-Llama-3.1-70B-Instruct-fast",
"llama3.1-70b": "meta-llama/Meta-Llama-3.1-70B-Instruct-fast",
Expand Down
16 changes: 8 additions & 8 deletions gui/src/pages/AddNewModel/configs/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const models: { [key: string]: ModelPackage } = {
},
},
],
providerOptions: ["novita"],
providerOptions: ["novita", "nebius"],
isOpenSource: true,
},
deepseekR1Chat: {
Expand All @@ -84,7 +84,7 @@ export const models: { [key: string]: ModelPackage } = {
},
},
],
providerOptions: ["novita"],
providerOptions: ["novita", "nebius"],
isOpenSource: true,
},
llama318BChat: {
Expand Down Expand Up @@ -499,7 +499,7 @@ export const models: { [key: string]: ModelPackage } = {
contextLength: 8192,
},
icon: "meta.png",
providerOptions: ["groq", "scaleway"],
providerOptions: ["groq", "scaleway", "nebius"],
isOpenSource: false,
},
llama3170bChat: {
Expand All @@ -512,7 +512,7 @@ export const models: { [key: string]: ModelPackage } = {
contextLength: 8192,
},
icon: "meta.png",
providerOptions: ["groq", "scaleway"],
providerOptions: ["groq", "scaleway", "nebius"],
isOpenSource: false,
},
llama31405bChat: {
Expand All @@ -525,7 +525,7 @@ export const models: { [key: string]: ModelPackage } = {
contextLength: 8192,
},
icon: "meta.png",
providerOptions: ["groq"],
providerOptions: ["groq", "nebius"],
isOpenSource: false,
},
llama3170bNemotron: {
Expand All @@ -551,7 +551,7 @@ export const models: { [key: string]: ModelPackage } = {
contextLength: 8192,
},
icon: "meta.png",
providerOptions: ["ollama", "groq", "llama.cpp", "sambanova"],
providerOptions: ["ollama", "groq", "llama.cpp", "sambanova", "nebius"],
isOpenSource: false,
},
llama323bChat: {
Expand Down Expand Up @@ -1371,10 +1371,10 @@ export const models: { [key: string]: ModelPackage } = {
params: {
title: "Qwen 2.5 Coder 32b",
model: "qwen2.5-coder-32b",
contextLength: 128_000,
contextLength: 32_000,
},
icon: "qwen.png",
providerOptions: ["scaleway"],
providerOptions: ["scaleway", "nebius"],
isOpenSource: true,
},
grokBeta: {
Expand Down
4 changes: 4 additions & 0 deletions gui/src/pages/AddNewModel/configs/providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -867,6 +867,10 @@ To get started, [register](https://dataplatform.cloud.ibm.com/registration/stepo
icon: "nebius.png",
tags: [ModelProviderTags.RequiresApiKey, ModelProviderTags.OpenSource],
packages: [
models.deepseekR1Chat,
models.deepseekV3Chat,
models.QwenQwQ_32b_preview,
models.Qwen25Coder_32b,
models.llama318bChat,
models.llama3170bChat,
models.llama31405bChat,
Expand Down
Loading