Stable Diffusion Web UI DirectML 啟動參數

最近透過 git 更新了目前最新的 stable-diffusion-webui-directml ,發現突然不能用了@@!

經查閱專案的上的討論才發現現在必須要在 webui-user.bat 檔案內的 set COMMANDLINE_ARGS= 部分,加入忽略 CUDA 檢查的參數和使用 DirectML 的參數,才能夠正常開啟使用。另外,由於CPU和部分GPU不支援半精度運算,建議要加上不要使用半精度運算的參數:

--skip-torch-cuda-test --use-directml --no-half

留言

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.