-
-
Notifications
You must be signed in to change notification settings - Fork 152
feat: add RTX 5090 Blackwell GPU support (sm_120) #330
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
Merged
rishikanthc
merged 1 commit into
rishikanthc:main
from
fxfitz:feature/rtx-5090-blackwell-support
Dec 24, 2025
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,6 @@ | ||
| # Multi-stage build for Scriberr with CUDA support | ||
| # Multi-stage build for Scriberr with CUDA 12.9 support (Blackwell GPUs) | ||
| # This Dockerfile targets NVIDIA RTX 50-series (Blackwell architecture, sm_120) | ||
| # For legacy GPUs (GTX 10-series through RTX 40-series), use Dockerfile.cuda instead | ||
| # Builds React UI and Go server, then ships with NVIDIA CUDA runtime | ||
|
|
||
| ######################## | ||
|
|
@@ -54,10 +56,14 @@ ENV PYTHONUNBUFFERED=1 \ | |
| PORT=8080 \ | ||
| DATABASE_PATH=/app/data/scriberr.db \ | ||
| UPLOAD_DIR=/app/data/uploads \ | ||
| WHISPERX_ENV=/app/whisperx-env \ | ||
| APP_ENV=production \ | ||
| PUID=1000 \ | ||
| PGID=1000 \ | ||
| NVIDIA_VISIBLE_DEVICES=all \ | ||
| NVIDIA_DRIVER_CAPABILITIES=compute,utility | ||
| NVIDIA_DRIVER_CAPABILITIES=compute,utility \ | ||
| # PyTorch CUDA wheel version: cu128 for Blackwell GPUs (RTX 50-series, sm_120) | ||
| PYTORCH_CUDA_VERSION=cu128 | ||
|
|
||
| WORKDIR /app | ||
|
|
||
|
|
@@ -76,6 +82,11 @@ RUN curl -LsSf https://astral.sh/uv/install.sh | sh \ | |
| && chmod 755 /usr/local/bin/uv \ | ||
| && uv --version | ||
|
|
||
| # Install yt-dlp standalone binary (required by API handlers for YouTube URL processing) | ||
| 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 | ||
|
Comment on lines
+86
to
+88
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 |
||
|
|
||
| # Install Deno (JavaScript runtime required for yt-dlp YouTube downloads) | ||
| # YouTube now requires JS execution for video cipher decryption | ||
| # See: https://github.com/yt-dlp/yt-dlp/issues/14404 | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| # Docker Compose for Scriberr with Blackwell GPU support (RTX 50-series) | ||
| # Uses pre-built image from GitHub Container Registry | ||
| # For legacy GPUs (GTX 10-series through RTX 40-series), use docker-compose.cuda.yml instead | ||
| version: "3.9" | ||
| services: | ||
| scriberr: | ||
| image: ghcr.io/rishikanthc/scriberr-cuda-blackwell:latest | ||
| ports: | ||
| - "8080:8080" | ||
| volumes: | ||
| - scriberr_data:/app/data | ||
| - env_data:/app/whisperx-env | ||
| restart: unless-stopped | ||
| deploy: | ||
| resources: | ||
| reservations: | ||
| devices: | ||
| - driver: nvidia | ||
| count: all | ||
| capabilities: | ||
| - gpu | ||
| environment: | ||
| - NVIDIA_VISIBLE_DEVICES=all | ||
| - NVIDIA_DRIVER_CAPABILITIES=compute,utility | ||
| - PUID=${PUID:-1000} | ||
| - PGID=${PGID:-1000} | ||
| # Security: already set in container, but can be overridden | ||
| - APP_ENV=production | ||
| # CORS: comma-separated list of allowed origins for production | ||
| # - ALLOWED_ORIGINS=https://your-domain.com | ||
|
|
||
| volumes: | ||
| scriberr_data: {} | ||
| env_data: {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| # Docker Compose for building Scriberr with Blackwell GPU support locally | ||
| # Uses Dockerfile.cuda.12.9 for RTX 50-series (Blackwell architecture, sm_120) | ||
| # For legacy GPUs (GTX 10-series through RTX 40-series), use docker-compose.build.cuda.yml instead | ||
| services: | ||
| scriberr: | ||
| build: | ||
| context: . | ||
| dockerfile: Dockerfile.cuda.12.9 | ||
| image: scriberr:local-blackwell | ||
| container_name: scriberr-blackwell | ||
| ports: | ||
| - "8080:8080" | ||
| deploy: | ||
| resources: | ||
| reservations: | ||
| devices: | ||
| - driver: nvidia | ||
| count: all | ||
| capabilities: | ||
| - gpu | ||
| environment: | ||
| - NVIDIA_VISIBLE_DEVICES=all | ||
| - NVIDIA_DRIVER_CAPABILITIES=compute,utility | ||
| - PUID=${PUID:-1000} | ||
| - PGID=${PGID:-1000} | ||
| # Security: already set in container, but can be overridden | ||
| - APP_ENV=production | ||
| # CORS: comma-separated list of allowed origins for production | ||
| # - ALLOWED_ORIGINS=https://your-domain.com | ||
| volumes: | ||
| - ./scriberr_data:/app/data | ||
| - ./env-data:/app/whisperx-env | ||
| restart: unless-stopped | ||
|
|
||
| volumes: | ||
| scriberr_data: | ||
| env-data: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Making this sync up with: https://github.com/rishikanthc/Scriberr/blob/main/Dockerfile.cuda#L57-L58