メモリ不足の警告 解決法

[Low GPU VRAM Warning] Your current GPU free memory is 1084.87 MB for this diffusion iteration.
[Low GPU VRAM Warning] This number is lower than the safe value of 1536.00 MB.
[Low GPU VRAM Warning] If you continue, you may cause NVIDIA GPU performance degradation for this diffusion process, and the speed may be extremely slow (about 10x slower).
[Low GPU VRAM Warning] To solve the problem, you can set the ‘GPU Weights’ (on the top of page) to a lower value.
[Low GPU VRAM Warning] If you cannot find ‘GPU Weights’, you can click the ‘all’ option in the ‘UI’ area on the left-top corner of the webpage.
[Low GPU VRAM Warning] If you want to take the risk of NVIDIA GPU fallback and test the 10x slower speed, you can (but are highly not recommended to) add ‘–disable-gpu-warning’ to CMD flags to remove this warning.
具体的解決法
条件
・NVIDIA(エヌビディア)系のGPUであること。
・Xformersは標準では GTX 1000番台 以降のグラフィックボードであること。
具体的手順
StabilityMatrix-win-x64
→Data\Packages
→Stable Diffusion WebUI Forge
実際に使っているStable Diffusionのフォルダを開きます。

webui-user.batをメモ帳で開き編集します。

set COMMANDLINE_ARGS=
の後ろに –xformaers を入力(下のコードをコピー貼り付け)
1 |
--xformers |
これで、エラーは解決できました。
コメント