mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
Disable ipexrun by default
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
@@ -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 "$@"
|
||||
|
||||
Reference in New Issue
Block a user