Skip to content

CUDA Dockerfile#1314

Open
Nauscar wants to merge 1 commit intoleejet:masterfrom
Nauscar:master
Open

CUDA Dockerfile#1314
Nauscar wants to merge 1 commit intoleejet:masterfrom
Nauscar:master

Conversation

@Nauscar
Copy link

@Nauscar Nauscar commented Mar 4, 2026

This PR adds a cuda variant to the github workflows build.yml.
Version 12.6.3 was used as it is still currently maintained and supports more devices.

This was tested locally using podman on Fedora Silverblue with the following commands:

podman build -f Dockerfile.cuda -t stable-diffusion.cpp:master-cuda  .
podman run --rm --userns=keep-id --security-opt=label=type=nvidia_container_t --device nvidia.com/gpu=all localhost/stable-diffusion.cpp:master-cuda --version

Thanks for all your efforts on stable-diffusion.cpp!

@Nauscar
Copy link
Author

Nauscar commented Mar 4, 2026

Something to note, none of the existing Dockerfiles have ARG DEBIAN_FRONTEND=noninteractive. I didn't include this in case its ommision was intentional.

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.

2 participants