mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
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 <chuanqi.wang@intel.com>
This commit is contained in:
parent
c507f402f1
commit
b417e32da2
|
|
@ -116,12 +116,6 @@ if [[ "$PACKAGE_TYPE" == libtorch ]]; then
|
||||||
cd /tmp/libtorch
|
cd /tmp/libtorch
|
||||||
fi
|
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
|
# Test the package
|
||||||
/builder/check_binary.sh
|
/builder/check_binary.sh
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user