Updated xFormers (markdown)

cmdr2 2023-05-17 09:56:20 +05:30
parent 89555166ec
commit f0d1a7c3c5

@ -5,7 +5,9 @@ xFormers speeds up image generation, but can sometimes produce non-deterministic
# Installing xFormers # Installing xFormers
1. Double-click `Developer Console.cmd` (on Windows) or run `./developer_console.sh` (on Linux/Mac) 1. Double-click `Developer Console.cmd` (on Windows) or run `./developer_console.sh` (on Linux/Mac)
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 `python -m pip install xformers==0.0.16` 3. Run the follow command, depending on the version of `torch` displayed in the previous command:
a. for `torch` 2.0.0: `python -m pip install xformers==0.0.18`
b. for `torch` 1.13.1: `python -m pip install xformers==0.0.16`
That should be enough, you can now start Easy Diffusion like normal. That should be enough, you can now start Easy Diffusion like normal.