Skip to content

Commit

Permalink
Update on "Update gather documentation to allow index.shape[k] <= inp…
Browse files Browse the repository at this point in the history
…ut.shape[k] rather than ==."

Differential Revision: [D22680014](https://our.internmc.facebook.com/intern/diff/D22680014)
  • Loading branch information
gchanan committed Dec 28, 2020
2 parents 99251e6 + 55b431b commit 919da0f
Show file tree
Hide file tree
Showing 1,408 changed files with 56,697 additions and 21,971 deletions.
8 changes: 2 additions & 6 deletions .circleci/cimodel/data/binary_build_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ def get_processor_arch_name(gpu_version):
"cu" + gpu_version.strip("cuda") if gpu_version.startswith("cuda") else gpu_version
)

PYTHON_NO_39 = [
v for v in dimensions.STANDARD_PYTHON_VERSIONS if v not in ['3.9']
]

LINUX_PACKAGE_VARIANTS = OrderedDict(
manywheel=[
"3.6m",
Expand All @@ -60,8 +56,8 @@ def get_processor_arch_name(gpu_version):
windows=(
[v for v in dimensions.GPU_VERSIONS if v not in ['cuda92'] + dimensions.ROCM_VERSION_LABELS],
OrderedDict(
wheel=PYTHON_NO_39,
conda=PYTHON_NO_39,
wheel=dimensions.STANDARD_PYTHON_VERSIONS,
conda=dimensions.STANDARD_PYTHON_VERSIONS,
libtorch=[
"3.7",
],
Expand Down
4 changes: 2 additions & 2 deletions .circleci/cimodel/data/dimensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
]

ROCM_VERSIONS = [
"3.8",
"3.9",
"3.10",
"4.0",
]

ROCM_VERSION_LABELS = ["rocm" + v for v in ROCM_VERSIONS]
Expand Down
2 changes: 1 addition & 1 deletion .circleci/cimodel/data/pytorch_build_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
]),
]),
("rocm", [
("3.7", [
("3.9", [
("3.6", [
('build_only', [XImportant(True)]),
]),
Expand Down
3 changes: 1 addition & 2 deletions .circleci/cimodel/data/simple/docker_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@
"pytorch-linux-xenial-py3.6-gcc5.4", # this one is used in doc builds
"pytorch-linux-xenial-py3.6-gcc7.2",
"pytorch-linux-xenial-py3.6-gcc7",
"pytorch-linux-bionic-rocm3.7-py3.6",
"pytorch-linux-bionic-rocm3.8-py3.6",
"pytorch-linux-bionic-rocm3.9-py3.6",
"pytorch-linux-bionic-rocm3.10-py3.6",
]


Expand Down
3 changes: 3 additions & 0 deletions .circleci/cimodel/data/simple/util/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ def __init__(self, major, minor):
self.minor = minor

super().__init__([self.major, self.minor], "cuda")

def __str__(self):
return f"{self.major}.{self.minor}"
11 changes: 6 additions & 5 deletions .circleci/cimodel/data/windows_build_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,11 @@ def gen_tree(self):
props_dict["executor"] = "windows-with-nvidia-gpu"

props_dict["cuda_version"] = (
miniutils.quote(str(self.cuda_version.major))
miniutils.quote(str(self.cuda_version))
if self.cuda_version
else "cpu"
)

props_dict["name"] = "_".join(name_parts)

return [{key_name: props_dict}]
Expand Down Expand Up @@ -131,10 +132,10 @@ def TruePred(_):
WindowsJob(None, _VC2019, CudaVersion(10, 1)),
WindowsJob(1, _VC2019, CudaVersion(10, 1)),
WindowsJob(2, _VC2019, CudaVersion(10, 1)),
# VS2019 CUDA-11.0
WindowsJob(None, _VC2019, CudaVersion(11, 0)),
WindowsJob(1, _VC2019, CudaVersion(11, 0), master_only_pred=TruePred),
WindowsJob(2, _VC2019, CudaVersion(11, 0), master_only_pred=TruePred),
# VS2019 CUDA-11.1
WindowsJob(None, _VC2019, CudaVersion(11, 1)),
WindowsJob(1, _VC2019, CudaVersion(11, 1), master_only_pred=TruePred),
WindowsJob(2, _VC2019, CudaVersion(11, 1), master_only_pred=TruePred),
# VS2019 CPU-only
WindowsJob(None, _VC2019, None),
WindowsJob(1, _VC2019, None, master_only_pred=TruePred),
Expand Down

0 comments on commit 919da0f

Please sign in to comment.