Skip to content

Commit ca5ec1d

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents e469a4b + b7e0b74 commit ca5ec1d

File tree

3 files changed

+22
-12
lines changed

3 files changed

+22
-12
lines changed

tests/common/environment.go

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,20 @@ const (
4242
)
4343

4444
const (
45-
tierSmoke = "Smoke"
46-
tierSanity = "Sanity"
47-
tier1 = "Tier1"
48-
tier2 = "Tier2"
49-
tier3 = "Tier3"
50-
preUpgrade = "Pre-Upgrade"
51-
postUpgrade = "Post-Upgrade"
52-
kftoCuda = "KFTO-CUDA"
53-
kftoRocm = "KFTO-ROCm"
45+
tierSmoke = "Smoke"
46+
tierSanity = "Sanity"
47+
tier1 = "Tier1"
48+
tier2 = "Tier2"
49+
tier3 = "Tier3"
50+
preUpgrade = "Pre-Upgrade"
51+
postUpgrade = "Post-Upgrade"
52+
kftoCuda = "KFTO-CUDA"
53+
kftoRocm = "KFTO-ROCm"
54+
examplesCuda = "Examples-CUDA"
55+
examplesRocm = "Examples-ROCm"
5456
)
5557

56-
var testTiers = []string{tierSmoke, tierSanity, tier1, tier2, tier3, preUpgrade, postUpgrade, kftoCuda, kftoRocm}
58+
var testTiers = []string{tierSmoke, tierSanity, tier1, tier2, tier3, preUpgrade, postUpgrade, kftoCuda, kftoRocm, examplesCuda, examplesRocm}
5759

5860
var testTierParam string
5961

tests/common/test_tag.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,14 @@ var KftoRocm = func(test Test) (runTest bool, skipReason string) {
7777
return testTier(test, kftoRocm)
7878
}
7979

80+
var ExamplesCuda = func(test Test) (runTest bool, skipReason string) {
81+
return testTier(test, examplesCuda)
82+
}
83+
84+
var ExamplesRocm = func(test Test) (runTest bool, skipReason string) {
85+
return testTier(test, examplesRocm)
86+
}
87+
8088
func Gpu(accelerator Accelerator) func(test Test) (runTest bool, skipReason string) {
8189
return func(test Test) (runTest bool, skipReason string) {
8290
return isGpuCountAvailableForNodes(test, 1, accelerator.ResourceLabel, 1)

tests/kfto/kfto_sft_llm_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ import (
3939
)
4040

4141
func TestKftoSftLlmLlama3_1_8BInstructWithCudaPyTorch251(t *testing.T) {
42-
Tags(t, KftoCuda)
42+
Tags(t, ExamplesCuda)
4343
kftoSftLlm(t, GetTrainingCudaPyTorch251Image(), NVIDIA, "meta-llama/Llama-3.1-8B-Instruct")
4444
}
4545

4646
func TestKftoSftLlmLlama3_1_8BInstructWithROCmPyTorch251(t *testing.T) {
47-
Tags(t, KftoRocm)
47+
Tags(t, ExamplesRocm)
4848
kftoSftLlm(t, GetTrainingROCmPyTorch251Image(), AMD, "meta-llama/Llama-3.1-8B-Instruct")
4949
}
5050

0 commit comments

Comments
 (0)