File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 5252 description : Runner label for version
5353 type : string
5454 default : runner-0.0.19
55+ pytorch_nightly_wheels :
56+ description : Use PyTorch nightly wheels
57+ type : boolean
58+ default : true
5559
5660permissions : read-all
5761
@@ -92,11 +96,17 @@ jobs:
9296 python-version : ${{ inputs.python_version }}
9397
9498 - name : Setup PyTorch
99+ if : ${{ !inputs.pytorch_nightly_wheels }}
95100 uses : ./.github/actions/setup-pytorch
96101 with :
97102 repository : pytorch/pytorch
98103 ref : ${{ inputs.pytorch_ref }}
99104
105+ - name : Setup PyTorch
106+ if : ${{ inputs.pytorch_nightly_wheels }}
107+ run : |
108+ pip install torch --index-url https://download.pytorch.org/whl/nightly/xpu
109+
100110 - name : Install pass_rate dependencies
101111 run : |
102112 pip install defusedxml
You can’t perform that action at this time.
0 commit comments