File tree 1 file changed +9
-4
lines changed 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 34
34
description : " Path to a smoke test script"
35
35
required : true
36
36
type : string
37
+ with_cuda :
38
+ description : " With cuda enable/disable"
39
+ required : false
40
+ type : string
41
+ default : disable
37
42
38
43
jobs :
39
44
generate-linux-matrix :
@@ -43,31 +48,31 @@ jobs:
43
48
package-type : ${{ inputs.package_type }}
44
49
os : linux
45
50
channel : ${{ inputs.channel }}
46
- with-cuda : disable
51
+ with-cuda : ${{ inputs.with_cuda }}
47
52
generate-windows-matrix :
48
53
if : (inputs.os == 'windows' || inputs.os == 'all')
49
54
uses : pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
50
55
with :
51
56
package-type : ${{ inputs.package_type }}
52
57
os : windows
53
58
channel : ${{ inputs.channel }}
54
- with-cuda : disable
59
+ with-cuda : ${{ inputs.with_cuda }}
55
60
generate-macos-matrix :
56
61
if : (inputs.os == 'macos' || inputs.os == 'all')
57
62
uses : pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
58
63
with :
59
64
package-type : ${{ inputs.package_type }}
60
65
os : macos
61
66
channel : ${{ inputs.channel }}
62
- with-cuda : disable
67
+ with-cuda : ${{ inputs.with_cuda }}
63
68
generate-macos-arm64-matrix :
64
69
if : (inputs.os == 'macos-arm64' || inputs.os == 'all')
65
70
uses : pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
66
71
with :
67
72
package-type : ${{ inputs.package_type }}
68
73
os : macos-arm64
69
74
channel : ${{ inputs.channel }}
70
- with-cuda : disable
75
+ with-cuda : ${{ inputs.with_cuda }}
71
76
validate-linux :
72
77
if : (inputs.os == 'linux' || inputs.os == 'all')
73
78
needs : generate-linux-matrix
You can’t perform that action at this time.
0 commit comments