Skip to content

Commit 85b61e5

Browse files
authored
Use hugging face cli
1 parent d43b22a commit 85b61e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99
- name: Install uv
1010
uses: astral-sh/setup-uv@v5
1111
- name: install dependencies
12-
run: sudo apt-get update -y && sudo apt-get install -y git libsm6 --no-install-recommends -y && uv sync && git lfs install
12+
run: sudo apt-get update -y && sudo apt-get install -y git libsm6 --no-install-recommends -y && uv sync && uv add huggingface_hub[cli] && git lfs install
1313
- name: Download the Model
14-
run: git clone ${{ matrix.model_url }} --depth 1
14+
run: huggingface-cli download ${{ matrix.model_url }} --ignore-patterns=*.rknn --ignore-patterns=*.armnn
1515
- name: Run Conversion Script
1616
run: uv run bash ./convert.sh ${{ matrix.model_name }} ${{ matrix.platform }}
1717
strategy:

0 commit comments

Comments
 (0)