Updated xFormers (markdown)

Yaron Elharar 2023-08-02 10:35:08 +03:00
parent 1699c101df
commit ac644ad716

@ -7,8 +7,7 @@ xFormers speeds up image generation, but can sometimes produce non-deterministic
2. Run `python -m pip show torch torchvision` (**important:** please make a note of these two versions, incase you need to revert back to them) 2. Run `python -m pip show torch torchvision` (**important:** please make a note of these two versions, incase you need to revert back to them)
3. Run the follow command: 3. Run the follow command:
`python -m pip install --upgrade torch==2.0.0+cu118 torchvision==0.15.1+cu118 xformers==0.0.19 --extra-index-url https://download.pytorch.org/whl/cu118` `python -m pip install --upgrade torch==2.0.0+cu118 torchvision==0.15.1+cu118 xformers==0.0.19 --extra-index-url https://download.pytorch.org/whl/cu118`
or use the [command generator](https://pytorch.org/get-started/locally/) (at the top of the page) from pytorch. That should be enough, you can now start Easy Diffusion like normal.
That should be enough, you can now start Easy Diffusion like normal.
# Removing/uninstalling xFormers # Removing/uninstalling xFormers
If you face an issues, please rollback by: If you face an issues, please rollback by: