Skip to content

Commit

Permalink
Merge pull request #43 from codificat/build-cuda
Browse files Browse the repository at this point in the history
Build the text generation app from a CUDA base image
  • Loading branch information
Shreyanand authored May 5, 2023
2 parents c89b2a7 + 0349b7f commit 49662f3
Showing 1 changed file with 30 additions and 2 deletions.
32 changes: 30 additions & 2 deletions manifests/text-generation-webui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 49662f3

Please sign in to comment.