Skip to content

Commit ed81773

Browse files
committed
Update fms-hf-tuning e2e test
Signed-off-by: ted chang <[email protected]>
1 parent f46d74d commit ed81773

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

test/e2e/config.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"accelerate_launch_args": {
3+
"num_processes": 1
4+
},
25
"model_name_or_path": "bigscience/bloom-560m",
36
"training_data_path": "/etc/config/twitter_complaints_small.json",
47
"output_dir": "/tmp/out",

test/e2e/kfto_kueue_sft_test.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
//go:build ignore
2-
31
/*
42
Copyright 2023.
53
@@ -94,9 +92,9 @@ func TestPytorchjobWithSFTtrainer(t *testing.T) {
9492
Containers: []corev1.Container{
9593
{
9694
Name: "pytorch",
97-
Image: "quay.io/tedchang/sft-trainer:dev",
95+
Image: "quay.io/modh/fms-hf-tuning:5d8789723ec58ac1bc9c2df704395f162fed974a",
9896
ImagePullPolicy: corev1.PullIfNotPresent,
99-
Command: []string{"python", "/app/launch_training.py"},
97+
Command: []string{"python", "/app/accelerate_launch.py"},
10098
Env: []corev1.EnvVar{
10199
{
102100
Name: "SFT_TRAINER_CONFIG_JSON_PATH",

test/e2e/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ docker build -t ${KFTO_IMG} -f ${BASE_DIR}/build/images/training-operator/Docker
1919

2020
echo "Load training operator image into cluster"
2121
kind load --name training-operator-cluster docker-image training-operator:dev
22-
KFTO_IMG=training-operator:dev make deploy
22+
IMG=training-operator:dev make deploy

0 commit comments

Comments
 (0)