Stability-AI / stablediffusion

High-Resolution Image Synthesis with Latent Diffusion Models
MIT License
37.84k stars 4.88k forks source link

xformers installs overwrites torch with 2.2.1 #363

Open CerebralSeed opened 4 months ago

CerebralSeed commented 4 months ago

The current instructions may need to be updated. This particular set of code results in xformers replacing torch with the latest version:

cd ..
git clone https://github.com/facebookresearch/xformers.git
cd xformers
git submodule update --init --recursive
pip install -r requirements.txt
pip install -e .
cd ../stablediffusion

Perhaps could change the instructions to specify the release of xformers that was compatible.

joshkiller commented 3 months ago

The current instructions may need to be updated. This particular set of code results in xformers replacing torch with the latest version:

cd ..
git clone https://github.com/facebookresearch/xformers.git
cd xformers
git submodule update --init --recursive
pip install -r requirements.txt
pip install -e .
cd ../stablediffusion

Perhaps could change the instructions to specify the release of xformers that was compatible.

i can't use the code right now but i pass that step. try pip install xformers==0.0.12