Skip to content

Commit

Permalink
Merges pytorch#88125 and uses container from pytorch/builder#1196
Browse files Browse the repository at this point in the history
  • Loading branch information
syed-ahmed committed Dec 5, 2022
1 parent fd5f118 commit 0179561
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 39 deletions.
9 changes: 7 additions & 2 deletions .github/scripts/generate_binary_build_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ def arch_type(arch_version: str) -> str:
WHEEL_CONTAINER_IMAGES = {
**{
gpu_arch: f"pytorch/manylinux-builder:cuda{gpu_arch}"
for gpu_arch in CUDA_ARCHES
for gpu_arch in CUDA_ARCHES if gpu_arch == "11.6"
},
**{
"11.7": "tousif111/manylinux-builder:cuda11.7"
},
**{
gpu_arch: f"pytorch/manylinux-builder:rocm{gpu_arch}"
Expand Down Expand Up @@ -219,14 +222,16 @@ def generate_wheels_matrix(os: str,
"container_image": WHEEL_CONTAINER_IMAGES[arch_version],
"package_type": package_type,
"pytorch_extra_install_requirements":
"nvidia-cuda-runtime-cu11; platform_system == 'Linux' | "
"nvidia-cuda-nvrtc-cu11==11.7.99; platform_system == 'Linux' | "
"nvidia-cuda-runtime-cu11==11.7.99; platform_system == 'Linux' | "
"nvidia-cuda-cupti-cu11==11.7.101; platform_system == 'Linux' | "
"nvidia-cudnn-cu11==8.5.0.96; platform_system == 'Linux' | "
"nvidia-cublas-cu11==11.10.3.66; platform_system == 'Linux' | "
"nvidia-cufft-cu11==10.9.0.58; platform_system == 'Linux' | "
"nvidia-curand-cu11==10.2.10.91; platform_system == 'Linux' | "
"nvidia-cusolver-cu11==11.4.0.1; platform_system == 'Linux' | "
"nvidia-cusparse-cu11==11.7.4.91; platform_system == 'Linux' | "
"nvidia-nccl-cu11==2.14.3; platform_system == 'Linux' | "
"nvidia-nvtx-cu11==11.7.91; platform_system == 'Linux'",
"build_name":
f"{package_type}-py{python_version}-{gpu_arch_type}{gpu_arch_version}-with-pypi-cudnn"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_binary-build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,12 +154,12 @@ jobs:
git clean -fxd
working-directory: pytorch

- name: Checkout pytorch/builder to builder dir
- name: Checkout syed-ahmed/builder to builder dir
uses: zhouzhuojie/checkout@05b13c9a0d21f08f6d5e64a1d5042246d13619d9
with:
ref: main
submodules: recursive
repository: pytorch/builder
repository: syed-ahmed/builder
path: builder
- name: Clean pytorch/builder checkout
run: |
Expand Down
70 changes: 35 additions & 35 deletions .github/workflows/generated-linux-binary-manywheel-nightly.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0179561

Please sign in to comment.