|
20 | 20 | options: |
21 | 21 | - Python312 |
22 | 22 | - Python311 |
| 23 | + default: Python312 |
23 | 24 | msvc_version: |
24 | 25 | description: "MSVC Version" |
25 | 26 | required: true |
|
28 | 29 | - 'latest' |
29 | 30 | - '14.40' |
30 | 31 | - '14.36' |
31 | | - # pytorch_build_run_id: |
32 | | - # description: "PyTorch build run id for downloading the wheel artifact (number at the end of build run URL)" |
33 | | - # required: true |
34 | | - # default: "13589031393" |
35 | | - # type: string |
| 32 | + default: 'latest' |
36 | 33 | pytorch_build_artifact_name: |
37 | 34 | description: "Artifact name of PyTorch build run" |
38 | 35 | required: true |
39 | 36 | default: "pytorch-wheel" |
40 | 37 | type: string |
41 | 38 | build_type: |
42 | 39 | description: "Build type" |
43 | | - required: true |
| 40 | + required: false |
44 | 41 | type: choice |
45 | 42 | options: |
46 | 43 | - Release |
47 | | - # - Debug (not supported for wheel) |
| 44 | + # - Debug not available for the wheel |
| 45 | + default: Release |
48 | 46 | repository_name: |
49 | 47 | description: "torchvision repository (username/repo)" |
50 | | - required: true |
| 48 | + required: false |
51 | 49 | default: "pytorch/vision" |
52 | 50 | type: string |
53 | 51 | repository_branch: |
54 | 52 | description: "repository branch" |
55 | | - required: true |
| 53 | + required: false |
56 | 54 | default: "main" |
57 | 55 | type: string |
58 | 56 | build_version: |
59 | | - description: "Optional: build version for wheel file name (e.g. 2.6.0); otherwise leave empty for default naming" |
| 57 | + description: "Optional: build version for wheel file name (e.g. 2.6.0)" |
60 | 58 | required: false |
61 | 59 | default: "2.6.0" |
62 | 60 | type: string |
|
69 | 67 | trigger-test-infra: |
70 | 68 | uses: alinpahontu2912/test-infra/.github/workflows/build_wheels_windows_x64_test.yml@x64windows_test |
71 | 69 | with: |
72 | | - repository_name: ${{ inputs.repository_name || 'pytorch/vision' }} |
73 | | - repository_branch: ${{ inputs.repository_branch || 'main'}} |
74 | | - python_version: ${{ inputs.python_version || 'Python312' }} |
75 | | - msvc_version: ${{ inputs.msvc_version || 'latest' }} |
76 | | - # pytorch_build_run_id: ${{ inputs.pytorch_build_run_id || '13589031393' }} |
77 | | - build_type: ${{ inputs.build_type || 'Release' }} |
| 70 | + repository_name: ${{ inputs.repository_name }} |
| 71 | + repository_branch: ${{ inputs.repository_branch }} |
| 72 | + python_version: ${{ inputs.python_version }} |
| 73 | + msvc_version: ${{ inputs.msvc_version }} |
| 74 | + build_type: ${{ inputs.build_type }} |
78 | 75 | build_version: ${{ inputs.build_version }} |
0 commit comments