gpu-kernel-benchmark / Dockerfile.b200
code-roamer's picture
Publish GPU Kernel Benchmark v0.8.1 public edition
5d12def verified
Raw History Blame Contribute Delete
712 Bytes
# Single-node 8xB200 / SM100. Build from the extracted public release.
FROM nvidia/cuda:12.9.1-devel-ubuntu24.04@sha256:e542739fcaa4f45da5add8c4cf5769783a61628b2518304a5bbe4ace468b8c8f
WORKDIR /opt/kernelbench
COPY container-system.sh .
RUN bash container-system.sh
ENV CUDA_HOME=/usr/local/cuda CC=gcc-13 CXX=g++-13 DEEPGEMM_CXX=g++-13
COPY upstream-env.sh expert-requirements.txt ./
COPY kernel_bench/requirements.lock kernel_bench/requirements.lock
ARG MAX_JOBS=4
RUN PIP_NO_CACHE_DIR=1 bash upstream-env.sh b200
COPY . .
RUN chmod +x python-gpu upstream-env.sh && python3.11 verify.py
CMD ["python3.11", "bench.py", "smoke", "shared_mega_moe", "--device", "0,1,2,3,4,5,6,7", "--out", "/results/moe-control"]