Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【Hackathon 7th No.1】 Integrate PaddlePaddle as a New Backend #704

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
add paddle test
  • Loading branch information
AndPuQing committed Aug 23, 2024
commit 576bb35a6bb4d1a59c1c5a3f082da1fa46428333
8 changes: 7 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ jobs:
- name: "Run Torch tests"
run: coverage run --append -m pysr test torch
if: ${{ matrix.test-id == 'main' }}
- name: "Install Paddle"
run: pip install paddle # (optional import)
if: ${{ matrix.test-id == 'main' }}
- name: "Run Paddle tests"
run: coverage run --append -m pysr test paddle
if: ${{ matrix.test-id == 'main' }}
- name: "Coveralls"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -192,7 +198,7 @@ jobs:
pip install .
pip install mypy
- name: "Install additional dependencies"
run: python -m pip install jax jaxlib torch
run: python -m pip install jax jaxlib torch paddlepaddle
if: ${{ matrix.python-version != '3.8' }}
- name: "Run mypy"
run: python -m mypy --install-types --non-interactive pysr
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/CI_Windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,7 @@ jobs:
run: pip install torch # (optional import)
- name: "Run Torch tests"
run: python -m pysr test torch
- name: "Install Paddle"
run: pip install paddlepaddle # (optional import)
- name: "Run Paddle tests"
run: PYTHON_JULIACALL_THREADS=1 python -m pysr test paddle
4 changes: 4 additions & 0 deletions .github/workflows/CI_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,7 @@ jobs:
run: pip install torch # (optional import)
- name: "Run Torch tests"
run: python -m pysr test torch
- name: "Install Paddle"
run: pip install paddlepaddle # (optional import)
- name: "Run Paddle tests"
run: PYTHON_JULIACALL_THREADS=1 python -m pysr test paddle
Loading