mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-22 02:41:27 +02:00
Updated xFormers (markdown)
parent
bc07f01434
commit
afce86e86d
@ -5,9 +5,8 @@ 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 the follow command, depending on the version of `torch` displayed in the previous command:
|
3. Run the follow command:
|
||||||
- for `torch` 2.0.0: `python -m pip install xformers==0.0.19`
|
`python -m pip install --upgrade torch==2.0.0+cu118 torchvision==0.15.1+cu118 xformers==0.0.19 --index-url https://download.pytorch.org/whl/cu118`
|
||||||
- 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.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user