From 1c44805dbc4f39d7c6518987b001985a79ae7ebf Mon Sep 17 00:00:00 2001 From: Ilya Buziuk Date: Fri, 26 Jul 2024 12:41:30 +0200 Subject: [PATCH 1/3] [DO NOT MERGE] Update devfile.yaml --- devfile.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devfile.yaml b/devfile.yaml index a1ba072..3551367 100644 --- a/devfile.yaml +++ b/devfile.yaml @@ -33,7 +33,7 @@ components: memory: 8Gi # nvidia.com/gpu: 1 # Uncomment this if the pod shall be scheduled only on a GPU node container: - image: docker.io/ollama/ollama:latest + image: docker.io/tiangolo/python-machine-learning:python3.7 mountSources: true sourceMapping: /.ollama commands: From ceca8739b5ea490d6e33f18aabab81d15743f2f3 Mon Sep 17 00:00:00 2001 From: Ilya Buziuk Date: Fri, 26 Jul 2024 12:51:49 +0200 Subject: [PATCH 2/3] Update devfile.yaml --- devfile.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/devfile.yaml b/devfile.yaml index 3551367..70e2581 100644 --- a/devfile.yaml +++ b/devfile.yaml @@ -49,8 +49,3 @@ commands: exec: component: udi commandLine: "mkdir /home/user/.continue && cp /projects/cde-ollama-continue/continue-config.json /home/user/.continue/config.json" -events: - postStart: - - pullmodel - - pullautocompletemodel - - copyconfig From d993dd8ca74b66a8050a18c6f41fdee28c29bae5 Mon Sep 17 00:00:00 2001 From: Ilya Buziuk Date: Fri, 26 Jul 2024 13:16:27 +0200 Subject: [PATCH 3/3] Update devfile.yaml with quay.io/opendatahub/workbench-images:cuda-jupyter-tensorflow-ubi9-python-3.9-20240718 --- devfile.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devfile.yaml b/devfile.yaml index 70e2581..02ae157 100644 --- a/devfile.yaml +++ b/devfile.yaml @@ -33,7 +33,7 @@ components: memory: 8Gi # nvidia.com/gpu: 1 # Uncomment this if the pod shall be scheduled only on a GPU node container: - image: docker.io/tiangolo/python-machine-learning:python3.7 + image: quay.io/opendatahub/workbench-images:cuda-jupyter-tensorflow-ubi9-python-3.9-20240718 mountSources: true sourceMapping: /.ollama commands: