File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 78
78
79
79
pushd ${PWD} /.ci/pytorch/
80
80
81
- if [[ ${MATRIX_GPU_ARCH_VERSION} == " 12.6" || ${MATRIX_GPU_ARCH_TYPE} == " xpu" ]]; then
81
+ if [[ ${MATRIX_GPU_ARCH_VERSION} == " 12.6" || ${MATRIX_GPU_ARCH_TYPE} == " xpu" || ${MATRIX_GPU_ARCH_TYPE} == " rocm " ]]; then
82
82
export DESIRED_DEVTOOLSET=" cxx11-abi"
83
+
84
+ # TODO: enable torch-compile on ROCM
85
+ if [[ ${MATRIX_GPU_ARCH_TYPE} == " rocm" ]]; then
86
+ TEST_SUFFIX=${TEST_SUFFIX} " --torch-compile-check disabled"
87
+ fi
83
88
fi
84
89
85
90
if [[ ${TARGET_OS} == ' linux' ]]; then
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ jobs:
134
134
repository : " pytorch/pytorch"
135
135
ref : main
136
136
job-name : ${{ matrix.build_name }}
137
- docker-image : ${{ (matrix.gpu_arch_type == 'xpu' && matrix.container_image) || (matrix.gpu_arch_version == '12.6' && 'pytorch/almalinux-builder:cpu-main') || 'pytorch/conda-builder' }}
137
+ docker-image : ${{ (( matrix.gpu_arch_type == 'xpu' || matrix.gpu_arch_type == 'rocm') && matrix.container_image) || (matrix.gpu_arch_version == '12.6' && 'pytorch/almalinux-builder:cpu-main') || 'pytorch/conda-builder' }}
138
138
binary-matrix : ${{ toJSON(matrix) }}
139
139
docker-build-dir : " skip-docker-build"
140
140
timeout : 180
You can’t perform that action at this time.
0 commit comments