Skip to content

Stable Diffusion

Andrew Chan edited this page Mar 12, 2023 · 1 revision

#Stable Diffusion

Windows with AMD GPU

Stable Diffusion will check if GPU available, if your using AMD, remember to disable the checking in lauch.py

# Search for 'COMMANDLINE_ARGS'
os.environ['COMMANDLINE_ARGS'] = "--skip-torch-cuda-test"
...
commandline_args = os.environ.get('COMMANDLINE_ARGS', "--skip-torch-cuda-test")