Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
S
stable-diffusion-webui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
stable-diffusion-webui
Commits
ac6fd2a5
Commit
ac6fd2a5
authored
Nov 10, 2022
by
d8ahazard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix accelerate check when spaces in path
parent
0a54bd33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
webui.bat
webui.bat
+3
-4
No files found.
webui.bat
View file @
ac6fd2a5
...
@@ -35,8 +35,8 @@ goto :launch
...
@@ -35,8 +35,8 @@ goto :launch
:accelerate
:accelerate
echo "Checking for accelerate"
echo "Checking for accelerate"
dir %VENV_DIR%\Scripts\accelerate.exe >tmp/stdout.txt 2>tmp/stderr.txt
set ACCELERATE="%~dp0%VENV_DIR%\Scripts\accelerate.exe"
if
%ERRORLEVEL% == 0
goto :accelerate_launch
if
EXIST %ACCELERATE%
goto :accelerate_launch
:launch
:launch
%PYTHON% launch.py %*
%PYTHON% launch.py %*
...
@@ -44,8 +44,7 @@ pause
...
@@ -44,8 +44,7 @@ pause
exit /b
exit /b
:accelerate_launch
:accelerate_launch
echo "Accelerating2"
echo "Accelerating"
set ACCELERATE="%~dp0%VENV_DIR%\Scripts\accelerate.exe"
%ACCELERATE% launch --num_cpu_threads_per_process=6 launch.py
%ACCELERATE% launch --num_cpu_threads_per_process=6 launch.py
pause
pause
exit /b
exit /b
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment