mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-22 00:03:20 +01:00
Created xFormers (markdown)
parent
d8c15416d4
commit
8ff1ba35a9
17
xFormers.md
Normal file
17
xFormers.md
Normal file
@ -0,0 +1,17 @@
|
||||
Support for [xFormers](https://github.com/facebookresearch/xformers) is available experimentally.
|
||||
|
||||
xFormers speeds up image generation, but can sometimes produce non-deterministic results (i.e. the same prompt+settings may not always produce the same results as before).
|
||||
|
||||
You can try these steps:
|
||||
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)
|
||||
3. Run `python -m pip install xformers==0.0.16`
|
||||
|
||||
That should be enough, you can now start Easy Diffusion like normal.
|
||||
|
||||
If you face an issues, please rollback by:
|
||||
1. Double-click `Developer Console.cmd` (on Windows) or run `./developer_console.sh` (on Linux/Mac)
|
||||
2. Run `python -m pip uninstall xformers`
|
||||
3. Optionally, revert the `torch` and `torchvision` version to what you had previously:
|
||||
- Windows or Linux: Run `python -m pip install torch==version_noted_above torchvision==version_noted_above --index-url https://download.pytorch.org/whl/cu116`
|
||||
- Mac: Run `python -m pip install torch==version_noted_above torchvision==version_noted_above`
|
Loading…
Reference in New Issue
Block a user