Skip to content

Commit 1874ece

Browse files
authored
Add user info config (#8)
1 parent f497a84 commit 1874ece

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ascend_npu_test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ jobs:
133133
image: ${{ needs.prepare.outputs.image }}
134134
device: ${{ needs.prepare.outputs.device }}
135135
torch-artifact: ${{ needs.build-torch.outputs.torch-artifact }}
136+
username: ${{ secrets.RUNNER_USERNAME }}
137+
token: ${{ secrets.ASCEND_RUNNER_TOKEN }}
136138

137139
test:
138140
name: Test torch_npu
@@ -150,6 +152,8 @@ jobs:
150152
device: ${{ needs.prepare.outputs.device }}
151153
torch-artifact: ${{ needs.build-torch.outputs.torch-artifact }}
152154
torch-npu-artifact: ${{ needs.build.outputs.torch-npu-artifact }}
155+
username: ${{ secrets.RUNNER_USERNAME }}
156+
token: ${{ secrets.ASCEND_RUNNER_TOKEN }}
153157

154158
benchmark:
155159
name: Run benchmarks
@@ -168,5 +172,7 @@ jobs:
168172
device: ${{ needs.prepare.outputs.device }}
169173
torch-artifact: ${{ needs.build-torch.outputs.torch-artifact }}
170174
torch-npu-artifact: ${{ needs.build.outputs.torch-npu-artifact }}
175+
username: ${{ secrets.RUNNER_USERNAME }}
176+
token: ${{ secrets.ASCEND_RUNNER_TOKEN }}
171177
secrets:
172178
pr-token: ${{ secrets.ASCEND_RUNNER_TOKEN }}

0 commit comments

Comments
 (0)