StreamDiffusion icon indicating copy to clipboard operation
StreamDiffusion copied to clipboard

Maybe we can remove xformers

Open Jannchie opened this issue 2 years ago • 0 comments

The recommended version of PyTorch for installation is 2.1.0, so it appears that pipe.enable_xformers_memory_efficient_attention() is redundant. Based on my tests, there is no significant difference in speed whether using xformers or not.

This is because PyTorch has already implemented an efficient algorithm: https://huggingface.co/docs/diffusers/optimization/torch2.0.

Jannchie avatar Dec 25 '23 05:12 Jannchie