File tree Expand file tree Collapse file tree 3 files changed +21
-19
lines changed
src/codeflare_sdk/templates Expand file tree Collapse file tree 3 files changed +21
-19
lines changed Original file line number Diff line number Diff line change @@ -16,21 +16,21 @@ spec:
16
16
custompodresources :
17
17
- replicas : 1
18
18
requests :
19
- cpu : 2
20
- memory : 8G
19
+ cpu : 1
20
+ memory : 4G
21
21
nvidia.com/gpu : 0
22
22
limits :
23
- cpu : 2
24
- memory : 8G
23
+ cpu : 1
24
+ memory : 4G
25
25
nvidia.com/gpu : 0
26
26
- replicas : 3
27
27
requests :
28
- cpu : 2
29
- memory : 12G
28
+ cpu : 1
29
+ memory : 4G
30
30
nvidia.com/gpu : 1
31
31
limits :
32
- cpu : 2
33
- memory : 12G
32
+ cpu : 1
33
+ memory : 4G
34
34
nvidia.com/gpu : 1
35
35
generictemplate :
36
36
# This config demonstrates KubeRay's Ray autoscaler integration.
Original file line number Diff line number Diff line change 9
9
10
10
namespace = sys .argv [1 ]
11
11
12
- cluster = Cluster (ClusterConfiguration (
13
- name = 'mnist' ,
14
- namespace = namespace ,
15
- num_workers = 1 ,
16
- min_cpus = '500m' ,
17
- max_cpus = 1 ,
18
- min_memory = 0.5 ,
19
- max_memory = 1 ,
20
- num_gpus = 0 ,
21
- instascale = False ,
22
- ))
12
+ cluster = Cluster (
13
+ ClusterConfiguration (
14
+ name = "mnist" ,
15
+ namespace = namespace ,
16
+ num_workers = 1 ,
17
+ min_cpus = "500m" ,
18
+ max_cpus = 1 ,
19
+ min_memory = 0.5 ,
20
+ max_memory = 1 ,
21
+ num_gpus = 0 ,
22
+ instascale = False ,
23
+ )
24
+ )
23
25
24
26
cluster .up ()
25
27
You can’t perform that action at this time.
0 commit comments