Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Torch not compiled with CUDA enabled #8

Open
jj3214 opened this issue Jan 12, 2024 · 2 comments
Open

Torch not compiled with CUDA enabled #8

jj3214 opened this issue Jan 12, 2024 · 2 comments

Comments

@jj3214
Copy link

jj3214 commented Jan 12, 2024

报错
AssertionError: Torch not compiled with CUDA enabled

@jj3214 jj3214 changed the title 没有运行起来,希望能给解决下是什么问题 Torch not compiled with CUDA enabled Jan 12, 2024
@zackees
Copy link

zackees commented Jan 13, 2024

You have the wrong version of torch installed because of some AI tool that you've installed in the past. You need to uninstall torch, anything that touches it and then do pip purge so that the caches are cleared as well.

If you want to hit the easy button then I suggest you try out my tool transcribe-anything --device insane which uses insanely-fast-whisper but uses an internal isolated environment so that this problem doesn't happen.

@so-dimm
Copy link
Contributor

so-dimm commented Jun 8, 2024

This link may help you.

Note: You need to change the 'cu000' part to match your CUDA version. For example, change it to 'cu121' if you're using CUDA 12.1 or 'cu118' if you're using CUDA 11.8.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants