File tree Expand file tree Collapse file tree 3 files changed +25
-12
lines changed Expand file tree Collapse file tree 3 files changed +25
-12
lines changed Original file line number Diff line number Diff line change @@ -64,13 +64,26 @@ jobs:
6464 python -m pip install jax flax optax
6565 python -c "import deepxde"
6666
67- # DeepXDE does not work with stable paddle, and building paddle from source will
68- # take a lot of CI time, slowing the development process
69- #
70- # - name: Test build with Paddle
71- # if: matrix.python-version != 3.11 # not available on Python 3.11
72- # run: |
73- # python -m pip install paddlepaddle
74- # DDE_BACKEND=paddle python -c "import deepxde"
75- # env:
76- # DDE_BACKEND: paddle
67+ - name : Test build with Paddle(MacOS)
68+ if : matrix.os == 'macos-latest' && matrix.python-version != 3.11 # not available on Python 3.11
69+ run : |
70+ python -m pip install paddlepaddle==0.0.0 -f https://www.paddlepaddle.org.cn/whl/mac/cpu-noavx/develop.html
71+ python -c "import deepxde"
72+ env :
73+ DDE_BACKEND : paddle
74+
75+ - name : Test build with Paddle(Linux)
76+ if : matrix.os == 'ubuntu-latest' && matrix.python-version != 3.11 # not available on Python 3.11
77+ run : |
78+ python -m pip install paddlepaddle==0.0.0 -f https://www.paddlepaddle.org.cn/whl/linux/cpu-mkl/develop.html
79+ python -c "import deepxde"
80+ env :
81+ DDE_BACKEND : paddle
82+
83+ - name : Test build with Paddle(Windows)
84+ if : matrix.os == 'windows-latest' && matrix.python-version != 3.11 # not available on Python 3.11
85+ run : |
86+ python -m pip install paddlepaddle==0.0.0 -f https://www.paddlepaddle.org.cn/whl/windows/cpu-mkl-avx/develop.html
87+ python -c "import deepxde"
88+ env :
89+ DDE_BACKEND : paddle
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ DeepXDE requires one of the following backend-specific dependencies to be instal
7373- TensorFlow 2.x: [ TensorFlow] ( https://www.tensorflow.org ) >=2.2.0, [ TensorFlow Probability] ( https://www.tensorflow.org/probability ) >=0.10.0
7474- PyTorch: [ PyTorch] ( https://pytorch.org ) >=1.9.0
7575- JAX: [ JAX] ( https://jax.readthedocs.io ) , [ Flax] ( https://flax.readthedocs.io ) , [ Optax] ( https://optax.readthedocs.io )
76- - PaddlePaddle: [ PaddlePaddle] ( https://www.paddlepaddle.org.cn/en ) ([ develop version] ( https://www.paddlepaddle.org.cn/documentation/docs/en/install/compile/fromsource_en .html ) )
76+ - PaddlePaddle: [ PaddlePaddle] ( https://www.paddlepaddle.org.cn/en ) ([ develop version] ( https://www.paddlepaddle.org.cn/en/install/quick?docurl=/ documentation/docs/en/develop/ install/pip/linux-pip_en .html ) )
7777
7878Then, you can install DeepXDE itself.
7979
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ DeepXDE requires one of the following backend-specific dependencies to be instal
1010- TensorFlow 2.x: `TensorFlow <https://www.tensorflow.org >`_>=2.2.0, `TensorFlow Probability <https://www.tensorflow.org/probability >`_>=0.10.0
1111- PyTorch: `PyTorch <https://pytorch.org >`_>=1.9.0
1212- JAX: `JAX <https://jax.readthedocs.io >`_, `Flax <https://flax.readthedocs.io >`_, `Optax <https://optax.readthedocs.io >`_
13- - PaddlePaddle: `PaddlePaddle <https://www.paddlepaddle.org.cn/en >`_ (`develop version <https://www.paddlepaddle.org.cn/documentation/docs/en/install/compile/fromsource_en .html >`_)
13+ - PaddlePaddle: `PaddlePaddle <https://www.paddlepaddle.org.cn/en >`_ (`develop version <https://www.paddlepaddle.org.cn/en/install/quick?docurl=/ documentation/docs/en/develop/ install/pip/linux-pip_en .html >`_)
1414
1515Then, you can install DeepXDE itself.
1616
You can’t perform that action at this time.
0 commit comments