Skip to content

Commit fa2964c

Browse files
committed
fix: adjust aws_c5.18xlarge memory size
1 parent 7254961 commit fa2964c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

torchx/specs/named_resources_aws.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ def aws_m5_2xlarge() -> Resource:
142142

143143
def aws_c5_18xlarge() -> Resource:
144144
return Resource(
145-
cpu=72, gpu=0, memMB=144 * GiB, capabilities={K8S_ITYPE: "c5.18xlarge"}
145+
# using lower memory size than the spec since MEM_TAX is not enough for adjustment
146+
cpu=72, gpu=0, memMB=142 * GiB, capabilities={K8S_ITYPE: "c5.18xlarge"}
146147
)
147148

148149

0 commit comments

Comments
 (0)