Skip to content

Commit 5d621f1

Browse files
committed
Run unit test in test-huggingface-transformers job
1 parent f4e7c8c commit 5d621f1

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

.github/workflows/_unittest.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,25 +30,19 @@ jobs:
3030
permissions:
3131
id-token: write
3232
contents: read
33-
secrets: inherit
3433
with:
35-
secrets-env: EXECUTORCH_HF_TOKEN
3634
runner: linux.2xlarge
3735
docker-image: ${{ inputs.docker-image }}
3836
submodules: 'recursive'
3937
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
4038
timeout: 90
4139
script: |
4240
set -eux
43-
pip install -U "huggingface_hub[cli]"
44-
huggingface-cli login --token $SECRET_EXECUTORCH_HF_TOKEN
4541
.ci/scripts/unittest-linux.sh --build-tool "${{ inputs.build-tool }}" --build-mode "${{ inputs.build-mode }}" --editable "${{ inputs.editable }}"
4642
4743
macos:
4844
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
49-
secrets: inherit
5045
with:
51-
secrets-env: EXECUTORCH_HF_TOKEN
5246
runner: macos-m1-stable
5347
python-version: '3.11'
5448
submodules: 'recursive'
@@ -57,6 +51,4 @@ jobs:
5751
set -eux
5852
# This is needed to get the prebuilt PyTorch wheel from S3
5953
${CONDA_RUN} --no-capture-output pip install awscli==1.37.21
60-
${CONDA_RUN} pip install -U "huggingface_hub[cli]"
61-
huggingface-cli login --token $SECRET_EXECUTORCH_HF_TOKEN
6254
.ci/scripts/unittest-macos.sh --build-tool "${{ inputs.build-tool }}" --build-mode "${{ inputs.build-mode }}" --editable "${{ inputs.editable }}"

pytest.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ addopts =
6565
extension/llm/custom_ops/test_sdpa_with_kv_cache.py
6666
extension/llm/custom_ops/test_update_cache.py
6767
extension/llm/custom_ops/test_quantized_sdpa.py
68-
extension/llm/optimum/test
6968
extension/pybindings/test
7069
extension/training/pybindings/test
7170
# Runtime

0 commit comments

Comments
 (0)