Skip to content

Commit 9bf4b2b

Browse files
Update for comments in 2389
Signed-off-by: cogniware-devops <ambarish.desai@cogniware.ai>
1 parent 1a37476 commit 9bf4b2b

4 files changed

Lines changed: 71 additions & 81 deletions

File tree

CogniwareIms/docker_compose/intel/cpu/xeon/compose.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ services:
5757
MODEL_ID: ${EMBEDDING_MODEL_ID:-BAAI/bge-base-en-v1.5}
5858
PORT: 80
5959
MAX_BATCH_TOKENS: 16384
60-
HF_TOKEN: ${HUGGINGFACEHUB_API_TOKEN}
60+
HF_TOKEN: ${HF_TOKEN}
6161
# Enable faster model downloads
6262
HF_HUB_ENABLE_HF_TRANSFER: "1"
6363
# Intel Xeon optimizations
@@ -132,7 +132,7 @@ services:
132132
environment:
133133
MODEL_ID: ${RERANK_MODEL_ID:-BAAI/bge-reranker-base}
134134
PORT: 80
135-
HF_TOKEN: ${HUGGINGFACEHUB_API_TOKEN}
135+
HF_TOKEN: ${HF_TOKEN}
136136
# Enable faster model downloads
137137
HF_HUB_ENABLE_HF_TRANSFER: "1"
138138
http_proxy: ${http_proxy}
@@ -180,7 +180,7 @@ services:
180180
shm_size: 2g
181181
environment:
182182
MODEL_ID: ${LLM_MODEL_ID:-Intel/neural-chat-7b-v3-3}
183-
HF_TOKEN: ${HUGGINGFACEHUB_API_TOKEN}
183+
HF_TOKEN: ${HF_TOKEN}
184184
MAX_INPUT_LENGTH: 2048
185185
MAX_TOTAL_TOKENS: 4096
186186
PORT: 80
@@ -209,7 +209,7 @@ services:
209209
ipc: host
210210
environment:
211211
TGI_LLM_ENDPOINT: http://tgi-service:80
212-
HUGGINGFACEHUB_API_TOKEN: ${HUGGINGFACEHUB_API_TOKEN}
212+
HUGGINGFACEHUB_API_TOKEN: ${HF_TOKEN}
213213
LLM_MODEL_ID: ${LLM_MODEL_ID:-Intel/neural-chat-7b-v3-3}
214214
http_proxy: ${http_proxy}
215215
https_proxy: ${https_proxy}
@@ -249,7 +249,7 @@ services:
249249
# Cogniware IMS Backend (Megaservice + Application Logic)
250250
cogniwareims-backend:
251251
build:
252-
context: ../../../../ # From docker_compose/intel/cpu/xeon/ go up 4 levels to CogniwareIms root
252+
context: ../../../../ # From docker_compose/intel/cpu/xeon/ go up 4 levels to CogniwareIms root
253253
dockerfile: backend/Dockerfile
254254
container_name: cogniwareims-backend
255255
depends_on:
@@ -297,7 +297,7 @@ services:
297297
# Cogniware IMS Frontend UI
298298
cogniwareims-ui:
299299
build:
300-
context: ../../../../ # From docker_compose/intel/cpu/xeon/ go up 4 levels to CogniwareIms root
300+
context: ../../../../ # From docker_compose/intel/cpu/xeon/ go up 4 levels to CogniwareIms root
301301
dockerfile: frontend/Dockerfile
302302
container_name: cogniwareims-ui
303303
depends_on:

CogniwareIms/frontend/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,3 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \
6060
CMD wget --no-verbose --tries=1 --spider http://localhost:3000 || exit 1
6161

6262
CMD ["node", "server.js"]
63-

CogniwareIms/frontend/package-lock.json

Lines changed: 64 additions & 73 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CogniwareIms/frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"type-check": "tsc --noEmit"
1212
},
1313
"dependencies": {
14-
"next": "^14.2.15",
14+
"next": "^14.2.35",
1515
"react": "^18.2.0",
1616
"react-dom": "^18.2.0",
1717
"lucide-react": "^0.294.0",

0 commit comments

Comments
 (0)