From aaafa47481657363508da6ce88a50e91417eb71f Mon Sep 17 00:00:00 2001 From: "Wang, Chuanqi" Date: Thu, 12 Sep 2024 21:59:51 +0800 Subject: [PATCH] Fix xpu env setup for binaries validate script (#1987) --- .github/scripts/validate_binaries.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/validate_binaries.sh b/.github/scripts/validate_binaries.sh index 96a33c9de..db508b469 100755 --- a/.github/scripts/validate_binaries.sh +++ b/.github/scripts/validate_binaries.sh @@ -67,7 +67,7 @@ else if [[ ${TARGET_OS} == 'linux' ]]; then export CONDA_LIBRARY_PATH="$(dirname $(which python))/../lib" export LD_LIBRARY_PATH=$CONDA_LIBRARY_PATH:$LD_LIBRARY_PATH - ${PWD}/check_binary.sh + source ${PWD}/check_binary.sh fi # We are only interested in CUDA tests and Python 3.8-3.11. Not all requirement libraries are available for 3.12 yet.