File tree Expand file tree Collapse file tree 1 file changed +4
-53
lines changed Expand file tree Collapse file tree 1 file changed +4
-53
lines changed Original file line number Diff line number Diff line change 11schemaVersion : 2.2.2
22metadata :
3- name : ollama
3+ generateName : ollama
44 displayName : Ollama
55 description : Get up and running with large language models with Ollama, Continue, Llama3, and StarCoder2
66 icon : https://ollama.com/public/ollama.png
@@ -11,55 +11,6 @@ metadata:
1111 - Starcoder2
1212 projectType : universal
1313 language : Polyglot
14- version : 1.0.0
15- projects :
16- - name : cde-ollama-continue
17- git :
18- remotes :
19- origin : ' https://github.com/redhat-developer-demos/cde-ollama-continue'
20- checkoutFrom :
21- revision : main
22- components :
23- - name : udi
24- container :
25- image : quay.io/devfile/universal-developer-image:ubi8-98224a3
26- memoryLimit : 4Gi
27- memoryRequest : 2Gi
28- cpuLimit : 4000m
29- cpuRequest : 1000m
30- mountSources : true
31- sourceMapping : /projects
32- - name : ollama
33- attributes :
34- container-overrides :
35- resources :
36- limits :
37- cpu : 4000m
38- memory : 12Gi
39- # nvidia.com/gpu: 1 # Uncomment this if the pod shall be scheduled only on a GPU node
40- requests :
41- cpu : 1000m
42- memory : 8Gi
43- # nvidia.com/gpu: 1 # Uncomment this if the pod shall be scheduled only on a GPU node
44- container :
45- image : docker.io/ollama/ollama:0.1.34
46- mountSources : true
47- sourceMapping : /.ollama
48- commands :
49- - id : pullmodel
50- exec :
51- component : ollama
52- commandLine : " ollama pull llama3:8b"
53- - id : pullautocompletemodel
54- exec :
55- component : ollama
56- commandLine : " ollama pull starcoder2:3b"
57- - id : copyconfig
58- exec :
59- component : udi
60- commandLine : " mkdir /home/user/.continue && cp /projects/cde-ollama-continue/continue-config.json /home/user/.continue/config.json"
61- events :
62- postStart :
63- - pullmodel
64- - pullautocompletemodel
65- - copyconfig
14+ version : 1.0.1
15+ parent :
16+ uri : https://raw.githubusercontent.com/redhat-developer-demos/cde-ollama-continue/main/devfile.yaml
You can’t perform that action at this time.
0 commit comments