This commit is contained in:
hiyouga
2025-12-27 07:38:10 +08:00
parent a24d8cc78c
commit c439924e74
2 changed files with 2 additions and 4 deletions

View File

@@ -74,8 +74,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
uv pip install --system 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 --system -e "." uv pip install --system -e ".[dev]"
uv pip install --system -r examples/requirements/dev.txt
- name: Install transformers - name: Install transformers
if: ${{ matrix.transformers }} if: ${{ matrix.transformers }}

View File

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