Name Date Size #Lines LOC

..--

android/H25-Apr-2025-6956

centos-rocm/H25-Apr-2025-134112

ci_commit_pins/H25-Apr-2025-137

common/H25-Apr-2025-2,7571,852

conda/H25-Apr-2025-178145

java/H25-Apr-2025-1,144916

libtorch/H25-Apr-2025-202168

linter/H25-Apr-2025-3526

linter-cuda/H25-Apr-2025-4534

manywheel/H25-Apr-2025-1,3821,119

ubuntu/H25-Apr-2025-212176

ubuntu-cuda/H25-Apr-2025-173143

ubuntu-rocm/H25-Apr-2025-133109

ubuntu-xpu/H25-Apr-2025-12096

README.mdH A D25-Apr-20251.5 KiB3928

aotriton_version.txtH A D25-Apr-2025134 65

build.shH A D25-Apr-202515.4 KiB583524

requirements-ci.txtH A D25-Apr-20259.8 KiB340277

requirements-docs.txtH A D25-Apr-20251.4 KiB5039

triton_version.txtH A D25-Apr-20256 21

README.md

1# Docker images for GitHub CI and CD
2
3This directory contains everything needed to build the Docker images
4that are used in our CI.
5
6The Dockerfiles located in subdirectories are parameterized to
7conditionally run build stages depending on build arguments passed to
8`docker build`. This lets us use only a few Dockerfiles for many
9images. The different configurations are identified by a freeform
10string that we call a _build environment_. This string is persisted in
11each image as the `BUILD_ENVIRONMENT` environment variable.
12
13See `build.sh` for valid build environments (it's the giant switch).
14
15## Docker CI builds
16
17* `build.sh` -- dispatch script to launch all builds
18* `common` -- scripts used to execute individual Docker build stages
19* `ubuntu` -- Dockerfile for Ubuntu image for CPU build and test jobs
20* `ubuntu-cuda` -- Dockerfile for Ubuntu image with CUDA support for nvidia-docker
21* `ubuntu-rocm` -- Dockerfile for Ubuntu image with ROCm support
22* `ubuntu-xpu` -- Dockerfile for Ubuntu image with XPU support
23
24### Docker CD builds
25
26* `conda` - Dockerfile and build.sh to build Docker images used in nightly conda builds
27* `manywheel` - Dockerfile and build.sh to build Docker images used in nightly manywheel builds
28* `libtorch` - Dockerfile and build.sh to build Docker images used in nightly libtorch builds
29
30## Usage
31
32```bash
33# Build a specific image
34./build.sh pytorch-linux-bionic-py3.8-gcc9 -t myimage:latest
35
36# Set flags (see build.sh) and build image
37sudo bash -c 'PROTOBUF=1 ./build.sh pytorch-linux-bionic-py3.8-gcc9 -t myimage:latest
38```
39