Skip to content

Commit

Permalink
Add torch nightly 12-13 (mosaicml#2792)
Browse files Browse the repository at this point in the history
  • Loading branch information
j316chuck authored Dec 21, 2023
1 parent ff145d3 commit a3ea7a4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ To install composer, once inside the image, run `pip install mosaicml`.
<!-- BEGIN_PYTORCH_BUILD_MATRIX -->
| Linux Distro | Flavor | PyTorch Version | CUDA Version | Python Version | Docker Tags |
|----------------|----------|-------------------|---------------------|------------------|------------------------------------------------------------------------------------------|
| Ubuntu 20.04 | Base | 2.2.0 | 12.1.0 (Infiniband) | 3.10 | `mosaicml/pytorch:2.2.0_cu121-nightly20231220-python3.10-ubuntu20.04` |
| Ubuntu 20.04 | Base | 2.2.0 | 12.1.0 (Infiniband) | 3.10 | `mosaicml/pytorch:2.2.0_cu121-nightly20231213-python3.10-ubuntu20.04` |
| Ubuntu 20.04 | Base | 2.1.1 | 12.1.0 (Infiniband) | 3.10 | `mosaicml/pytorch:latest`, `mosaicml/pytorch:2.1.1_cu121-python3.10-ubuntu20.04` |
| Ubuntu 20.04 | Base | 2.1.1 | 12.1.0 (EFA) | 3.10 | `mosaicml/pytorch:latest-aws`, `mosaicml/pytorch:2.1.1_cu121-python3.10-ubuntu20.04-aws` |
| Ubuntu 20.04 | Base | 2.1.1 | cpu | 3.10 | `mosaicml/pytorch:latest_cpu`, `mosaicml/pytorch:2.1.1_cpu-python3.10-ubuntu20.04` |
Expand Down
8 changes: 4 additions & 4 deletions docker/build_matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
- AWS_OFI_NCCL_VERSION: ''
BASE_IMAGE: nvidia/cuda:12.1.0-cudnn8-devel-ubuntu20.04
CUDA_VERSION: 12.1.0
IMAGE_NAME: torch-nightly-2-2-0-20231220-cu121
IMAGE_NAME: torch-nightly-2-2-0-20231213-cu121
MOFED_VERSION: 5.5-1.0.3.2
NVIDIA_REQUIRE_CUDA_OVERRIDE: cuda>=12.1 brand=tesla,driver>=450,driver<451 brand=tesla,driver>=470,driver<471
brand=unknown,driver>=470,driver<471 brand=nvidia,driver>=470,driver<471 brand=nvidiartx,driver>=470,driver<471
Expand All @@ -185,12 +185,12 @@
brand=quadrortx,driver>=525,driver<526 brand=titan,driver>=525,driver<526 brand=titanrtx,driver>=525,driver<526
PYTHON_VERSION: '3.10'
PYTORCH_NIGHTLY_URL: https://download.pytorch.org/whl/nightly/cu121
PYTORCH_NIGHTLY_VERSION: dev20231220+cu121
PYTORCH_NIGHTLY_VERSION: dev20231213+cu121
PYTORCH_VERSION: 2.2.0
TAGS:
- mosaicml/pytorch:2.2.0_cu121-nightly20231220-python3.10-ubuntu20.04
- mosaicml/pytorch:2.2.0_cu121-nightly20231213-python3.10-ubuntu20.04
TARGET: pytorch_stage
TORCHVISION_VERSION: 0.17.0
TORCHVISION_VERSION: 0.18.0
- AWS_OFI_NCCL_VERSION: ''
BASE_IMAGE: nvidia/cuda:12.1.0-cudnn8-devel-ubuntu20.04
COMPOSER_INSTALL_COMMAND: mosaicml[all]==0.17.2
Expand Down
8 changes: 4 additions & 4 deletions docker/generate_build_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,16 +231,16 @@ def _main():
'AWS_OFI_NCCL_VERSION': '',
'BASE_IMAGE': 'nvidia/cuda:12.1.0-cudnn8-devel-ubuntu20.04',
'CUDA_VERSION': '12.1.0',
'IMAGE_NAME': 'torch-nightly-2-2-0-20231220-cu121',
'IMAGE_NAME': 'torch-nightly-2-2-0-20231213-cu121',
'MOFED_VERSION': '5.5-1.0.3.2',
'NVIDIA_REQUIRE_CUDA_OVERRIDE': _get_cuda_override('12.1.0'),
'PYTHON_VERSION': '3.10',
'PYTORCH_VERSION': '2.2.0',
'PYTORCH_NIGHTLY_URL': 'https://download.pytorch.org/whl/nightly/cu121',
'PYTORCH_NIGHTLY_VERSION': 'dev20231220+cu121',
'TAGS': ['mosaicml/pytorch:2.2.0_cu121-nightly20231220-python3.10-ubuntu20.04'],
'PYTORCH_NIGHTLY_VERSION': 'dev20231213+cu121',
'TAGS': ['mosaicml/pytorch:2.2.0_cu121-nightly20231213-python3.10-ubuntu20.04'],
'TARGET': 'pytorch_stage',
'TORCHVISION_VERSION': '0.17.0'
'TORCHVISION_VERSION': '0.18.0'
}
pytorch_entries.append(nightly_entry)
composer_entries = []
Expand Down

0 comments on commit a3ea7a4

Please sign in to comment.