File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 26
26
27
27
build :
28
28
needs : generate-matrix
29
+ permissions :
30
+ id-token : write
31
+ contents : read
29
32
strategy :
30
33
fail-fast : false
31
34
matrix :
50
53
package-name : ${{ matrix.package-name }}
51
54
smoke-test-script : ${{ matrix.smoke-test-script }}
52
55
trigger-event : ${{ github.event_name }}
53
- secrets :
54
- AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID : ${{ secrets.AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID }}
55
- AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY : ${{ secrets.AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY }}
56
56
57
57
tests-py-torchscript-fe :
58
58
name : Test torchscript frontend [Python]
Original file line number Diff line number Diff line change 67
67
CU_VERSION : ${{ matrix.desired_cuda }}
68
68
SCRIPT : ${{ inputs.script }}
69
69
RUNNER_TEST_RESULTS_DIR : /tmp/test_results
70
+ ARCH : ${{ inputs.architecture }}
70
71
name : ${{ inputs.job-name }}-${{ matrix.desired_cuda }}
71
72
runs-on : ${{ matrix.validation_runner }}
72
73
container :
@@ -100,6 +101,8 @@ jobs:
100
101
ref : ${{ inputs.ref }}
101
102
setup-miniconda : ${{ inputs.setup-miniconda }}
102
103
python-version : ${{ env.PYTHON_VERSION }}
104
+ cuda-version : ${{ env.CU_VERSION }}
105
+ arch : ${{ env.ARCH }}
103
106
- name : Run Pre-Script with Caching
104
107
if : ${{ inputs.pre-script != '' }}
105
108
uses : ./test-infra/.github/actions/run-script-with-cache
@@ -191,4 +194,4 @@ jobs:
191
194
192
195
concurrency :
193
196
group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ inputs.repository }}-${{ github.event_name == 'workflow_dispatch' }}-${{ inputs.job-name }}
194
- cancel-in-progress : true
197
+ cancel-in-progress : true
You can’t perform that action at this time.
0 commit comments