mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-12-27 09:10:35 +08:00
fix
This commit is contained in:
3
.github/workflows/tests.yml
vendored
3
.github/workflows/tests.yml
vendored
@@ -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 }}
|
||||||
|
|||||||
3
.github/workflows/tests_npu.yml
vendored
3
.github/workflows/tests_npu.yml
vendored
@@ -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: |
|
||||||
|
|||||||
Reference in New Issue
Block a user