mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-28 10:11:42 +00:00
a yet another method to restart webui
This commit is contained in:
@@ -51,12 +51,14 @@ if EXIST %ACCELERATE% goto :accelerate_launch
|
||||
|
||||
:launch
|
||||
%PYTHON% launch.py %*
|
||||
if EXIST tmp/restart goto :skip_venv
|
||||
pause
|
||||
exit /b
|
||||
|
||||
:accelerate_launch
|
||||
echo Accelerating
|
||||
%ACCELERATE% launch --num_cpu_threads_per_process=6 launch.py
|
||||
if EXIST tmp/restart goto :skip_venv
|
||||
pause
|
||||
exit /b
|
||||
|
||||
|
||||
Reference in New Issue
Block a user