Skip to content

Commit

Permalink
Update test_generate_binary_build_matrix.py reference files after #5986
Browse files Browse the repository at this point in the history
… (#5993)

Also adds a way to update the files by just running the test script
through `python -m tools.tests.test_generate_binary_build_matrix
--update-reference-files`
  • Loading branch information
clee2000 authored Nov 27, 2024
1 parent c1862b5 commit 404c4ea
Show file tree
Hide file tree
Showing 11 changed files with 1,844 additions and 13 deletions.
4 changes: 3 additions & 1 deletion tools/tests/assets/build_matrix_linux_conda_cuda.json
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
{"include": []}
{
"include": []
}
425 changes: 424 additions & 1 deletion tools/tests/assets/build_matrix_linux_wheel_cuda.json

Large diffs are not rendered by default.

305 changes: 304 additions & 1 deletion tools/tests/assets/build_matrix_linux_wheel_cuda_norocm.json

Large diffs are not rendered by default.

350 changes: 349 additions & 1 deletion tools/tests/assets/build_matrix_linux_wheel_nocpu.json

Large diffs are not rendered by default.

305 changes: 304 additions & 1 deletion tools/tests/assets/build_matrix_linux_wheel_xpu.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion tools/tests/assets/build_matrix_macos_conda.json
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
{"include": []}
{
"include": []
}
65 changes: 64 additions & 1 deletion tools/tests/assets/build_matrix_macos_wheel.json
Original file line number Diff line number Diff line change
@@ -1 +1,64 @@
{"include": [{"python_version": "3.9", "gpu_arch_type": "cpu", "gpu_arch_version": "", "desired_cuda": "cpu", "container_image": "pytorch/manylinux2_28-builder:cpu", "package_type": "wheel", "build_name": "wheel-py3_9-cpu", "validation_runner": "linux.2xlarge", "installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu", "channel": "nightly", "upload_to_base_bucket": "yes", "stable_version": "2.5.1", "use_split_build": false}, {"python_version": "3.10", "gpu_arch_type": "cpu", "gpu_arch_version": "", "desired_cuda": "cpu", "container_image": "pytorch/manylinux2_28-builder:cpu", "package_type": "wheel", "build_name": "wheel-py3_10-cpu", "validation_runner": "linux.2xlarge", "installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu", "channel": "nightly", "upload_to_base_bucket": "yes", "stable_version": "2.5.1", "use_split_build": false}, {"python_version": "3.11", "gpu_arch_type": "cpu", "gpu_arch_version": "", "desired_cuda": "cpu", "container_image": "pytorch/manylinux2_28-builder:cpu", "package_type": "wheel", "build_name": "wheel-py3_11-cpu", "validation_runner": "linux.2xlarge", "installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu", "channel": "nightly", "upload_to_base_bucket": "yes", "stable_version": "2.5.1", "use_split_build": false}, {"python_version": "3.12", "gpu_arch_type": "cpu", "gpu_arch_version": "", "desired_cuda": "cpu", "container_image": "pytorch/manylinux2_28-builder:cpu", "package_type": "wheel", "build_name": "wheel-py3_12-cpu", "validation_runner": "linux.2xlarge", "installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu", "channel": "nightly", "upload_to_base_bucket": "yes", "stable_version": "2.5.1", "use_split_build": false}]}
{
"include": [
{
"python_version": "3.9",
"gpu_arch_type": "cpu",
"gpu_arch_version": "",
"desired_cuda": "cpu",
"container_image": "pytorch/manylinux-builder:cpu",
"package_type": "wheel",
"build_name": "wheel-py3_9-cpu",
"validation_runner": "linux.2xlarge",
"installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
"channel": "nightly",
"upload_to_base_bucket": "yes",
"stable_version": "2.5.1",
"use_split_build": false
},
{
"python_version": "3.10",
"gpu_arch_type": "cpu",
"gpu_arch_version": "",
"desired_cuda": "cpu",
"container_image": "pytorch/manylinux-builder:cpu",
"package_type": "wheel",
"build_name": "wheel-py3_10-cpu",
"validation_runner": "linux.2xlarge",
"installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
"channel": "nightly",
"upload_to_base_bucket": "yes",
"stable_version": "2.5.1",
"use_split_build": false
},
{
"python_version": "3.11",
"gpu_arch_type": "cpu",
"gpu_arch_version": "",
"desired_cuda": "cpu",
"container_image": "pytorch/manylinux-builder:cpu",
"package_type": "wheel",
"build_name": "wheel-py3_11-cpu",
"validation_runner": "linux.2xlarge",
"installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
"channel": "nightly",
"upload_to_base_bucket": "yes",
"stable_version": "2.5.1",
"use_split_build": false
},
{
"python_version": "3.12",
"gpu_arch_type": "cpu",
"gpu_arch_version": "",
"desired_cuda": "cpu",
"container_image": "pytorch/manylinux-builder:cpu",
"package_type": "wheel",
"build_name": "wheel-py3_12-cpu",
"validation_runner": "linux.2xlarge",
"installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
"channel": "nightly",
"upload_to_base_bucket": "yes",
"stable_version": "2.5.1",
"use_split_build": false
}
]
}
4 changes: 3 additions & 1 deletion tools/tests/assets/build_matrix_windows_conda_cuda.json
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
{"include": []}
{
"include": []
}
Loading

0 comments on commit 404c4ea

Please sign in to comment.