Skip to main content

Stable-diffusion-webui webui-user.bat file

webui-user.bat

Various configuration for stable-diffusion-webui webui-user.bat file.

Default file configuration

The configuration available by default after cloning stable-diffusion-webui inside the webui-user.bat file.

@echo off

set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS=

call webui.bat


File configuration below 8gb gpu and 16xx series

Use the below code if your gpu is under 8gb and of 16xx nvidia series.
With this half precision errors will get resolved and more memory will be available for rendering.

@echo off

set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS= --no-half-vae --medvram 

call webui.bat



File configuration for openpaint extension 

Add --api flag to the args . This can also be clubbed with other args.
This flag has to be set to use the openpaint withing the stable-diffusion-webui 


@echo off

set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS= --api 

call webui.bat



File configuration for openpaint extension on low gpu 

Add --api flag to the args . This can also be clubbed with other args. 
Half precision will be disabled and more vram will available .



@echo off

set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS= --api --no-half-vae --medvram 
call webui.bat


Comments

Topics

Show more