specify full pytorch version for conda nightly builds.

Summary: Now pytorch 1.5.1 is released, pytorch 1.5 is ambiguous and causes problems. Now have specific builds for pytorch 1.5.0 and 1.5.1. Here we only change the conda builds.

Reviewed By: gkioxari

Differential Revision: D22196016

fbshipit-source-id: 478327e870f538f54d3480d5a268a1ece5c5c680
This commit is contained in:
Jeremy Reizenstein
2020-06-24 03:18:10 -07:00
committed by Facebook GitHub Bot
parent 2ea6a7d8ad
commit 0baeb05a32
3 changed files with 70 additions and 24 deletions

View File

@@ -15,7 +15,8 @@ import yaml
# version of pytorch.
CONDA_CUDA_VERSIONS = {
"1.4": ["cu92", "cu100", "cu101"],
"1.5": ["cu92", "cu101", "cu102"],
"1.5.0": ["cu92", "cu101", "cu102"],
"1.5.1": ["cu92", "cu101", "cu102"],
}
@@ -23,7 +24,7 @@ def workflows(prefix="", filter_branch=None, upload=False, indentation=6):
w = []
for btype in ["conda"]:
for python_version in ["3.6", "3.7", "3.8"]:
for pytorch_version in ["1.4", "1.5"]:
for pytorch_version in ["1.4", "1.5.0", "1.5.1"]:
for cu_version in CONDA_CUDA_VERSIONS[pytorch_version]:
w += workflow_pair(
btype=btype,