![見出し画像](https://assets.st-note.com/production/uploads/images/152098032/rectangle_large_type_2_15addf3f5698f963dec5adfaf38f613e.png?width=1200)
Photo by
suzukiryoichi
Stable Diffusionの起動に失敗するときの対処法3
WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
PyTorch 2.0.1+cu118 with CUDA 1108 (you have 2.1.0+cu118)
Python 3.10.11 (you have 3.10.12)
Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
Memory-efficient attention, SwiGLU, sparse and more won't be available.
Set XFORMERS_MORE_DETAILS=1 for more details
このような表示が出た場合の対処法です。
その場合はファイルの先頭でこれを試してください。
!pip install lmdb
!pip install torch==2.0.1+cu118 torchvision==0.15.2+cu118 torchaudio==2.0.2 torchtext==0.15.2+cpu torchdata==0.6.1 --index-url https://download.pytorch.org/whl/cu118