Disable ipexrun by default

This commit is contained in:
Disty0
2024-03-30 20:19:29 +03:00
parent bf8a044f7b
commit 98f9127b26
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -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
+1 -1
View File
@@ -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 "$@"