From 0349b7f80c7a548edbecb1428e4329dfe3b289e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pep=20Turr=C3=B3=20Mauri?= Date: Fri, 5 May 2023 17:44:30 +0200 Subject: [PATCH] Build the text generation app from a CUDA base image MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pep TurrĂ³ Mauri --- manifests/text-generation-webui.yaml | 32 ++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/manifests/text-generation-webui.yaml b/manifests/text-generation-webui.yaml index a9ab746..96df6c1 100644 --- a/manifests/text-generation-webui.yaml +++ b/manifests/text-generation-webui.yaml @@ -29,8 +29,7 @@ spec: sourceStrategy: from: kind: ImageStreamTag - name: python:3.9-ubi8 - namespace: openshift + name: cuda-base-ubi9:cuda-base-ubi9-py39_2023b_latest type: Source triggers: - generic: @@ -227,6 +226,35 @@ spec: lookupPolicy: local: false --- +apiVersion: image.openshift.io/v1 +kind: ImageStream +metadata: + labels: + app: text-generation-webui + app.kubernetes.io/component: text-generation-webui + app.kubernetes.io/instance: text-generation-webui + app.kubernetes.io/name: text-generation-webui + app.kubernetes.io/part-of: text-generation-webui-app + app.openshift.io/runtime: python + app.openshift.io/runtime-version: 3.9-ubi9 + name: cuda-base-ubi9 +spec: + lookupPolicy: + local: false + tags: + - name: cuda-base-ubi9-py39_2023b_latest + annotations: + openshift.io/imported-from: >- + quay.io/opendatahub-contrib/workbench-images:cuda-base-ubi9-py39_2023b_latest + from: + kind: DockerImage + name: >- + quay.io/opendatahub-contrib/workbench-images:cuda-base-ubi9-py39_2023b_latest + importPolicy: + importMode: Legacy + referencePolicy: + type: Source +--- apiVersion: batch/v1 kind: Job metadata: