From b417e32da2c05707137f2bc6f2c53f742c1db1b8 Mon Sep 17 00:00:00 2001 From: "Wang, Chuanqi" Date: Mon, 26 Aug 2024 15:35:48 +0000 Subject: [PATCH] [CD] fix xpu nightly wheel test env (#134395) (#134464) Due to the https://github.com/pytorch/builder/pull/1972 landed, it will source xpu env duplicated in nightly wheel test. Works for https://github.com/pytorch/pytorch/issues/114850 Realnd of #134395 to be landed with pytorchmergebot Pull Request resolved: https://github.com/pytorch/pytorch/pull/134464 Approved by: https://github.com/jeanschmidt Co-authored-by: Wang, Chuanqi --- .circleci/scripts/binary_linux_test.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.circleci/scripts/binary_linux_test.sh b/.circleci/scripts/binary_linux_test.sh index 5d92c9099bff..c30814982ef9 100755 --- a/.circleci/scripts/binary_linux_test.sh +++ b/.circleci/scripts/binary_linux_test.sh @@ -116,12 +116,6 @@ if [[ "$PACKAGE_TYPE" == libtorch ]]; then cd /tmp/libtorch fi -if [[ "$GPU_ARCH_TYPE" == xpu ]]; then - # Refer https://www.intel.com/content/www/us/en/developer/articles/tool/pytorch-prerequisites-for-intel-gpu/2-5.html - source /opt/intel/oneapi/pytorch-gpu-dev-0.5/oneapi-vars.sh - source /opt/intel/oneapi/pti/latest/env/vars.sh -fi - # Test the package /builder/check_binary.sh