Skip to content

Commit

Permalink
Fix build targets
Browse files Browse the repository at this point in the history
  • Loading branch information
robballantyne committed Feb 8, 2024
1 parent 2778693 commit 50e1b25
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 14 deletions.
29 changes: 20 additions & 9 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ on:
env:
UBUNTU_VERSION: 22.04
BUILDX_NO_DEFAULT_ATTESTATIONS: 1
LATEST_CUDA: "2.1.1-py3.11-cuda-12.2.0-base-22.04"
LATEST_ROCM: "2.1.1-py3.11-rocm-5.6-runtime-22.04"
LATEST_CPU: "2.1.1-py3.11-cpu-22.04"
LATEST_CUDA: "2.2.0-py3.12-cuda-12.2.0-base-22.04"
LATEST_ROCM: "2.1.2-py3.11-rocm-5.6-runtime-22.04"
LATEST_CPU: "2.2.0-py3.12-cpu-22.04"

jobs:
cpu-base:
Expand All @@ -21,10 +21,16 @@ jobs:
python:
- "3.10"
- "3.11"
- "3.12"
pytorch:
- "2.0.1"
- "2.1.0"
- "2.1.1"
- "2.1.2"
- "2.2.0"
exclude:
- python: "3.12"
pytorch: "2.1.1"
- python: "3.12"
pytorch: "2.1.2"
steps:
-
name: Free Space
Expand Down Expand Up @@ -82,17 +88,23 @@ jobs:
python:
- "3.10"
- "3.11"
- "3.12"
pytorch:
- "2.1.0"
- "2.1.1"
- "2.1.2"
- "2.2.0"
cuda:
- "11.8.0"
- "12.1.0"
- "12.2.0"
level:
- "base"
- "runtime"
- "devel"
exclude:
- python: "3.12"
pytorch: "2.1.1"
- python: "3.12"
pytorch: "2.1.2"

steps:
-
Expand Down Expand Up @@ -151,8 +163,7 @@ jobs:
- "3.10"
- "3.11"
pytorch:
- "2.1.0"
- "2.1.1"
- "2.1.2"
rocm:
- "5.6"
level:
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,25 @@ Tags follow these patterns:
##### _CUDA_
- `:[pytorch-version]-py[python-version]-cuda-[x.x.x]-base-[ubuntu-version]`

- `:latest-cuda` → `:2.1.1-py3.11-cuda-12.1.0-base-22.04`
- `:latest-cuda` → `:2.2.0-py3.12-cuda-12.1.0-base-22.04`

##### _ROCm_
- `:[pytorch-version]-py[python-version]-rocm-[x.x.x]-runtime-[ubuntu-version]`

- `:latest-rocm` → `:2.1.1-py3.11-rocm-5.6-runtime-22.04`
- `:latest-rocm` → `:2.1.2-py3.12-rocm-5.6-runtime-22.04`

##### _CPU_
- `:[pytorch-version]-py[python-version]-ubuntu-[ubuntu-version]`

- `:latest-cpu` → `:2.1.1-py3.11-cpu-22.04`
- `:latest-cpu` → `:2.2.0-py3.12-cpu-22.04`

Browse [here](https://github.com/ai-dock/pytorch/pkgs/container/pytorch) for an image suitable for your target environment.

You can also self-build from source by editing `.env` and running `docker compose build`.

Supported Python versions: `3.11`, `3.10`
Supported Python versions: `3.12`, `3.11`, `3.10`

Supported Pytorch versions: `2.1.1` `2.1.0` `2.0.1`
Supported Pytorch versions: `2.2.0` `2.1.2`

Supported Platforms: `NVIDIA CUDA`, `AMD ROCm`, `CPU`

Expand Down

0 comments on commit 50e1b25

Please sign in to comment.