-
Notifications
You must be signed in to change notification settings - Fork 68
[Bug] Stable Diffusion Compilation Errors #225
Description
Describe the bug
Stable Diffusion pipeline compilation does not function properly. Even ignoring errors as described in the related issue, nvcc and python modules eventually start erroring out, and when the compilation is finally "done," the speed is the same as eager mode.
To Reproduce
I posted the simple test script here: https://github.com/AlphaAtlas/Diffusion-Compilaton-Testing/blob/main/hidet_test.py
Along with a full log of the run on my machine: https://github.com/AlphaAtlas/Diffusion-Compilaton-Testing/blob/main/hidet.log
Enviroment
- Hidet nightly (as of this post)
- OS: Arch Linux
- GPU: RTX 2060
- Others: Nvidia Driver 530.41.03, Python 3.11, CUDA 12.1, Torch 2.1 Nightly
I understand diffusion and torch+cu121 is probably a work in progress. 👍 But I figured I would post my findings here anyway.
On a side note, this was tested with dynamic=False, but dynamic=True is almost a practical requirement for stable diffusion use outside of testing.