From e925394b99ba4c4e6531a1997ecaeab589a4986a Mon Sep 17 00:00:00 2001 From: Disty0 Date: Fri, 4 Aug 2023 20:01:21 +0300 Subject: [PATCH] Disable ipexrun on WSL --- webui.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui.sh b/webui.sh index dee18931f..550008f2d 100755 --- a/webui.sh +++ b/webui.sh @@ -96,7 +96,7 @@ if [[ ! -z "${ACCELERATE}" ]] && [ ${ACCELERATE}="True" ] && [ -x "$(command -v then echo "Launching accelerate launch.py..." exec accelerate launch --num_cpu_threads_per_process=6 launch.py "$@" -elif [[ -z "${first_launch}" ]] && [ -x "$(command -v ipexrun)" ] && [ -x "$(command -v numactl)" ] && [ -x "$(command -v sycl-ls)" ] +elif [[ -z "${first_launch}" ]] && [[ $(uname -a) != *WSL2* ]] && [ -x "$(command -v ipexrun)" ] && [ -x "$(command -v numactl)" ] && [ -x "$(command -v sycl-ls)" ] then echo "Launching ipexrun launch.py..." exec ipexrun launch.py "$@"