This commit is contained in:
hiyouga
2025-12-27 07:50:18 +08:00
parent 1622bad7d4
commit 6de0c3da9b
2 changed files with 5 additions and 5 deletions

View File

@@ -72,13 +72,13 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
uv pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu uv pip install --system torch torchvision --index-url https://download.pytorch.org/whl/cpu
uv pip install -e ".[dev]" uv pip install --system -e ".[dev]"
- name: Install transformers - name: Install transformers
if: ${{ matrix.transformers }} if: ${{ matrix.transformers }}
run: | run: |
uv pip install "transformers==${{ matrix.transformers }}" uv pip install --system "transformers==${{ matrix.transformers }}"
- name: Cache files - name: Cache files
id: hf-hub-cache id: hf-hub-cache

View File

@@ -54,8 +54,8 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
uv pip install torch-npu==${{matrix.pytorch_npu}} uv pip install --system torch-npu==${{matrix.pytorch_npu}}
uv pip install -e ".[dev]" uv pip install --system -e ".[dev]"
- name: Install node - name: Install node
run: | run: |