Skip to content

Commit

Permalink
Add platform markers for linux x86_64 only extra_install_requires
Browse files Browse the repository at this point in the history
  • Loading branch information
TimeRainStarSky committed Dec 19, 2022
1 parent 9ca41a9 commit bd8d4f8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/scripts/generate_binary_build_matrix.py
Expand Up @@ -219,9 +219,9 @@ 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-cudnn-cu11==8.5.0.96; platform_system == 'Linux' | "
"nvidia-cublas-cu11==11.10.3.66; platform_system == 'Linux'",
"nvidia-cuda-runtime-cu11; platform_system == 'Linux'; platform_machine == 'x86_64' | "
"nvidia-cudnn-cu11==8.5.0.96; platform_system == 'Linux'; platform_machine == 'x86_64' | "
"nvidia-cublas-cu11==11.10.3.66; platform_system == 'Linux'; platform_machine == 'x86_64'",
"build_name":
f"{package_type}-py{python_version}-{gpu_arch_type}{gpu_arch_version}-with-pypi-cudnn"
.replace(
Expand Down
10 changes: 5 additions & 5 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 bd8d4f8

Please sign in to comment.