Skip to main content

Using Docker

SuperBench runs benchmarks inside Docker container, here are the guides on how to build images and start containers during development.

Build image#

You need to clone the code first before building the image.

export DOCKER_BUILDKIT=1docker buildx build \  --platform linux/amd64 --cache-to type=inline,mode=max \  --tag superbench-dev --file dockerfile/cuda12.2.dockerfile .

Run container#

docker run \  -itd --name=sb-dev \  --privileged --net=host --ipc=host \  --gpus=all \  -w /root -v /mnt:/mnt \  superbench-dev bash