Issues in CUDA version of swift-diffusion
I tried to setup up swift-diffusion with CUDA, the build seems to run without any error.
But when i generate an image with txt2img, i get gray image. the diffusion steps run very fast. And there is not GPU usage.
But there is no error thrown.
Could you help what I could be missing?
I tried an old version of swift diffusion and i got this error:
```
ndefinedBehaviorSanitizer:DEADLYSIGNAL
==16880==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55d225c9251c bp 0x7ffe7351afb0 sp 0x7ffe7351af10 T16880)
==16880==The signal is caused by a WRITE memory access.
==16880==Hint: address points to the zero page.
#0 0x55d225c9251c in ccv_cnnp_model_new (/root/.cache/bazel/_bazel_root/583b35200f4b85c52a829767b6536391/execroot/__main__/bazel-out/k8-opt/bin/examples/txt2img+0x28f51c) (BuildId: 4b8e3fbf7c150ca5)
```
I am on Ubuntu 22 with RTX3090
1 条评论