From 98f9127b26ce1ec13a5ab330a9cbd483e9e9ecf4 Mon Sep 17 00:00:00 2001 From: Disty0 Date: Sat, 30 Mar 2024 20:19:29 +0300 Subject: [PATCH] Disable ipexrun by default --- CHANGELOG.md | 4 +++- webui.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d5037a0e5..5cca0b196 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,7 +41,9 @@ - **IPEX** - update to *IPEX 2.1.20* on Linux requires removing the venv folder to update properly - - remove 1024x1024 workaround + - removed 1024x1024 workaround + - disable ipexrun by default + export `IPEXRUN=True` if you want to use ipexrun. - **Fixes**: - Prompt params parser - Fix image save without metadata diff --git a/webui.sh b/webui.sh index bdcb55191..2ecf56670 100755 --- a/webui.sh +++ b/webui.sh @@ -89,7 +89,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 [[ "$@" == *"--use-ipex"* ]] && [[ -z "${first_launch}" ]] && [ -x "$(command -v ipexrun)" ] && [[ -z "${DISABLE_IPEXRUN}" ]] +elif [[ ! -z "${IPEXRUN}" ]] && [ ${IPEXRUN}="True" ] && [ -x "$(command -v ipexrun)" ] then echo "Launching ipexrun launch.py..." exec ipexrun --multi-task-manager 'taskset' --memory-allocator 'jemalloc' launch.py "$@"