File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed
Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ permissions:
1212
1313jobs :
1414 build-and-test-paddle :
15- name : Build and Test (${{ matrix.os }}, Python ${{ matrix.python-version }}), PaddlePaddle ${{ matrix.paddle-version }}
15+ name : Test Python ${{ matrix.python-version }})
1616 runs-on : ${{ matrix.os }}
1717 strategy :
1818 fail-fast : false
@@ -26,23 +26,15 @@ jobs:
2626 with :
2727 python-version : ${{ matrix.python-version }}
2828 - name : Install system dependencies
29- if : matrix.os == 'ubuntu-latest'
3029 run : |
3130 sudo apt-get update
3231 sudo apt-get install -y libnuma-dev gcc g++ make
33- - name : Cache pip packages
34- uses : actions/cache@v3
35- with :
36- path : ~/.cache/pip
37- key : ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
38- restore-keys : |
39- ${{ runner.os }}-pip-
4032 - name : Install Python dependencies
4133 run : |
4234 python -m pip install --upgrade pip
4335 pip install torch==2.5.1 --index-url https://download.pytorch.org/whl/cpu
44- pip install paddlepaddle==3.3 .0
45- pip install pytest pytest-cov setuptools_scm safetensors transformers=4.52
36+ pip install paddlepaddle==3.0 .0
37+ pip install pytest pytest-cov setuptools_scm safetensors transformers== 4.52
4638 - name : Build Package
4739 run : |
4840 pip install .
6254 if : always()
6355 uses : actions/upload-artifact@v4
6456 with :
65- name : pytest-log
57+ name : pytest-log-paddle-${{ matrix.python-version }}
6658 path : /tmp/pytest-log
You can’t perform that action at this time.
0 commit comments