File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
.github/actions/test-pytorch-binary Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3535 )
3636
3737 echo "CONTAINER_NAME=${container_name}" >> "$GITHUB_ENV"
38- if [[ "${GPU_ARCH_TYPE}" != "rocm" && "${BUILD_ENVIRONMENT}" != "linux-aarch64-binary-manywheel" && "${BUILD_ENVIRONMENT}" != "linux-s390x-binary-manywheel" && "${GPU_ARCH_TYPE}" != "xpu" ]]; then
38+ if [[ "${GPU_ARCH_TYPE}" != "rocm" && "${BUILD_ENVIRONMENT}" != "linux-aarch64-binary-manywheel" && "${BUILD_ENVIRONMENT}" != "linux-s390x-binary-manywheel" && "${BUILD_ENVIRONMENT}" != "linux-ppc64le-binary-manywheel" && "${ GPU_ARCH_TYPE}" != "xpu" ]]; then
3939 # Propagate download.pytorch.org IP to container. This is only needed on Linux non aarch64 runner
4040 grep download.pytorch.org /etc/hosts | docker exec -i "${container_name}" bash -c "/bin/cat >> /etc/hosts"
4141 fi
4646 docker exec -t "${container_name}" bash -c "source ${BINARY_ENV_FILE} && bash -x /run.sh"
4747
4848 - name : Cleanup docker
49- if : always() && (env.BUILD_ENVIRONMENT == 'linux-s390x-binary-manywheel' || env.GPU_ARCH_TYPE == 'xpu')
49+ if : always() && (env.BUILD_ENVIRONMENT == 'linux-s390x-binary-manywheel' || "${BUILD_ENVIRONMENT}" != "linux-ppc64le-binary-manywheel" || env.GPU_ARCH_TYPE == 'xpu')
5050 shell : bash
5151 run : |
5252 # on s390x or xpu stop the container for clean worker stop
You can’t perform that action at this time.
0 commit comments