lucidrains / deep-daze

Simple command line tool for text to image generation using OpenAI's CLIP and Siren (Implicit neural representation network). Technique was originally created by https://twitter.com/advadnoun
MIT License
4.37k stars 326 forks source link

INCREDIBLY slow performance on 5700xt #154

Closed Not-AriStienfeld closed 3 years ago

Not-AriStienfeld commented 3 years ago

Hi, it looks like my windows powershell is simply not using my 5700xt, despite deepdaze saying it works with amd GPUs image does anyone know how to get it to use my gpu instead of my cpu?

Fusseldieb commented 3 years ago

Task Manager is awful to show GPU usage.

It might be using 100% of your GPU and the task manager barely shows 20%. This happens for most of my apps. Don't trust task manager for GPU usage.

Use MSI Afterburner or whatever

evan203 commented 3 years ago

Hi,

I am also experiencing this on a rx 5700xt. I am using archlinux and just installed deep-daze using pip3. image

my gpu usage is between 1-5% which is idle for my system, however see that it is using quite a bit of my cpu (100% on about 6 threads) which means that's obviously what the case is.

evan203 commented 3 years ago

https://github.com/lucidrains/deep-daze/blob/25ac9f445e5532f72ee48ebbe61ce560a258422f/deep_daze/deep_daze.py#L340

This whole algorithm is built on CUDA, so I don't get why the readme mentions it working on AMD cards, which don't have CUDA. I guess this closes the issue

Not-AriStienfeld commented 3 years ago

closing the issue. I've been using my brother's gtx 1060 6gb laptop with deep-daze and it honestly runs really well. I wish OpenGL had CUDA support.