Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add use-only-dl-pytorch-org option to release matrix #4911

Merged
merged 2 commits into from
Jan 30, 2024

Conversation

atalman
Copy link
Contributor

@atalman atalman commented Jan 30, 2024

Add option to use only our custom index download.pytorch.org. This will be used in validations in cases when pypi binaries are not published yet.
Test

python generate_binary_build_matrix.py --channel release --use-only-dl-pytorch-org true
{"include": [{"python_version": "3.8", "gpu_arch_type": "cpu", "gpu_arch_version": "", "desired_cuda": "cpu", "container_image": "pytorch/manylinux-builder:cpu", "package_type": "manywheel", "build_name": "manywheel-py3_8-cpu", "validation_runner": "linux.2xlarge", "installation": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu", "channel": "release", "upload_to_base_bucket": "no", "stable_version": "2.2.0"}, {"python_version": "3.8", "gpu_arch_type": "cuda", "gpu_arch_version": "11.8", "desired_cuda": "cu118", "container_image": "pytorch/manylinux-builder:cuda11.8", "package_type": "manywheel", "build_name": "manywheel-py3_8-cuda11_8", "validation_runner": "linux.g5.4xlarge.nvidia.gpu", "installation": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118", "channel": "release", "upload_to_base_bucket": "no", "stable_version": "2.2.0"}, {"python_version": "3.8", "gpu_arch_type": "cuda", "gpu_arch_version": "12.1", "desired_cuda": "cu121", "container_image": "pytorch/manylinux-builder:cuda12.1", "package_type": "manywheel", "build_name": "manywheel-py3_8-cuda12_1", "validation_runner": "linux.g5.4xlarge.nvidia.gpu", "installation": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121", "channel": "release", "upload_to_base_bucket": "no", "stable_version": "2.2.0"}, {"python_version": "3.8", "gpu_arch_type": "rocm", "gpu_arch_version": "5.6", "desired_cuda": "rocm5.6", "container_image": "pytorch/manylinux-builder:rocm5.6", "package_type": "manywheel", "build_name": "manywheel-py3_8-rocm5_6", "validation_runner": "linux.2xlarge", "installation": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.6", "channel": "release", "upload_to_base_bucket": "no", "stable_version": "2.2.0"}, {"python_version": "3.8", "gpu_arch_type": "rocm", "gpu_arch_version": "5.7", "desired_cuda": "rocm5.7", "container_image": "pytorch/manylinux-builder:rocm5.7", "package_type": "manywheel", "build_name": "manywheel-py3_8-rocm5_7", "validation_runner": "linux.2xlarge", "installation": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.7", "channel": "release", "upload_to_base_bucket": "no", "stable_version": "2.2.0"}, {"python_version": "3.9", "gpu_arch_type": "cpu", "gpu_arch_version": "", "desired_cuda": "cpu", "container_image": "pytorch/manylinux-builder:cpu", "package_type": "manywheel", "build_name": "manywheel-py3_9-cpu", "validation_runner": "linux.2xlarge", "installation": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu", "channel": "release", "upload_to_base_bucket": "no", "stable_version": "2.2.0"}, {"python_version": "3.9", "gpu_arch_type": "cuda", "gpu_arch_version": "11.8", "desired_cuda": "cu118", "container_image": "pytorch/manylinux-builder:cuda11.8", "package_type": "manywheel", "build_name": "manywheel-py3_9-cuda11_8", "validation_runner": "linux.g5.4xlarge.nvidia.gpu", "installation": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118", "channel": "release", "upload_to_base_bucket": "no", "stable_version": "2.2.0"}, {"python_version": "3.9", "gpu_arch_type": "cuda", "gpu_arch_version": "12.1", "desired_cuda": "cu121", "container_image": "pytorch/manylinux-builder:cuda12.1", "package_type": "manywheel", "build_name": "manywheel-py3_9-cuda12_1", "validation_runner": "linux.g5.4xlarge.nvidia.gpu", "installation": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121", "channel": "release", "upload_to_base_bucket": "no", "stable_version": "2.2.0"}, {"python_version": "3.9", "gpu_arch_type": "rocm", "gpu_arch_version": "5.6", "desired_cuda": "rocm5.6", "container_image": "pytorch/manylinux-builder:rocm5.6", "package_type": "manywheel", "build_name": "manywheel-py3_9-rocm5_6", "validation_runner": "linux.2xlarge", "installation": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.6", "channel": "release", "upload_to_base_bucket": "no", "stable_version": "2.2.0"}, {"python_version": "3.9", "gpu_arch_type": "rocm", "gpu_arch_version": "5.7", "desired_cuda": "rocm5.7", "container_image": "pytorch/manylinux-builder:rocm5.7", "package_type": "manywheel", "build_name": "manywheel-py3_9-rocm5_7", "validation_runner": "linux.2xlarge", "installation": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.7", "channel": "release", "upload_to_base_bucket": "no", "stable_version": "2.2.0"}, {"python_version": "3.10", "gpu_arch_type": "cpu", "gpu_arch_version": "", "desired_cuda": "cpu", "container_image": "pytorch/manylinux-builder:cpu", "package_type": "manywheel", "build_name": "manywheel-py3_10-cpu", "validation_runner": "linux.2xlarge", "installation": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu", "channel": "release", "upload_to_base_bucket": "no", "stable_version": "2.2.0"}, {"python_version": "3.10", "gpu_arch_type": "cuda", "gpu_arch_version": "11.8", "desired_cuda": "cu118", "container_image": "pytorch/manylinux-builder:cuda11.8", "package_type": "manywheel", "build_name": "manywheel-py3_10-cuda11_8", "validation_runner": "linux.g5.4xlarge.nvidia.gpu", "installation": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118", "channel": "release", "upload_to_base_bucket": "no", "stable_version": "2.2.0"}, {"python_version": "3.10", "gpu_arch_type": "cuda", "gpu_arch_version": "12.1", "desired_cuda": "cu121", "container_image": "pytorch/manylinux-builder:cuda12.1", "package_type": "manywheel", "build_name": "manywheel-py3_10-cuda12_1", "validation_runner": "linux.g5.4xlarge.nvidia.gpu", "installation": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121", "channel": "release", "upload_to_base_bucket": "no", "stable_version": "2.2.0"}, {"python_version": "3.10", "gpu_arch_type": "rocm", "gpu_arch_version": "5.6", "desired_cuda": "rocm5.6", "container_image": "pytorch/manylinux-builder:rocm5.6", "package_type": "manywheel", "build_name": "manywheel-py3_10-rocm5_6", "validation_runner": "linux.2xlarge", "installation": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.6", "channel": "release", "upload_to_base_bucket": "no", "stable_version": "2.2.0"}, {"python_version": "3.10", "gpu_arch_type": "rocm", "gpu_arch_version": "5.7", "desired_cuda": "rocm5.7", "container_image": "pytorch/manylinux-builder:rocm5.7", "package_type": "manywheel", "build_name": "manywheel-py3_10-rocm5_7", "validation_runner": "linux.2xlarge", "installation": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.7", "channel": "release", "upload_to_base_bucket": "no", "stable_version": "2.2.0"}, {"python_version": "3.11", "gpu_arch_type": "cpu", "gpu_arch_version": "", "desired_cuda": "cpu", "container_image": "pytorch/manylinux-builder:cpu", "package_type": "manywheel", "build_name": "manywheel-py3_11-cpu", "validation_runner": "linux.2xlarge", "installation": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu", "channel": "release", "upload_to_base_bucket": "no", "stable_version": "2.2.0"}, {"python_version": "3.11", "gpu_arch_type": "cuda", "gpu_arch_version": "11.8", "desired_cuda": "cu118", "container_image": "pytorch/manylinux-builder:cuda11.8", "package_type": "manywheel", "build_name": "manywheel-py3_11-cuda11_8", "validation_runner": "linux.g5.4xlarge.nvidia.gpu", "installation": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118", "channel": "release", "upload_to_base_bucket": "no", "stable_version": "2.2.0"}, {"python_version": "3.11", "gpu_arch_type": "cuda", "gpu_arch_version": "12.1", "desired_cuda": "cu121", "container_image": "pytorch/manylinux-builder:cuda12.1", "package_type": "manywheel", "build_name": "manywheel-py3_11-cuda12_1", "validation_runner": "linux.g5.4xlarge.nvidia.gpu", "installation": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121", "channel": "release", "upload_to_base_bucket": "no", "stable_version": "2.2.0"}, {"python_version": "3.11", "gpu_arch_type": "rocm", "gpu_arch_version": "5.6", "desired_cuda": "rocm5.6", "container_image": "pytorch/manylinux-builder:rocm5.6", "package_type": "manywheel", "build_name": "manywheel-py3_11-rocm5_6", "validation_runner": "linux.2xlarge", "installation": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.6", "channel": "release", "upload_to_base_bucket": "no", "stable_version": "2.2.0"}, {"python_version": "3.11", "gpu_arch_type": "rocm", "gpu_arch_version": "5.7", "desired_cuda": "rocm5.7", "container_image": "pytorch/manylinux-builder:rocm5.7", "package_type": "manywheel", "build_name": "manywheel-py3_11-rocm5_7", "validation_runner": "linux.2xlarge", "installation": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.7", "channel": "release", "upload_to_base_bucket": "no", "stable_version": "2.2.0"}, {"python_version": "3.12", "gpu_arch_type": "cpu", "gpu_arch_version": "", "desired_cuda": "cpu", "container_image": "pytorch/manylinux-builder:cpu", "package_type": "manywheel", "build_name": "manywheel-py3_12-cpu", "validation_runner": "linux.2xlarge", "installation": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu", "channel": "release", "upload_to_base_bucket": "no", "stable_version": "2.2.0"}, {"python_version": "3.12", "gpu_arch_type": "cuda", "gpu_arch_version": "11.8", "desired_cuda": "cu118", "container_image": "pytorch/manylinux-builder:cuda11.8", "package_type": "manywheel", "build_name": "manywheel-py3_12-cuda11_8", "validation_runner": "linux.g5.4xlarge.nvidia.gpu", "installation": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118", "channel": "release", "upload_to_base_bucket": "no", "stable_version": "2.2.0"}, {"python_version": "3.12", "gpu_arch_type": "cuda", "gpu_arch_version": "12.1", "desired_cuda": "cu121", "container_image": "pytorch/manylinux-builder:cuda12.1", "package_type": "manywheel", "build_name": "manywheel-py3_12-cuda12_1", "validation_runner": "linux.g5.4xlarge.nvidia.gpu", "installation": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121", "channel": "release", "upload_to_base_bucket": "no", "stable_version": "2.2.0"}, {"python_version": "3.12", "gpu_arch_type": "rocm", "gpu_arch_version": "5.6", "desired_cuda": "rocm5.6", "container_image": "pytorch/manylinux-builder:rocm5.6", "package_type": "manywheel", "build_name": "manywheel-py3_12-rocm5_6", "validation_runner": "linux.2xlarge", "installation": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.6", "channel": "release", "upload_to_base_bucket": "no", "stable_version": "2.2.0"}, {"python_version": "3.12", "gpu_arch_type": "rocm", "gpu_arch_version": "5.7", "desired_cuda": "rocm5.7", "container_image": "pytorch/manylinux-builder:rocm5.7", "package_type": "manywheel", "build_name": "manywheel-py3_12-rocm5_7", "validation_runner": "linux.2xlarge", "installation": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.7", "channel": "release", "upload_to_base_bucket": "no", "stable_version": "2.2.0"}]}

Copy link

vercel bot commented Jan 30, 2024

@atalman is attempting to deploy a commit to the Meta Open Source Team on Vercel.

A member of the Team first needs to authorize it.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 30, 2024
@atalman atalman merged commit 9870c8a into pytorch:main Jan 30, 2024
87 of 95 checks passed
@atalman atalman deleted the add_only_dl_pytorch_org branch January 30, 2024 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants