Skip to content

feat: add RTX 5090 Blackwell GPU support (sm_120)#330

Merged
rishikanthc merged 1 commit intorishikanthc:mainfrom
fxfitz:feature/rtx-5090-blackwell-support
Dec 24, 2025
Merged

feat: add RTX 5090 Blackwell GPU support (sm_120)#330
rishikanthc merged 1 commit intorishikanthc:mainfrom
fxfitz:feature/rtx-5090-blackwell-support

Conversation

@fxfitz
Copy link
Contributor

@fxfitz fxfitz commented Dec 23, 2025

I came across #104, which led to me believe the most recent release should work with my RTX 5090. However, then I saw #273, and then saw this comment... so, this PR is intended to make scriberr-cuda-blackwell image that will work with the newer RTX 50-series. Ideally, that will allow folks with newer hardware to opt-in while not breaking folks with older hardware.

Ultimately, I would like to get that image published as part of these releases [so I can selfishly use it and not have to host it somewhere 😜], so I hope this helps in that effort 😇.


Add support for NVIDIA RTX 50-series GPUs (Blackwell architecture) which require CUDA 12.8+ and PyTorch cu128 wheels due to the new sm_120 compute capability.

Changes:

  • Add configurable PYTORCH_CUDA_VERSION environment variable to control PyTorch wheel version at runtime (cu126 for legacy, cu128 for Blackwell)
  • Update all model adapters to use dynamic CUDA version instead of hardcoded cu126 URLs
  • Update Dockerfile.cuda.12.9 for Blackwell with CUDA 12.9.1 base image, PYTORCH_CUDA_VERSION=cu128, and missing WHISPERX_ENV/yt-dlp
  • Update Dockerfile.cuda with explicit PYTORCH_CUDA_VERSION=cu126
  • Add docker-compose.blackwell.yml for pre-built Blackwell image
  • Add docker-compose.build.blackwell.yml for local Blackwell builds
  • Add GPU compatibility documentation to README

Fixes: #104

Add support for NVIDIA RTX 50-series GPUs (Blackwell architecture) which
require CUDA 12.8+ and PyTorch cu128 wheels due to the new sm_120 compute
capability.

Changes:
- Add configurable PYTORCH_CUDA_VERSION environment variable to control
  PyTorch wheel version at runtime (cu126 for legacy, cu128 for Blackwell)
- Update all model adapters to use dynamic CUDA version instead of
  hardcoded cu126 URLs
- Update Dockerfile.cuda.12.9 for Blackwell with CUDA 12.9.1 base image,
  PYTORCH_CUDA_VERSION=cu128, and missing WHISPERX_ENV/yt-dlp
- Update Dockerfile.cuda with explicit PYTORCH_CUDA_VERSION=cu126
- Add docker-compose.blackwell.yml for pre-built Blackwell image
- Add docker-compose.build.blackwell.yml for local Blackwell builds
- Add GPU compatibility documentation to README

Fixes: rishikanthc#104
Comment on lines +86 to +88
RUN curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp \
&& chmod a+rx /usr/local/bin/yt-dlp \
&& yt-dlp --version
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shamelessly copy/pasta'ing this section from the main Dockerfile.cuda: https://github.com/rishikanthc/Scriberr/blob/main/Dockerfile.cuda#L81-L84

Comment on lines +59 to +60
WHISPERX_ENV=/app/whisperx-env \
APP_ENV=production \
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fxfitz
Copy link
Contributor Author

fxfitz commented Dec 23, 2025

Note: I haven't yet tested with all the different adapters, but I feel like it should just work? Would take any advice on what to test locally. :-)

@fxfitz
Copy link
Contributor Author

fxfitz commented Dec 23, 2025

Moving to draft while I doing some local testing.

@fxfitz fxfitz marked this pull request as draft December 23, 2025 15:24
@fxfitz fxfitz marked this pull request as ready for review December 23, 2025 18:35
@rishikanthc
Copy link
Owner

I'm so dumb. I did not read your PR properly and replied asking you if you can do what you already did xD APologies. Deleting my old comments to save me some embarassment :P
Looks good to me. Will merge.

And thank you so much for your contribution. Appreciate the help and support :)

@rishikanthc rishikanthc merged commit 8f53754 into rishikanthc:main Dec 24, 2025
1 check passed
@fxfitz
Copy link
Contributor Author

fxfitz commented Dec 25, 2025

Haha! Thanks @rishikanthc! :-D

@fxfitz fxfitz deleted the feature/rtx-5090-blackwell-support branch January 6, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Application does not work with RTX 5090

2 participants