Skip to content

Commit 8705fdc

Browse files
authored
add aiter test_batch_prefill and simplify jenkins file a bit (#3570)
1 parent 7f91290 commit 8705fdc

1 file changed

Lines changed: 6 additions & 34 deletions

File tree

Jenkinsfile

Lines changed: 6 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -811,41 +811,12 @@ def Build_CK(Map conf=[:]){
811811
archiveArtifacts "perf_*.log"
812812
stash includes: "perf_**.log", name: "perf_log_${arch}"
813813
}
814-
// disable performance tests on gfx1030 for now.
815-
//else if ( arch == "gfx10"){
816-
// run basic tests on gfx1030
817-
// echo "Run gemm performance tests"
818-
// sh "./run_gemm_performance_tests.sh 0 CI_${params.COMPILER_VERSION} ${env.BRANCH_NAME} ${NODE_NAME} gfx10"
819-
// archiveArtifacts "perf_onnx_gemm_gfx10.log"
820-
// stash includes: "perf_onnx_gemm_gfx10.log", name: "perf_log_gfx10"
821-
//}
822-
else if ( arch == "gfx11"){
823-
// run basic tests on gfx11
814+
else if ( arch != "gfx10"){
815+
// run basic tests on gfx11/gfx12/gfx908/gfx950, but not on gfx10, it takes too long
824816
echo "Run gemm performance tests"
825-
sh "./run_gemm_performance_tests.sh 0 CI_${params.COMPILER_VERSION} ${env.BRANCH_NAME} ${NODE_NAME} gfx11"
826-
archiveArtifacts "perf_onnx_gemm_gfx11.log"
827-
stash includes: "perf_onnx_gemm_gfx11.log", name: "perf_log_gfx11"
828-
}
829-
else if ( arch == "gfx120" ){
830-
// run basic tests on gfx12
831-
echo "Run gemm performance tests"
832-
sh "./run_gemm_performance_tests.sh 0 CI_${params.COMPILER_VERSION} ${env.BRANCH_NAME} ${NODE_NAME} gfx12"
833-
archiveArtifacts "perf_onnx_gemm_gfx12.log"
834-
stash includes: "perf_onnx_gemm_gfx12.log", name: "perf_log_gfx12"
835-
}
836-
else if ( arch == "gfx908" ){
837-
// run basic tests on gfx908
838-
echo "Run performance tests"
839-
sh "./run_gemm_performance_tests.sh 0 CI_${params.COMPILER_VERSION} ${env.BRANCH_NAME} ${NODE_NAME} gfx908"
840-
archiveArtifacts "perf_onnx_gemm_gfx908.log"
841-
stash includes: "perf_onnx_gemm_gfx908.log", name: "perf_log_gfx908"
842-
}
843-
else if ( arch == "gfx950" ){
844-
// run basic tests on gfx950
845-
echo "Run performance tests"
846-
sh "./run_gemm_performance_tests.sh 0 CI_${params.COMPILER_VERSION} ${env.BRANCH_NAME} ${NODE_NAME} gfx950"
847-
archiveArtifacts "perf_onnx_gemm_gfx950.log"
848-
stash includes: "perf_onnx_gemm_gfx950.log", name: "perf_log_gfx950"
817+
sh "./run_gemm_performance_tests.sh 0 CI_${params.COMPILER_VERSION} ${env.BRANCH_NAME} ${NODE_NAME} ${arch}"
818+
archiveArtifacts "perf_onnx_gemm_*.log"
819+
stash includes: "perf_onnx_gemm_**.log", name: "perf_log_${arch}"
849820
}
850821
}
851822
}
@@ -1049,6 +1020,7 @@ def run_aiter_tests(Map conf=[:]){
10491020
sh "python3 /home/jenkins/workspace/aiter/op_tests/test_gemm_a8w8_blockscale.py"
10501021
sh "python3 /home/jenkins/workspace/aiter/op_tests/test_mha.py"
10511022
sh "python3 /home/jenkins/workspace/aiter/op_tests/test_mha_varlen.py"
1023+
sh "python3 /home/jenkins/workspace/aiter/op_tests/test_batch_prefill.py"
10521024
sh "python3 /home/jenkins/workspace/aiter/op_tests/test_moe.py"
10531025
sh "python3 /home/jenkins/workspace/aiter/op_tests/test_moe_2stage.py"
10541026
sh "python3 /home/jenkins/workspace/aiter/op_tests/test_moe_blockscale.py"

0 commit comments

Comments
 (0)