Skip to content

Commit de37faf

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

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

torchx/specs/named_resources_aws.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,11 @@ 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,
147+
gpu=0,
148+
memMB=142 * GiB,
149+
capabilities={K8S_ITYPE: "c5.18xlarge"},
146150
)
147151

148152

0 commit comments

Comments
 (0)