carson-katri / dream-textures

Stable Diffusion built-in to Blender
GNU General Public License v3.0
7.78k stars 419 forks source link

Update DirectML #667

Closed NullSenseStudio closed 1 year ago

NullSenseStudio commented 1 year ago

DirectML was released with support for PyTorch 2.0 which allows for SDP attention and clearer device naming. I've also removed a few patches that are no longer needed and reverted a change in image_to_image.py since the decode_latents function was reverted to returning an ndarray within diffusers.