[CD] fix xpu nightly wheel test env (#134395)

This commit is contained in:
Wang, Chuanqi 2024-08-26 20:53:15 +08:00 committed by GitHub
parent 1ff226d88c
commit 96738c9d75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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