https://discuss.pytorch.kr/t/pytorch-2-0-final-rc-3-15/1164


와 새버전


예상 장점:

파이썬 3.11 써도됨

cu118버전으로 설치할 경우 cudnn 8.7.0이 설치됨. 40xx시리즈 사용자들은 아마 dll파일 교체를 안해도 될 것


예상 단점:

xformers

근데 하루안에 나올듯

torch.nn.functional.scaled_dot_product_attention (SDPA) 라는 새 함수가 생겼는데 적용된다면 xformers만큼 빠름.


torch.compile:

윈도우에선 안됨


생성 속도는 의외로 많이 빨라지지 않는 모양
https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/6932

https://huggingface.co/docs/diffusers/optimization/torch2.0