mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-20 22:30:35 +08:00
builds for pytorch 1.10.0
Summary: Add builds corresponding to the new pytorch 1.10.0. We omit CUDA 11.3 testing because it fails with current hardware, and omit the main build too for the moment. Also move to the newer GPU circle CI executors. Reviewed By: gkioxari Differential Revision: D32335934 fbshipit-source-id: 416d92a8eecd06ef7fc742664a5f2d46f93415f8
This commit is contained in:
committed by
Facebook GitHub Bot
parent
1836c786fe
commit
5fbdb99aec
@@ -26,9 +26,16 @@ CONDA_CUDA_VERSIONS = {
|
||||
"1.8.1": ["cu101", "cu102", "cu111"],
|
||||
"1.9.0": ["cu102", "cu111"],
|
||||
"1.9.1": ["cu102", "cu111"],
|
||||
"1.10.0": ["cu102", "cu113"],
|
||||
}
|
||||
|
||||
|
||||
def conda_docker_image_for_cuda(cuda_version):
|
||||
if cuda_version == "cu113":
|
||||
return "pytorch/conda-builder:cuda113"
|
||||
return None
|
||||
|
||||
|
||||
def pytorch_versions_for_python(python_version):
|
||||
if python_version in ["3.6", "3.7", "3.8"]:
|
||||
return list(CONDA_CUDA_VERSIONS)
|
||||
@@ -113,6 +120,10 @@ def generate_base_workflow(
|
||||
"context": "DOCKERHUB_TOKEN",
|
||||
}
|
||||
|
||||
conda_docker_image = conda_docker_image_for_cuda(cu_version)
|
||||
if conda_docker_image is not None:
|
||||
d["conda_docker_image"] = conda_docker_image
|
||||
|
||||
if filter_branch is not None:
|
||||
d["filters"] = {"branches": {"only": filter_branch}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user