Skip to content

Commit 24b86e9

Browse files
authored
fix/nvidia-nim-2 (#4208)
* fix: update nim-container-manager * feat: add "DeepSeek R1 Distill Llama 8B"
1 parent 6aa78fb commit 24b86e9

File tree

4 files changed

+126
-112
lines changed

4 files changed

+126
-112
lines changed

packages/server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
"multer": "^1.4.5-lts.1",
9898
"multer-s3": "^3.0.1",
9999
"mysql2": "^3.11.3",
100-
"nim-container-manager": "^1.0.5",
100+
"flowise-nim-container-manager": "^1.0.6",
101101
"openai": "^4.82.0",
102102
"pg": "^8.11.1",
103103
"posthog-node": "^3.5.0",

packages/server/src/controllers/nvidia-nim/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import axios from 'axios'
2-
import { Request, Response, NextFunction } from 'express'
2+
import { NextFunction, Request, Response } from 'express'
33

4-
const { NimContainerManager } = require('nim-container-manager')
4+
const { NimContainerManager } = require('flowise-nim-container-manager')
55

66
const getToken = async (req: Request, res: Response, next: NextFunction) => {
77
try {

packages/ui/src/ui-component/dialog/NvidiaNIMDialog.jsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,17 @@ const NvidiaNIMDialog = ({ open, onClose, onComplete }) => {
2222
const portalElement = document.getElementById('portal')
2323

2424
const modelOptions = {
25-
'nvcr.io/nim/nv-mistralai/mistral-nemo-12b-instruct:1.8.0-rtx': {
26-
label: 'Mistral Nemo 12B Instruct',
27-
licenseUrl: 'https://catalog.ngc.nvidia.com/orgs/nim/teams/nv-mistralai/containers/mistral-nemo-12b-instruct'
28-
},
2925
'nvcr.io/nim/meta/llama-3.1-8b-instruct:1.8.0-RTX': {
3026
label: 'Llama 3.1 8B Instruct',
3127
licenseUrl: 'https://catalog.ngc.nvidia.com/orgs/nim/teams/meta/containers/llama-3.1-8b-instruct'
28+
},
29+
'nvcr.io/nim/deepseek-ai/deepseek-r1-distill-llama-8b:1.8.0-RTX': {
30+
label: 'DeepSeek R1 Distill Llama 8B',
31+
licenseUrl: 'https://catalog.ngc.nvidia.com/orgs/nim/teams/deepseek-ai/containers/deepseek-r1-distill-llama-8b'
32+
},
33+
'nvcr.io/nim/nv-mistralai/mistral-nemo-12b-instruct:1.8.0-rtx': {
34+
label: 'Mistral Nemo 12B Instruct',
35+
licenseUrl: 'https://catalog.ngc.nvidia.com/orgs/nim/teams/nv-mistralai/containers/mistral-nemo-12b-instruct'
3236
}
3337
}
3438

0 commit comments

Comments
 (0)