Skip to content

Switch CI to use containers #185

Closed
@LegNeato

Description

@LegNeato

GitHub Actions appears to support running steps in containers:

https://docs.github.com/en/actions/writing-workflows/choosing-where-your-workflow-runs/running-jobs-in-a-container

It's probably good to just reuse the public NVIDIA containers and/or our Dockerfiles in the repo so that everything is installed by nvidia. This will, for example, fix the fact that cudnn is not installed as they have containers with it. We can focus our efforts on the rust-specific stuff.

NVIDIA's supported container tags show they support ubuntu 20 and 24 with the CUDA versions we need.

@adamcavendish already did work creating Dockerfiles in https://github.com/Rust-GPU/Rust-CUDA/tree/main/container. Ideally we would have one set that we use for CI and point people to.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions