Skip to content

Commit 91e9746

Browse files
committed
move HF tokens to global scope
Signed-off-by: Anatoly Myachev <[email protected]>
1 parent e1027c2 commit 91e9746

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/e2e-reusable.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ env:
5050
TRITON_DISABLE_LINE_INFO: 1
5151
PYTHON_VERSION: "3.10"
5252
BENCHMARK_REPO: pytorch/benchmark
53+
HF_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}
54+
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}
5355

5456
jobs:
5557
run_tests:
@@ -221,9 +223,6 @@ jobs:
221223
pip install -e .
222224
223225
- name: Run e2e ${{ inputs.test_mode }} tests
224-
env:
225-
HF_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}
226-
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}
227226
run: |
228227
cd pytorch
229228

0 commit comments

Comments
 (0)