Revert hf_token setting (#226)

Signed-off-by: chensuyue <suyue.chen@intel.com>
This commit is contained in:
chen, suyue
2024-05-30 23:12:03 +08:00
committed by GitHub
parent d659c04a68
commit 7eb402e95b
59 changed files with 92 additions and 92 deletions

View File

@@ -37,21 +37,21 @@ jobs:
- name: Run Test ASR
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
HUGGINGFACEHUB_API_TOKEN: ${{ secrets.HUGGINGFACEHUB_API_TOKEN }}
run: |
cd ${{ github.workspace }}/AudioQnA/tests
bash test_asr.sh
- name: Run Test TTS
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
HUGGINGFACEHUB_API_TOKEN: ${{ secrets.HUGGINGFACEHUB_API_TOKEN }}
run: |
cd ${{ github.workspace }}/AudioQnA/tests
bash test_tts.sh
- name: Run Test LLM engine
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
HUGGINGFACEHUB_API_TOKEN: ${{ secrets.HUGGINGFACEHUB_API_TOKEN }}
run: |
cd ${{ github.workspace }}/AudioQnA/tests
bash test_${{ matrix.job_name }}_inference.sh

View File

@@ -40,7 +40,7 @@ jobs:
set -xe
merged_commit=$(git log -1 --format='%H')
changed_files=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${merged_commit} | \
grep -vE '.github|README.md|*.txt|deprecate|kubernetes')
grep -vE '.github|README.md|*.txt|deprecate|kubernetes|manifest')
examples=$(printf '%s\n' "${changed_files[@]}" | grep '/' | cut -d'/' -f1 | sort -u)
run_matrix="{\"include\":["
for example in ${examples}; do
@@ -76,7 +76,7 @@ jobs:
- name: Run test
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
HUGGINGFACEHUB_API_TOKEN: ${{ secrets.HUGGINGFACEHUB_API_TOKEN }}
example: ${{ matrix.example }}
hardware: ${{ matrix.hardware }}
run: |
@@ -88,7 +88,7 @@ jobs:
env:
example: ${{ matrix.example }}
hardware: ${{ matrix.hardware }}
if: always()
if: cancelled() || failure()
run: |
cd ${{ github.workspace }}/$example/docker/$hardware
container_list=$(cat docker_compose.yaml | grep container_name | cut -d':' -f2)

View File

@@ -36,7 +36,7 @@ jobs:
ref: "refs/pull/${{ github.event.number }}/merge"
- name: Run Test
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
HUGGINGFACEHUB_API_TOKEN: ${{ secrets.HUGGINGFACEHUB_API_TOKEN }}
GOOGLE_CSE_ID: ${{ secrets.GOOGLE_CSE_ID }}
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
AISE_GAUDI_00_IP: ${{ secrets.AISE_GAUDI_00_IP }}

View File

@@ -37,7 +37,7 @@ jobs:
- name: Run Test
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
HUGGINGFACEHUB_API_TOKEN: ${{ secrets.HUGGINGFACEHUB_API_TOKEN }}
run: |
cd ${{ github.workspace }}/Translation/tests
bash test_${{ matrix.job_name }}_inference.sh

View File

@@ -37,7 +37,7 @@ jobs:
- name: Run Test
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
HUGGINGFACEHUB_API_TOKEN: ${{ secrets.HUGGINGFACEHUB_API_TOKEN }}
run: |
cd ${{ github.workspace }}/VisualQnA/tests
bash test_${{ matrix.job_name }}_inference.sh