Skip to content

How to make it work with CUDA enabled GPU? GTX 1050 Ti- 4GB #47

Answered by spcmnspf
FurkanGozukara asked this question in Q&A
Discussion options

You must be logged in to vote

I found this on the github for pytorch: pytorch/pytorch#30664 (comment)

I just modified it to meet the new install instructions. I'm running Windows 11. Seems that you have to remove the cpu version first to install the gpu version. That's my understanding of it at least.

pip uninstall torch
pip cache purge
pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116

After doing this I was able to run the following command ( choose whatever model fits your needs best ):
whisper "audio.wav" --model medium --device cuda

Replies: 6 comments 10 replies

Comment options

You must be logged in to vote
6 replies
@DrMemoryFish
Comment options

@FurkanGozukara
Comment options

@maphew
Comment options

@FurkanGozukara
Comment options

@el-belgounetos
Comment options

Answer selected by FurkanGozukara
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@phongku
Comment options

Comment options

You must be logged in to vote
1 reply
@boholder
Comment options

Comment options

You must be logged in to vote
2 replies
@nikito7
Comment options

@caoccao
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet