Skip to content

Application does not work with RTX 5090 #104

@UberMentch

Description

@UberMentch

A more detailed log can be found here - https://pastebin.com/rcNEJRz2

The relevant section is found below - I'm running this using WSL2, on an Ubuntu-24.04 image, with Docker Desktop installed. I've also made sure that the Container Toolkit is installed. I've read elsewhere that using the PyTorch nightly version might be a solution. If there are changes that I could make to the dockerfiles to test for a fix, I'd be happy to help test them out - I am still a bit new to container building, so I just need a bit of help figuring out what exactly needs done.

2025-04-11 15:04:59 Transcription error: Lightning automatically upgraded your loaded checkpoint from v1.5.4 to v2.5.1. To apply the upgrade to your files permanently, run python -m pytorch_lightning.utilities.upgrade_checkpoint ../scriberr/.venv/lib/python3.12/site-packages/whisperx/assets/pytorch_model.bin
2025-04-11 15:04:59
2025-04-11 15:04:59 Transcription error: /scriberr/.venv/lib/python3.12/site-packages/torch/cuda/init.py:235: UserWarning:
2025-04-11 15:04:59 NVIDIA GeForce RTX 5090 with CUDA capability sm_120 is not compatible with the current PyTorch installation.
2025-04-11 15:04:59 The current PyTorch install supports CUDA capabilities sm_50 sm_60 sm_70 sm_75 sm_80 sm_86 sm_90.
2025-04-11 15:04:59 If you want to use the NVIDIA GeForce RTX 5090 GPU with PyTorch, please check the instructions at https://pytorch.org/get-started/locally/
2025-04-11 15:04:59
2025-04-11 15:04:59 warnings.warn(
2025-04-11 15:04:59
2025-04-11 15:04:59 Transcription progress: Model was trained with pyannote.audio 0.0.1, yours is 3.3.2. Bad things might happen unless you revert pyannote.audio to 0.x.
2025-04-11 15:04:59 Model was trained with torch 1.10.0+cu102, yours is 2.6.0+cu126. Bad things might happen unless you revert torch to 1.x.
2025-04-11 15:04:59
2025-04-11 15:04:59 Transcription error: Traceback (most recent call last):
2025-04-11 15:04:59 File "/app/transcribe.py", line 180, in
2025-04-11 15:04:59 main()
2025-04-11 15:04:59 File "/app/transcribe.py", line 94, in main
2025-04-11 15:04:59 model = whisperx.load_model(
2025-04-11 15:04:59 ^^^^^^^^^^^^^^^^^^^^
2025-04-11 15:04:59 File "/scriberr/.venv/lib/python3.12/site-packages/whisperx/asr.py", line 387, in load_model
2025-04-11 15:04:59 vad_model = load_vad_model(torch.device(device), use_auth_token=None, **default_vad_options)
2025-04-11 15:04:59 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-04-11 15:04:59
2025-04-11 15:04:59 Transcription error: File "/scriberr/.venv/lib/python3.12/site-packages/whisperx/vad.py", line 52, in load_vad_model
2025-04-11 15:04:59 vad_pipeline = VoiceActivitySegmentation(segmentation=vad_model, device=torch.device(device))
2025-04-11 15:04:59 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-04-11 15:04:59
2025-04-11 15:04:59 Transcription error: File "/scriberr/.venv/lib/python3.12/site-packages/whisperx/vad.py", line 203, in init
2025-04-11 15:04:59 super().init(segmentation=segmentation, fscore=fscore, use_auth_token=use_auth_token, **inference_kwargs)
2025-04-11 15:04:59
2025-04-11 15:04:59 Transcription error: File "/scriberr/.venv/lib/python3.12/site-packages/pyannote/audio/pipelines/voice_activity_detection.py", line 128, in init
2025-04-11 15:04:59
2025-04-11 15:04:59 Transcription error: self._segmentation = Inference(model, **inference_kwargs)
2025-04-11 15:04:59
2025-04-11 15:04:59 Transcription error: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-04-11 15:04:59 File "/scriberr/.venv/lib/python3.12/site-packages/pyannote/audio/core/inference.py", line 114, in init
2025-04-11 15:04:59
2025-04-11 15:04:59 Transcription error: self.model.to(self.device)
2025-04-11 15:04:59
2025-04-11 15:04:59 Transcription error: File "/scriberr/.venv/lib/python3.12/site-packages/lightning_fabric/utilities/device_dtype_mixin.py", line 55, in to
2025-04-11 15:04:59
2025-04-11 15:04:59 Transcription error: return super().to(*args, **kwargs)
2025-04-11 15:04:59
2025-04-11 15:04:59 Transcription error: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-04-11 15:04:59 File "/scriberr/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1343, in to
2025-04-11 15:04:59
2025-04-11 15:04:59 Transcription error: return self._apply(convert)
2025-04-11 15:04:59
2025-04-11 15:04:59 Transcription error: ^^^^^^^^^^^^^^^^^^^^
2025-04-11 15:04:59 File "/scriberr/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 903, in _apply
2025-04-11 15:04:59
2025-04-11 15:04:59 Transcription error: module._apply(fn)
2025-04-11 15:04:59
2025-04-11 15:04:59 Transcription error: File "/scriberr/.venv/lib/python3.12/site-packages/torch/nn/modules/rnn.py", line 290, in _apply
2025-04-11 15:04:59
2025-04-11 15:04:59 Transcription error: self._init_flat_weights()
2025-04-11 15:04:59 File "/scriberr/.venv/lib/python3.12/site-packages/torch/nn/modules/rnn.py", line 215, in _init_flat_weights
2025-04-11 15:04:59
2025-04-11 15:04:59 Transcription error: self.flatten_parameters()
2025-04-11 15:04:59
2025-04-11 15:04:59 Transcription error: File "/scriberr/.venv/lib/python3.12/site-packages/torch/nn/modules/rnn.py", line 271, in flatten_parameters
2025-04-11 15:04:59
2025-04-11 15:04:59 Transcription error: torch._cudnn_rnn_flatten_weight(
2025-04-11 15:04:59 RuntimeError: CUDA error: no kernel image is available for execution on the device
2025-04-11 15:04:59 CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
2025-04-11 15:04:59 For debugging consider passing CUDA_LAUNCH_BLOCKING=1
2025-04-11 15:04:59 Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions