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 @@ -18,21 +18,21 @@ spec:
18
18
custompodresources :
19
19
- replicas : 1
20
20
requests :
21
- cpu : 2
22
- memory : 8G
21
+ cpu : 1
22
+ memory : 4G
23
23
nvidia.com/gpu : 0
24
24
limits :
25
- cpu : 2
26
- memory : 8G
25
+ cpu : 1
26
+ memory : 4G
27
27
nvidia.com/gpu : 0
28
28
- replicas : 3
29
29
requests :
30
- cpu : 2
31
- memory : 12G
30
+ cpu : 1
31
+ memory : 4G
32
32
nvidia.com/gpu : 1
33
33
limits :
34
- cpu : 2
35
- memory : 12G
34
+ cpu : 1
35
+ memory : 4G
36
36
nvidia.com/gpu : 1
37
37
generictemplate :
38
38
# 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