@@ -53,7 +53,7 @@ def getBaseDockerImageName(){
53
53
}
54
54
else {
55
55
def ROCM_numeric = parseVersion(" ${ params.ROCMVERSION} " )
56
- if ( ROCM_numeric . major <= 6 && ROCM_numeric . minor < 5 ){
56
+ if ( ROCM_numeric . major <= 7 && ROCM_numeric . minor < 1 ){
57
57
img = " ${ env.CK_DOCKERHUB} :ck_ub24.04_rocm${ params.ROCMVERSION} "
58
58
}
59
59
else {
@@ -476,7 +476,7 @@ def buildHipClangJob(Map conf=[:]){
476
476
def retimage
477
477
(retimage, image) = getDockerImage(conf)
478
478
479
- gitStatusWrapper(credentialsId : " ${ env.ck_git_creds} " , gitHubContext : " Jenkins - ${ variant} " , account : ' ROCm' , repo : ' composable_kernel' ) {
479
+ gitStatusWrapper(credentialsId : " ${ env.ck_git_creds} " , gitHubContext : " ${ variant} " , account : ' ROCm' , repo : ' composable_kernel' ) {
480
480
withDockerContainer(image : image, args : dockerOpts + ' -v=/var/jenkins/:/var/jenkins' ) {
481
481
timeout(time : 20 , unit : ' HOURS' )
482
482
{
@@ -538,7 +538,7 @@ def Build_CK(Map conf=[:]){
538
538
def image
539
539
def retimage
540
540
541
- gitStatusWrapper(credentialsId : " ${ env.ck_git_creds} " , gitHubContext : " Jenkins - ${ variant} " , account : ' ROCm' , repo : ' composable_kernel' ) {
541
+ gitStatusWrapper(credentialsId : " ${ env.ck_git_creds} " , gitHubContext : " ${ variant} " , account : ' ROCm' , repo : ' composable_kernel' ) {
542
542
try {
543
543
(retimage, image) = getDockerImage(conf)
544
544
withDockerContainer(image : image, args : dockerOpts) {
@@ -728,7 +728,7 @@ def process_results(Map conf=[:]){
728
728
def variant = env. STAGE_NAME
729
729
def retimage
730
730
731
- gitStatusWrapper(credentialsId : " ${ env.ck_git_creds} " , gitHubContext : " Jenkins - ${ variant} " , account : ' ROCm' , repo : ' composable_kernel' ) {
731
+ gitStatusWrapper(credentialsId : " ${ env.ck_git_creds} " , gitHubContext : " ${ variant} " , account : ' ROCm' , repo : ' composable_kernel' ) {
732
732
try
733
733
{
734
734
echo " Pulling image: ${ image} "
@@ -836,7 +836,7 @@ def run_aiter_tests(Map conf=[:]){
836
836
dockerOpts = dockerOpts + " --group-add=${ video_id} --group-add=${ render_id} "
837
837
echo " Docker flags: ${ dockerOpts} "
838
838
839
- gitStatusWrapper(credentialsId : " ${ env.ck_git_creds} " , gitHubContext : " Jenkins - ${ variant} " , account : ' ROCm' , repo : ' composable_kernel' ) {
839
+ gitStatusWrapper(credentialsId : " ${ env.ck_git_creds} " , gitHubContext : " ${ variant} " , account : ' ROCm' , repo : ' composable_kernel' ) {
840
840
try
841
841
{
842
842
echo " Pulling image: ${ image} "
@@ -859,6 +859,7 @@ def run_aiter_tests(Map conf=[:]){
859
859
sh " python3 /home/jenkins/workspace/aiter/op_tests/test_gemm_a8w8.py"
860
860
sh " python3 /home/jenkins/workspace/aiter/op_tests/test_gemm_a8w8_blockscale.py"
861
861
sh " python3 /home/jenkins/workspace/aiter/op_tests/test_mha.py"
862
+ sh " python3 /home/jenkins/workspace/aiter/op_tests/test_mha_varlen.py"
862
863
sh " python3 /home/jenkins/workspace/aiter/op_tests/test_moe.py"
863
864
sh " python3 /home/jenkins/workspace/aiter/op_tests/test_moe_2stage.py"
864
865
sh " python3 /home/jenkins/workspace/aiter/op_tests/test_moe_blockscale.py"
@@ -894,7 +895,7 @@ def run_pytorch_tests(Map conf=[:]){
894
895
dockerOpts = dockerOpts + " --group-add=${ video_id} --group-add=${ render_id} "
895
896
echo " Docker flags: ${ dockerOpts} "
896
897
897
- gitStatusWrapper(credentialsId : " ${ env.ck_git_creds} " , gitHubContext : " Jenkins - ${ variant} " , account : ' ROCm' , repo : ' composable_kernel' ) {
898
+ gitStatusWrapper(credentialsId : " ${ env.ck_git_creds} " , gitHubContext : " ${ variant} " , account : ' ROCm' , repo : ' composable_kernel' ) {
898
899
try
899
900
{
900
901
echo " Pulling image: ${ image} "
@@ -930,7 +931,8 @@ def run_pytorch_tests(Map conf=[:]){
930
931
}
931
932
932
933
// launch develop branch daily jobs
933
- CRON_SETTINGS = BRANCH_NAME == " develop" ? ''' 0 23 * * * % RUN_FULL_QA=true;DISABLE_DL_KERNELS=true;RUN_CK_TILE_FMHA_TESTS=true;RUN_TILE_ENGINE_GEMM_TESTS=true;RUN_PERFORMANCE_TESTS=true;RUN_ALL_UNIT_TESTS=true
934
+ CRON_SETTINGS = BRANCH_NAME == " develop" ? ''' 0 23 * * * % RUN_FULL_QA=true;RUN_CK_TILE_FMHA_TESTS=true;RUN_PERFORMANCE_TESTS=true
935
+ 0 22 * * * % RUN_FULL_QA=true;DISABLE_DL_KERNELS=true;RUN_TILE_ENGINE_GEMM_TESTS=true;RUN_PERFORMANCE_TESTS=true;RUN_ALL_UNIT_TESTS=true
934
936
0 21 * * * % RUN_GROUPED_CONV_LARGE_CASES_TESTS=true;hipTensor_test=true;BUILD_GFX908=true;BUILD_GFX942=true;BUILD_GFX950=true;RUN_PERFORMANCE_TESTS=true;RUN_ALL_UNIT_TESTS=true
935
937
0 19 * * * % BUILD_DOCKER=true;COMPILER_VERSION=amd-staging;BUILD_COMPILER=/llvm-project/build/bin/clang++;USE_SCCACHE=false;NINJA_BUILD_TRACE=true;RUN_ALL_UNIT_TESTS=true
936
938
0 17 * * * % BUILD_DOCKER=true;COMPILER_VERSION=amd-mainline;BUILD_COMPILER=/llvm-project/build/bin/clang++;USE_SCCACHE=false;NINJA_BUILD_TRACE=true;RUN_ALL_UNIT_TESTS=true
@@ -957,8 +959,8 @@ pipeline {
957
959
description : ' If you want to use a custom docker image, please specify it here (default: leave blank).' )
958
960
string(
959
961
name : ' ROCMVERSION' ,
960
- defaultValue : ' 6.4 .1' ,
961
- description : ' Specify which ROCM version to use: 6.4 .1 (default).' )
962
+ defaultValue : ' 7.0 .1' ,
963
+ description : ' Specify which ROCM version to use: 7.0 .1 (default).' )
962
964
string(
963
965
name : ' COMPILER_VERSION' ,
964
966
defaultValue : ' ' ,
@@ -1037,8 +1039,8 @@ pipeline {
1037
1039
description : " Build CK and run tests on gfx942 (default: ON)" )
1038
1040
booleanParam(
1039
1041
name : " BUILD_GFX950" ,
1040
- defaultValue : false ,
1041
- description : " Build CK and run tests on gfx950 (default: OFF )" )
1042
+ defaultValue : true ,
1043
+ description : " Build CK and run tests on gfx950 (default: ON )" )
1042
1044
booleanParam(
1043
1045
name : " BUILD_GFX10" ,
1044
1046
defaultValue : true ,
@@ -1290,7 +1292,7 @@ pipeline {
1290
1292
agent{ label rocmnode(" gfx90a" )}
1291
1293
environment{
1292
1294
setup_args = " NO_CK_BUILD"
1293
- execute_args = """ CXX=/opt/rocm/llvm/bin/clang++ cmake ../codegen && \
1295
+ execute_args = """ CXX=/opt/rocm/llvm/bin/clang++ cmake -DCMAKE_PREFIX_PATH=/opt/rocm ../codegen && \
1294
1296
make -j64 check"""
1295
1297
}
1296
1298
steps{
@@ -1350,15 +1352,14 @@ pipeline {
1350
1352
}
1351
1353
agent{ label rocmnode(" gfx950" ) }
1352
1354
environment{
1353
- def docker_name = " ${ env.CK_DOCKERHUB_PRIVATE} :ck_ub24.04_rocm7.0"
1354
1355
setup_args = " NO_CK_BUILD"
1355
1356
execute_args = """ ../script/cmake-ck-dev.sh ../ gfx950 && \
1356
1357
make -j128 tile_example_fmha_fwd tile_example_fmha_bwd && \
1357
1358
cd ../ &&
1358
1359
example/ck_tile/01_fmha/script/run_full_test.sh "CI_${ params.COMPILER_VERSION} " "${ env.BRANCH_NAME} " "${ NODE_NAME} " gfx950 """
1359
1360
}
1360
1361
steps{
1361
- buildHipClangJobAndReboot(setup_args :setup_args, docker_name : docker_name, no_reboot :true , build_type : ' Release' , execute_cmd : execute_args)
1362
+ buildHipClangJobAndReboot(setup_args :setup_args, no_reboot :true , build_type : ' Release' , execute_cmd : execute_args)
1362
1363
cleanWs()
1363
1364
}
1364
1365
}
@@ -1566,7 +1567,7 @@ pipeline {
1566
1567
-DCMAKE_CXX_FLAGS=" -O3 " .. && make -j """
1567
1568
}
1568
1569
steps{
1569
- Build_CK_and_Reboot (setup_args : setup_args, docker_name : " ${ env.CK_DOCKERHUB_PRIVATE } :ck_ub24.04_rocm7.0 " , config_targets : " install" , no_reboot :true , build_type : ' Release' , execute_cmd : execute_args, prefixpath : ' /usr/local' )
1570
+ Build_CK_and_Reboot (setup_args : setup_args, config_targets : " install" , no_reboot :true , build_type : ' Release' , execute_cmd : execute_args, prefixpath : ' /usr/local' )
1570
1571
cleanWs()
1571
1572
}
1572
1573
}
@@ -1631,7 +1632,7 @@ pipeline {
1631
1632
-D CMAKE_BUILD_TYPE=Release \
1632
1633
-D CMAKE_CXX_FLAGS=" -O3 " .. && ninja -j64 """
1633
1634
1634
- buildHipClangJobAndReboot(setup_cmd : " " , build_cmd : " " , no_reboot :true , build_type : ' Release' , execute_cmd : execute_args, docker_name : " ${ env.CK_DOCKERHUB_PRIVATE } :ck_ub24.04_rocm7.0" )
1635
+ buildHipClangJobAndReboot(setup_cmd : " " , build_cmd : " " , no_reboot :true , build_type : ' Release' , execute_cmd : execute_args, docker_name : " ${ env.CK_DOCKERHUB } :ck_ub24.04_rocm7.0.1 " )
1635
1636
}
1636
1637
cleanWs()
1637
1638
}
@@ -1657,13 +1658,13 @@ pipeline {
1657
1658
cleanWs()
1658
1659
}
1659
1660
}
1660
- stage(" Build CK and run Tests on gfx1101 " )
1661
+ stage(" Build CK and run Tests on gfx11 " )
1661
1662
{
1662
1663
when {
1663
1664
beforeAgent true
1664
1665
expression { params. BUILD_GFX11 . toBoolean() && ! params. RUN_FULL_QA . toBoolean() && ! params. BUILD_INSTANCES_ONLY . toBoolean() && ! params. BUILD_LEGACY_OS . toBoolean() }
1665
1666
}
1666
- agent{ label rocmnode( " gfx1101" ) }
1667
+ agent{ label ' miopen && ( gfx1101 || gfx1100) ' }
1667
1668
environment{
1668
1669
setup_args = """ -DCMAKE_INSTALL_PREFIX=../install -DGPU_TARGETS="gfx11-generic" -DUSE_OPT_GFX11=ON -DCMAKE_CXX_FLAGS=" -O3 " """
1669
1670
execute_args = """ cd ../client_example && rm -rf build && mkdir build && cd build && \
0 commit comments