-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ROCM support for AMD GPUs #566
Comments
As I understand the reason is in the |
Any update on this? |
@radna0 You can test my CTranslate2 ROCm fork. See OpenNMT/CTranslate2#1072 (comment). Works very well on my RX6800 GPU and should probably work on every AMD GPU that supports ROCm. |
@arlo-phoenix Worked. Thanks a lot. Is there a chance to publish a docker image of whisperx with rocm support? |
I spent a few hours trying to get this to work, but unfortunately I couldn't quite get it to run. I feel like I am pretty close but the last error I get I really have zero clue about. Still, I hope this may be useful to someone, because there were a ton of other problems that I managed to solve. The only thing you will need to replace is Dockerfile:
docker-compose.yml version: '3.8'
services:
whisperx:
image: whisperx-rocm
tty: true
stdin_open: true
devices:
- /dev/kfd
- /dev/dri
group_add:
- video
volumes:
- ./audio:/audio
entrypoint: ["/bin/bash", "-c"]
command: ["source ~/.bashrc && while true; do sleep 1; done"] After building the image and creating a container with compose, enter open a shell inside the container, I did it with lazydocker but use whatever you prefer, and execute Here's the last error I got that I was unable the resolve:
I tried many things, but due to a myriad of factors, I wasn't able to use a newer version of whisperx or faster-whisper. Still, I hope this helps someone and maybe work can continue from this base. |
I've been using whisper with my AMD 6600 XT, which functioned well with ROCM support. However, with whisperx, it seems like it is not supported to use AMD GPUs. Is there any chance for ROCM support to be implemented with whisperx?
The text was updated successfully, but these errors were encountered: