AIGC-Audio / AudioGPT

AudioGPT: Understanding and Generating Speech, Music, Sound, and Talking Head
https://huggingface.co/spaces/AIGC-Audio/AudioGPT
Other
9.89k stars 845 forks source link

RuntimeError: CUDA error: invalid device ordinal #63

Closed NK990 closed 1 year ago

NK990 commented 1 year ago

RuntimeError: CUDA error: invalid device ordinal CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1. Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.

`+-----------------------------------------------------------------------------+ | NVIDIA-SMI 525.105.17 Driver Version: 525.105.17 CUDA Version: 12.0 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |===============================+======================+======================| | 0 Tesla P100-PCIE... Off | 00000000:07:00.0 Off | 0 | | N/A 36C P0 24W / 250W | 4MiB / 16384MiB | 0% Default | | | | N/A | +-------------------------------+----------------------+----------------------+

`

hsm207 commented 1 year ago

See #43

NK990 commented 1 year ago

Changed cuda:1 to cuda:0

yosun commented 1 year ago

where exactly do you change this?

hsm207 commented 1 year ago

where exactly do you change this?

here: https://github.com/AIGC-Audio/AudioGPT/pull/43/files

Dawit-Balkew commented 1 year ago

the same error in google colab how to fix it please help me