# H100 / SM90. 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-12 CXX=g++-12 DEEPGEMM_CXX=g++-13 COPY upstream-env.sh expert-requirements.txt expert-wheels.txt ./ COPY kernel_bench/requirements.lock kernel_bench/requirements.lock ARG MAX_JOBS=4 RUN PIP_NO_CACHE_DIR=1 NVCC_THREADS=2 bash upstream-env.sh h100 COPY . . RUN chmod +x python-gpu upstream-env.sh && python3.11 verify.py CMD ["./python-gpu", "-m", "kernel_bench.preflight_h100"]