Skip to content

Commit 062e6c5

Browse files
bottlerfacebook-github-bot
authored andcommittedMay 10, 2023
builds for PyTorch 2.0.1; drop 1.9
Summary: Drop support for PyTorch 1.9.0 and 1.9.1. Reviewed By: shapovalov Differential Revision: D45704329 fbshipit-source-id: c0fe3ecf6a1eb9bcd4163785c0cb4bf4f5060f50
1 parent c80180c commit 062e6c5

File tree

3 files changed

+40
-47
lines changed

3 files changed

+40
-47
lines changed
 

‎.circleci/config.yml

+38-44
Original file line numberDiff line numberDiff line change
@@ -180,30 +180,6 @@ workflows:
180180
jobs:
181181
# - main:
182182
# context: DOCKERHUB_TOKEN
183-
- binary_linux_conda:
184-
context: DOCKERHUB_TOKEN
185-
cu_version: cu102
186-
name: linux_conda_py38_cu102_pyt190
187-
python_version: '3.8'
188-
pytorch_version: 1.9.0
189-
- binary_linux_conda:
190-
context: DOCKERHUB_TOKEN
191-
cu_version: cu111
192-
name: linux_conda_py38_cu111_pyt190
193-
python_version: '3.8'
194-
pytorch_version: 1.9.0
195-
- binary_linux_conda:
196-
context: DOCKERHUB_TOKEN
197-
cu_version: cu102
198-
name: linux_conda_py38_cu102_pyt191
199-
python_version: '3.8'
200-
pytorch_version: 1.9.1
201-
- binary_linux_conda:
202-
context: DOCKERHUB_TOKEN
203-
cu_version: cu111
204-
name: linux_conda_py38_cu111_pyt191
205-
python_version: '3.8'
206-
pytorch_version: 1.9.1
207183
- binary_linux_conda:
208184
context: DOCKERHUB_TOKEN
209185
cu_version: cu102
@@ -370,29 +346,19 @@ workflows:
370346
python_version: '3.8'
371347
pytorch_version: 2.0.0
372348
- binary_linux_conda:
349+
conda_docker_image: pytorch/conda-builder:cuda117
373350
context: DOCKERHUB_TOKEN
374-
cu_version: cu102
375-
name: linux_conda_py39_cu102_pyt190
376-
python_version: '3.9'
377-
pytorch_version: 1.9.0
378-
- binary_linux_conda:
379-
context: DOCKERHUB_TOKEN
380-
cu_version: cu111
381-
name: linux_conda_py39_cu111_pyt190
382-
python_version: '3.9'
383-
pytorch_version: 1.9.0
384-
- binary_linux_conda:
385-
context: DOCKERHUB_TOKEN
386-
cu_version: cu102
387-
name: linux_conda_py39_cu102_pyt191
388-
python_version: '3.9'
389-
pytorch_version: 1.9.1
351+
cu_version: cu117
352+
name: linux_conda_py38_cu117_pyt201
353+
python_version: '3.8'
354+
pytorch_version: 2.0.1
390355
- binary_linux_conda:
356+
conda_docker_image: pytorch/conda-builder:cuda118
391357
context: DOCKERHUB_TOKEN
392-
cu_version: cu111
393-
name: linux_conda_py39_cu111_pyt191
394-
python_version: '3.9'
395-
pytorch_version: 1.9.1
358+
cu_version: cu118
359+
name: linux_conda_py38_cu118_pyt201
360+
python_version: '3.8'
361+
pytorch_version: 2.0.1
396362
- binary_linux_conda:
397363
context: DOCKERHUB_TOKEN
398364
cu_version: cu102
@@ -558,6 +524,20 @@ workflows:
558524
name: linux_conda_py39_cu118_pyt200
559525
python_version: '3.9'
560526
pytorch_version: 2.0.0
527+
- binary_linux_conda:
528+
conda_docker_image: pytorch/conda-builder:cuda117
529+
context: DOCKERHUB_TOKEN
530+
cu_version: cu117
531+
name: linux_conda_py39_cu117_pyt201
532+
python_version: '3.9'
533+
pytorch_version: 2.0.1
534+
- binary_linux_conda:
535+
conda_docker_image: pytorch/conda-builder:cuda118
536+
context: DOCKERHUB_TOKEN
537+
cu_version: cu118
538+
name: linux_conda_py39_cu118_pyt201
539+
python_version: '3.9'
540+
pytorch_version: 2.0.1
561541
- binary_linux_conda:
562542
context: DOCKERHUB_TOKEN
563543
cu_version: cu102
@@ -666,6 +646,20 @@ workflows:
666646
name: linux_conda_py310_cu118_pyt200
667647
python_version: '3.10'
668648
pytorch_version: 2.0.0
649+
- binary_linux_conda:
650+
conda_docker_image: pytorch/conda-builder:cuda117
651+
context: DOCKERHUB_TOKEN
652+
cu_version: cu117
653+
name: linux_conda_py310_cu117_pyt201
654+
python_version: '3.10'
655+
pytorch_version: 2.0.1
656+
- binary_linux_conda:
657+
conda_docker_image: pytorch/conda-builder:cuda118
658+
context: DOCKERHUB_TOKEN
659+
cu_version: cu118
660+
name: linux_conda_py310_cu118_pyt201
661+
python_version: '3.10'
662+
pytorch_version: 2.0.1
669663
- binary_linux_conda_cuda:
670664
name: testrun_conda_cuda_py38_cu102_pyt190
671665
context: DOCKERHUB_TOKEN

‎.circleci/regenerate.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
# version of pytorch.
2121
# Pytorch 1.4 also supports cuda 10.0 but we no longer build for cuda 10.0 at all.
2222
CONDA_CUDA_VERSIONS = {
23-
"1.9.0": ["cu102", "cu111"],
24-
"1.9.1": ["cu102", "cu111"],
2523
"1.10.0": ["cu102", "cu111", "cu113"],
2624
"1.10.1": ["cu102", "cu111", "cu113"],
2725
"1.10.2": ["cu102", "cu111", "cu113"],
@@ -31,6 +29,7 @@
3129
"1.13.0": ["cu116", "cu117"],
3230
"1.13.1": ["cu116", "cu117"],
3331
"2.0.0": ["cu117", "cu118"],
32+
"2.0.1": ["cu117", "cu118"],
3433
}
3534

3635

‎INSTALL.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The core library is written in PyTorch. Several components have underlying imple
99

1010
- Linux or macOS or Windows
1111
- Python 3.8, 3.9 or 3.10
12-
- PyTorch 1.9.0, 1.9.1, 1.10.0, 1.10.1, 1.10.2, 1.11.0, 1.12.0, 1.12.1, 1.13.0 or 2.0.0.
12+
- PyTorch 1.10.0, 1.10.1, 1.10.2, 1.11.0, 1.12.0, 1.12.1, 1.13.0, 2.0.0 or 2.0.1.
1313
- torchvision that matches the PyTorch installation. You can install them together as explained at pytorch.org to make sure of this.
1414
- gcc & g++ ≥ 4.9
1515
- [fvcore](https://github.com/facebookresearch/fvcore)

0 commit comments

Comments
 (0)
Please sign in to comment.