Skip to content

Commit

Permalink
Increase CPU mem for ROCm test + remove unneeded mkdir cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
Fiona-Waters authored and openshift-merge-bot[bot] committed Nov 18, 2024
1 parent b2a7320 commit 0ccfaac
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/kfto/core/kfto_training_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ func createKFTOPyTorchJob(test Test, namespace string, config corev1.ConfigMap,
Command: []string{
"/bin/bash", "-c",
`export HF_HOME=/tmp/.cache && \
mkdir /tmp/.triton && \
export TRITON_CACHE_DIR=/tmp/.triton && \
export TOKENIZERS_PARALLELISM=false && \
export RANK=0 && \
Expand Down Expand Up @@ -202,12 +201,12 @@ func createKFTOPyTorchJob(test Test, namespace string, config corev1.ConfigMap,
Resources: corev1.ResourceRequirements{
Requests: corev1.ResourceList{
corev1.ResourceCPU: resource.MustParse("2"),
corev1.ResourceMemory: resource.MustParse("8Gi"),
corev1.ResourceMemory: resource.MustParse("16Gi"),
corev1.ResourceName(gpuLabel): resource.MustParse(fmt.Sprint(numGpus)),
},
Limits: corev1.ResourceList{
corev1.ResourceCPU: resource.MustParse("2"),
corev1.ResourceMemory: resource.MustParse("8Gi"),
corev1.ResourceMemory: resource.MustParse("16Gi"),
corev1.ResourceName(gpuLabel): resource.MustParse(fmt.Sprint(numGpus)),
},
},
Expand Down

0 comments on commit 0ccfaac

Please sign in to comment.