Skip to content

Commit b9708d9

Browse files
committed
cleanup
Signed-off-by: Stephanie <[email protected]>
1 parent e52e980 commit b9708d9

File tree

7 files changed

+6
-11
lines changed

7 files changed

+6
-11
lines changed

scripts/envs/audio-to-text

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ export INIT_CONTAINER="quay.io/redhat-ai-dev/whisper-small:latest"
66
export APP_PORT=8501
77
export MODEL_SERVICE_CONTAINER="quay.io/redhat-ai-dev/whispercpp:latest"
88
export MODEL_SERVICE_PORT=8001
9-
export SUPPORT_VLLM=false
109

11-
# export MODEL_SERVER_RUN_AS_ROOT=true
10+
# vllm configurations
11+
export SUPPORT_VLLM=false
1212

1313
# for gitlab case, since gitlab does not have pipeline webhook pre-set to trigger the initial build
1414
export APP_INTERFACE_CONTAINER="quay.io/redhat-ai-dev/audio-to-text:latest"

scripts/envs/chatbot

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@ export APP_PORT=8501
77
export MODEL_SERVICE_CONTAINER="quay.io/ai-lab/llamacpp_python:latest"
88
export MODEL_SERVICE_PORT=8001
99

10+
# vllm configurations
1011
export SUPPORT_VLLM=true
1112
export VLLM_CONTAINER="quay.io/rh-aiservices-bu/vllm-openai-ubi9:0.4.2"
1213
export VLLM_MODEL_NAME="instructlab/granite-7b-lab"
1314
export VLLM_MAX_MODEL_LEN=4096
1415

15-
# export MODEL_SERVER_RUN_AS_ROOT=false
16-
1716
# for gitlab case, since gitlab does not have pipeline webhook pre-set to trigger the initial build
1817
export APP_INTERFACE_CONTAINER="quay.io/redhat-ai-dev/chatbot:latest"

scripts/envs/codegen

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ export APP_PORT=8501
77
export MODEL_SERVICE_CONTAINER="quay.io/ai-lab/llamacpp_python:latest"
88
export MODEL_SERVICE_PORT=8001
99

10+
# vllm configurations
1011
export SUPPORT_VLLM=true
1112
export VLLM_CONTAINER="quay.io/rh-aiservices-bu/vllm-openai-ubi9:0.4.2"
1213
export VLLM_MODEL_NAME="Nondzu/Mistral-7B-code-16k-qlora"
1314
export VLLM_MAX_MODEL_LEN=6144
1415

15-
# export MODEL_SERVER_RUN_AS_ROOT=false
1616

1717
# for gitlab case, since gitlab does not have pipeline webhook pre-set to trigger the initial build
1818
export APP_INTERFACE_CONTAINER="quay.io/redhat-ai-dev/codegen:latest"

skeleton/template.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@ spec:
250250
maxModelLength: ${VLLM_MAX_MODEL_LEN}
251251
# for RHOAI
252252
rhoaiSelected: ${{ parameters.rhoaiSelected }}
253-
# runAsRoot: ${MODEL_SERVER_RUN_AS_ROOT}
254253
- action: fs:rename
255254
id: renameComponentDir
256255
name: Rename Component Directory

templates/audio-to-text/template.yaml

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: scaffolder.backstage.io/v1beta3
22
# https://backstage.io/docs/features/software-catalog/descriptor-format#kind-template
33
kind: Template
44
metadata:
5-
name: audio-to-text4
6-
title: Audio to Text Application4
5+
name: audio-to-text
6+
title: Audio to Text Application
77
description: Audio to Text Application example with AI enabled audio transcription
88
tags: ["ai", "whispercpp", "python", "asr"]
99
spec:
@@ -236,7 +236,6 @@ spec:
236236
maxModelLength:
237237
# for RHOAI
238238
rhoaiSelected: ${{ parameters.rhoaiSelected }}
239-
# runAsRoot:
240239
- action: fs:rename
241240
id: renameComponentDir
242241
name: Rename Component Directory

templates/chatbot/template.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@ spec:
250250
maxModelLength: 4096
251251
# for RHOAI
252252
rhoaiSelected: ${{ parameters.rhoaiSelected }}
253-
# runAsRoot:
254253
- action: fs:rename
255254
id: renameComponentDir
256255
name: Rename Component Directory

templates/codegen/template.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@ spec:
250250
maxModelLength: 6144
251251
# for RHOAI
252252
rhoaiSelected: ${{ parameters.rhoaiSelected }}
253-
# runAsRoot:
254253
- action: fs:rename
255254
id: renameComponentDir
256255
name: Rename Component Directory

0 commit comments

Comments
 (0)