This repository hosts the Dockerfiles used in regression tests for Accel-Sim and GPGPU-Sim.
Prebuilt images are available on the GitHub Container Registry: accel-sim containers
To enable GPU access inside Docker containers, you need to install the NVIDIA Container Toolkit.
Follow the installation guide here: NVIDIA Container Toolkit Install Guide
docker pull ghcr.io/accel-sim/accel-sim-framework:ubuntu-24.04-cuda-12.8
From inside accel-sim-framework
:
docker run ghcr.io/accel-sim/accel-sim-framework:ubuntu-24.04-cuda-12.8 /bin/bash short-tests.sh
docker run --name <container_name> --runtime=nvidia --gpus all -it \
ghcr.io/accel-sim/accel-sim-framework:ubuntu-24.04-cuda-12.8 /bin/bash
If you want to modify the Dockerfile and build your own image:
# from the directory containing the Dockerfile
docker build -t accelsim/dev:local .
- Replace
<container_name>
with a descriptive name for your container. - The
--runtime=nvidia --gpus all
flags ensure GPU access inside the container (requires NVIDIA Container Toolkit). - Use the local tag
accelsim/dev:local
when running your custom build.