YoungSeng / DiffuseStyleGesture

DiffuseStyleGesture: Stylized Audio-Driven Co-Speech Gesture Generation with Diffusion Models (IJCAI 2023) | The DiffuseStyleGesture+ entry to the GENEA Challenge 2023 (ICMI 2023, Reproducibility Award)
MIT License
147 stars 21 forks source link

AttributeError: module 'torch._C' has no attribute '_cuda_setDevice' #13

Closed aadhiya closed 11 months ago

aadhiya commented 1 year ago

trying to run code on Windows using visual studio. but stumbled on this issue AttributeError: module 'torch._C' has no attribute '_cuda_setDevice'.

can steps I need to do to solve this.

when I check if my Pytorch is GPU enabled or not it says false and it's only cpu.

YoungSeng commented 1 year ago

Like this, I didn't test the code on the CPU either, that may have unknown problems as well as being slower, I'd recommend testing on the GPU to make sure torch. cuda.is_available returns True.