実現したいこと
Stable Diffusionをインストールしたい
前提
Stable Diffusionを実装中に以下のエラーメッセージが発生しました。以下の文はファイル内のrun.batを起動した時のcmd内の文章です
https://kurokumasoft.com/2023/02/06/stable-diffusion-web-ui/#toc6を参考にしました
発生している問題・エラーメッセージ
続行するには何かキーを押してください . . .
該当のソースコード
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash: 48a15821de768fea76e66f26df83df3fddf18f4b
Installing requirements for Web UI
Launching Web UI with arguments:
D:\download\sd.webui\system\python\lib\site-packages\torch\cuda_init_.py:132: UserWarning:
Found GPU0 NVIDIA GeForce GT 730 which is of cuda capability 3.5.
PyTorch no longer supports this GPU because it is too old.
The minimum cuda capability supported by this library is 3.7.
warnings.warn(old_gpu_warn % (d, name, major, minor, min_arch // 10, min_arch % 10))
No module 'xformers'. Proceeding without it.
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Loading weights [bd83b90a2e] from D:\download\sd.webui\webui\models\Stable-diffusion\Counterfeit-V2.5.safetensors
loading stable diffusion model: OutOfMemoryError
Traceback (most recent call last):
File "D:\download\sd.webui\webui\webui.py", line 104, in initialize
modules.sd_models.load_model()
File "D:\download\sd.webui\webui\modules\sd_models.py", line 399, in load_model
sd_model.to(shared.device)
File "D:\download\sd.webui\system\python\lib\site-packages\pytorch_lightning\core\mixins\device_dtype_mixin.py", line 113, in to
return super().to(*args, **kwargs)
File "D:\download\sd.webui\system\python\lib\site-packages\torch\nn\modules\module.py", line 989, in to
return self._apply(convert)
File "D:\download\sd.webui\system\python\lib\site-packages\torch\nn\modules\module.py", line 641, in _apply
module._apply(fn)
File "D:\download\sd.webui\system\python\lib\site-packages\torch\nn\modules\module.py", line 641, in _apply
module._apply(fn)
File "D:\download\sd.webui\system\python\lib\site-packages\torch\nn\modules\module.py", line 641, in _apply
module._apply(fn)
[Previous line repeated 4 more times]
File "D:\download\sd.webui\system\python\lib\site-packages\torch\nn\modules\module.py", line 664, in _apply
param_applied = fn(param)
File "D:\download\sd.webui\system\python\lib\site-packages\torch\nn\modules\module.py", line 987, in convert
return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 20.00 MiB (GPU 0; 2.00 GiB total capacity; 1.71 GiB already allocated; 0 bytes free; 1.75 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
Stable diffusion model failed to load, exiting
続行するには何かキーを押してください . . .
試したこと
nmkdもインストールしたが動かなかった
補足情報(FW/ツールのバージョンなど)
ここにより詳細な情報を記載してください。
