Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
54dae2f
build(deps): bump pypa/cibuildwheel from 3.1 to 3.2 (#4996)
dependabot[bot] Sep 30, 2025
d244f9e
fix: bump CMake minimum version to 3.25.2 (#5001)
Copilot Oct 2, 2025
720c6b9
CI: Replace the macos-13 images with the macos-15-intel images (#5002)
njzjz Oct 3, 2025
4395743
[pre-commit.ci] pre-commit autoupdate (#5003)
pre-commit-ci[bot] Oct 7, 2025
6f00250
merge master to devel (v3.1.1) (#5004)
njzjz Oct 7, 2025
c72e069
[pre-commit.ci] pre-commit autoupdate (#5013)
pre-commit-ci[bot] Oct 15, 2025
b01d18d
build(deps): bump github/codeql-action from 3 to 4 (#5011)
dependabot[bot] Oct 15, 2025
7b80679
build(deps): bump astral-sh/setup-uv from 6 to 7 (#5012)
dependabot[bot] Oct 15, 2025
c41c366
feat(pt): add compression support for se_e3_tebd (#4992)
OutisLi Oct 16, 2025
5c71262
feat:support CUDA 13.0+ (#5017)
OutisLi Oct 17, 2025
b9764f8
doc:fix error in doc of se_e3_tebd (#5018)
OutisLi Oct 20, 2025
b970b81
build(deps): bump actions/download-artifact from 5 to 6 (#5025)
dependabot[bot] Oct 28, 2025
fca9a87
[pre-commit.ci] pre-commit autoupdate (#5020)
pre-commit-ci[bot] Nov 2, 2025
a23db1c
build(deps): bump actions/upload-artifact from 4 to 5 (#5026)
dependabot[bot] Nov 2, 2025
e335e3d
[pre-commit.ci] pre-commit autoupdate (#5034)
pre-commit-ci[bot] Nov 4, 2025
7778e2e
fix(cmake): improve CUDA C++ standard for compatibility with gcc-14 (…
njzjz Nov 5, 2025
25fa707
feat: Enhance process_systems to recursively search all paths in syst…
OutisLi Nov 7, 2025
7f25e16
perf: accelerate data loading in training (#5023)
OutisLi Nov 9, 2025
4ec0437
fix: optimize atom type mapping (#5043)
OutisLi Nov 11, 2025
877147e
[pre-commit.ci] pre-commit autoupdate (#5044)
pre-commit-ci[bot] Nov 11, 2025
87cb6ef
fix: remove hessian outdef if not necessary (#5045)
iProzd Nov 12, 2025
6fb0703
test: add TensorFlow graph reset in teardown method for entrypoint te…
OutisLi Nov 14, 2025
1ccc57d
test(common): add regression for atom type remap (#5050)
OutisLi Nov 14, 2025
c346332
feat: Performance Optimization: Data Loading and Statistics Accelerat…
OutisLi Nov 14, 2025
d4e9ffc
feat(pt): Add support for SiLU activation function in gradient calcul…
OutisLi Nov 17, 2025
018cccf
[pre-commit.ci] pre-commit autoupdate (#5056)
pre-commit-ci[bot] Nov 18, 2025
da452d7
build: bump LAMMPS version to stable_22Jul2025_update2 (#5052)
Copilot Nov 18, 2025
e98dc5a
fix(finetune): calculate fitting stat when using random fitting in fi…
Chengqian-Zhang Nov 20, 2025
0a278e7
fix(stat): Caculate correct fitting stat when using default fparam an…
Chengqian-Zhang Nov 24, 2025
7f6b387
docs: update DeepModeling email address (#5062)
njzjz-bot Nov 24, 2025
86cb76f
feat(pt): Implement type embedding compression for se_atten (#5057)
OutisLi Nov 24, 2025
5163e74
feat(pt): Implement type embedding compression for se_e3_tebd (#5059)
OutisLi Nov 24, 2025
526fab2
feat(test): add unit test for the compression of se_atten (#5058)
OutisLi Nov 24, 2025
a4067fe
build(deps): bump actions/checkout from 5 to 6 (#5063)
dependabot[bot] Nov 25, 2025
c9877e4
build(deps): bump pypa/cibuildwheel from 3.2 to 3.3 (#5064)
dependabot[bot] Nov 25, 2025
5aaf004
[pre-commit.ci] pre-commit autoupdate (#5065)
pre-commit-ci[bot] Nov 25, 2025
1ee33c8
feat(pt/test): add unit test for the compression of se_e3_tebd (#5060)
OutisLi Nov 25, 2025
34f03fc
fix: set multiprocessing start method to 'fork' in pt env (since pyth…
OutisLi Nov 30, 2025
0f06833
chore: manage CI pinnings in pyproject.toml (#5068)
njzjz Dec 1, 2025
a72b3af
fix(jax): fix compatibility with flax 0.12 (#5067)
njzjz Dec 1, 2025
0ad1ab6
feat(pt): type embedding can still be compress even if attn_layer != …
OutisLi Dec 1, 2025
91c5110
[pre-commit.ci] pre-commit autoupdate (#5070)
pre-commit-ci[bot] Dec 2, 2025
f95cb74
CI: configure dependabot to bump Python deps (#5072)
njzjz Dec 2, 2025
a38f483
CI: pin cibuildwheel TF/PT deps to global pinnings (#5071)
njzjz Dec 2, 2025
4324445
build(deps-dev): update scikit-build-core requirement from !=0.6.0,<0…
dependabot[bot] Dec 2, 2025
2d5fa3c
Fix: model_output_type unify name (#5069)
anyangml Dec 3, 2025
2215a06
CI: free disk in package_c workflow (#5081)
njzjz Dec 4, 2025
55fd75f
build(deps-dev): update torch requirement from ~=2.7.0 to >=2.7,<2.9 …
dependabot[bot] Dec 4, 2025
0ad7cbf
CI: stop running Horovod tests (#5079)
njzjz Dec 5, 2025
73a1aa6
fix(pd): adapting code for hardware compatibility (#5047)
HydrogenSulfate Dec 9, 2025
3ceb9cf
build(deps-dev): update tensorflow-cpu requirement from ~=2.18.0 to >…
dependabot[bot] Dec 9, 2025
d774ede
[pre-commit.ci] pre-commit autoupdate (#5085)
pre-commit-ci[bot] Dec 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/build_cxx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cmake -D ENABLE_TENSORFLOW=ON \
-D ENABLE_PYTORCH=ON \
-D ENABLE_PADDLE=ON \
-D CMAKE_INSTALL_PREFIX=${SCRIPT_PATH}/../dp/ \
-D LAMMPS_VERSION=stable_22Jul2025_update1 \
-D LAMMPS_VERSION=stable_22Jul2025_update2 \
-D CMAKE_BUILD_TYPE=Debug \
-D BUILD_TESTING:BOOL=TRUE \
-D TENSORFLOW_ROOT=${TENSORFLOW_ROOT} \
Expand Down
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ updates:
schedule:
interval: "weekly"
target-branch: "devel"
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
target-branch: "devel"
5 changes: 2 additions & 3 deletions .github/workflows/build_cc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,13 @@ jobs:
- variant: clang
dp_variant: clang
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: '3.11'
- uses: lukka/get-cmake@latest
- run: python -m pip install uv
- run: source/install/uv_with_retry.sh pip install --system tensorflow
- run: source/install/uv_with_retry.sh pip install --system 'torch==2.8.*' --index-url https://download.pytorch.org/whl/cpu
- run: source/install/uv_with_retry.sh pip install --system --group pin_tensorflow_cpu --group pin_pytorch_cpu --torch-backend cpu
- run: |
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.0-1_all.deb \
&& sudo dpkg -i cuda-keyring_1.0-1_all.deb \
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/build_wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
cuda_version: 11.8
dp_pkg_name: deepmd-kit-cu11
# macos-x86-64
- os: macos-13
- os: macos-15-intel
python: 311
platform_id: macosx_x86_64
dp_variant: cpu
Expand All @@ -57,7 +57,7 @@ jobs:
platform_id: manylinux_aarch64
dp_variant: cpu
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
# https://github.com/pypa/setuptools_scm/issues/480
fetch-depth: 0
Expand All @@ -73,7 +73,7 @@ jobs:
rm -rf .git
if: matrix.dp_pkg_name == 'deepmd-kit-cu11'
- name: Build wheels
uses: pypa/cibuildwheel@v3.1
uses: pypa/cibuildwheel@v3.3
env:
CIBW_BUILD_VERBOSITY: 1
CIBW_ARCHS: all
Expand All @@ -82,21 +82,21 @@ jobs:
CUDA_VERSION: ${{ matrix.cuda_version }}
DP_PKG_NAME: ${{ matrix.dp_pkg_name }}
CIBW_BUILD_FRONTEND: 'build[uv]'
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v5
with:
name: cibw-cp${{ matrix.python }}-${{ matrix.platform_id }}-cu${{ matrix.cuda_version }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl
build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Build sdist
run: pipx run uv tool run --with build[uv] --from build python -m build --installer uv --sdist

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v5
with:
name: cibw-sdist
path: dist/*.tar.gz
Expand All @@ -109,7 +109,7 @@ jobs:
id-token: write
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
steps:
- uses: actions/download-artifact@v5
- uses: actions/download-artifact@v6
with:
pattern: cibw-*
path: dist
Expand All @@ -131,8 +131,8 @@ jobs:
steps:
- name: Delete huge unnecessary tools folder
run: rm -rf /opt/hostedtoolcache
- uses: actions/checkout@v5
- uses: actions/download-artifact@v5
- uses: actions/checkout@v6
- uses: actions/download-artifact@v6
with:
path: source/install/docker/dist
pattern: cibw-*-manylinux_x86_64-cu${{ matrix.cuda_version }}*
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v5
- uses: actions/download-artifact@v6
with:
path: dist/packages
pattern: cibw-*
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: '3.11'
Expand All @@ -43,13 +43,13 @@ jobs:
&& sudo dpkg -i cuda-keyring_1.0-1_all.deb \
&& sudo apt-get update \
&& sudo apt-get -y install cuda-cudart-dev-12-2 cuda-nvcc-12-2
python -m pip install tensorflow
python -m pip install 'torch==2.8.*' --index-url https://download.pytorch.org/whl/cpu
python -m pip install uv
uv pip install --system --group pin_tensorflow_cpu --group pin_pytorch_cpu --torch-backend cpu
env:
DEBIAN_FRONTEND: noninteractive
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
queries: security-extended,security-and-quality
Expand All @@ -62,6 +62,6 @@ jobs:
if: matrix.language == 'c-cpp'

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v4
with:
category: "/language:${{matrix.language}}"
9 changes: 3 additions & 6 deletions .github/workflows/copilot-setup-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ jobs:
# If you do not check out your code, Copilot will do this for you.
steps:
- name: Checkout code
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.10"

- name: Install uv
uses: astral-sh/setup-uv@v6
uses: astral-sh/setup-uv@v7
with:
enable-cache: true

Expand All @@ -49,10 +49,7 @@ jobs:
run: echo "VIRTUAL_ENV=$PWD/venv" >> $GITHUB_ENV && echo "$PWD/venv/bin" >> $GITHUB_PATH

- name: Install base dependencies
run: uv pip install tensorflow-cpu

- name: Install PyTorch
run: uv pip install torch --index-url https://download.pytorch.org/whl/cpu
run: uv pip install --group pin_tensorflow_cpu --group pin_pytorch_cpu --torch-backend cpu

- name: Build Python package
run: uv pip install -e .[cpu,test]
Expand Down
18 changes: 14 additions & 4 deletions .github/workflows/package_c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,17 @@ jobs:
tensorflow_version: ">=2.5.0,<2.15"
filename: libdeepmd_c_cu11.tar.gz
steps:
- uses: actions/checkout@v5
- name: Free Disk Space (Ubuntu)
uses: insightsengineering/disk-space-reclaimer@v1
with:
tools-cache: true
android: true
dotnet: true
haskell: true
large-packages: true
swap-storage: true
docker-images: true
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Package C library
Expand All @@ -40,7 +50,7 @@ jobs:
if: matrix.filename != 'libdeepmd_c.tar.gz'
# for download and debug
- name: Upload artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: libdeepmd_c-${{ strategy.job-index }}-${{ matrix.filename }}
path: ${{ matrix.filename }}
Expand All @@ -56,9 +66,9 @@ jobs:
needs: [build_c]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Download artifact
uses: actions/download-artifact@v5
uses: actions/download-artifact@v6
with:
pattern: libdeepmd_c-*
merge-multiple: true
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/suppr.txt
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
leak:libpaddle_inference
# TensorFlow 2.20
leak:xla::
leak:mlir::
leak:llvm::
39 changes: 32 additions & 7 deletions .github/workflows/test_cc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,25 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
check_memleak: [true, false]
include:
- check_memleak: true
enable_tensorflow: true
enable_pytorch: true
enable_paddle: false
- check_memleak: true
enable_tensorflow: false
enable_pytorch: false
enable_paddle: true
- check_memleak: false
enable_tensorflow: true
enable_pytorch: true
enable_paddle: false
- check_memleak: false
enable_tensorflow: false
enable_pytorch: false
enable_paddle: true
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: '3.11'
Expand All @@ -28,10 +44,9 @@ jobs:
- run: python -m pip install uv
- name: Install Python dependencies
run: |
source/install/uv_with_retry.sh pip install --system tensorflow-cpu~=2.18.0 jax==0.5.0
source/install/uv_with_retry.sh pip install --system --group pin_tensorflow_cpu --group pin_pytorch_cpu --group pin_jax --torch-backend cpu
export TENSORFLOW_ROOT=$(python -c 'import importlib.util,pathlib;print(pathlib.Path(importlib.util.find_spec("tensorflow").origin).parent)')
source/install/uv_with_retry.sh pip install --system -e .[cpu,test,lmp,jax] mpi4py mpich
source/install/uv_with_retry.sh pip install --system 'torch==2.8.*' --index-url https://download.pytorch.org/whl/cpu
- name: Convert models
run: source/tests/infer/convert-models.sh
# https://github.com/actions/runner-images/issues/9491
Expand All @@ -47,31 +62,41 @@ jobs:
CMAKE_GENERATOR: Ninja
CXXFLAGS: ${{ matrix.check_memleak && '-fsanitize=leak' || '' }}
LSAN_OPTIONS: suppressions=${{ github.workspace }}/.github/workflows/suppr.txt
ENABLE_TENSORFLOW: ${{ matrix.enable_tensorflow && 'TRUE' || 'FALSE' }}
ENABLE_PYTORCH: ${{ matrix.enable_pytorch && 'TRUE' || 'FALSE' }}
ENABLE_PADDLE: ${{ matrix.enable_paddle && 'TRUE' || 'FALSE' }}
# test lammps
- run: |
cp ${{ github.workspace }}/source/build_tests/paddle_inference_install_dir/paddle/lib/*.so ${{ github.workspace }}/dp_test/lib/
cp ${{ github.workspace }}/source/build_tests/paddle_inference_install_dir/third_party/install/onednn/lib/* ${{ github.workspace }}/dp_test/lib/
cp ${{ github.workspace }}/source/build_tests/paddle_inference_install_dir/third_party/install/mklml/lib/* ${{ github.workspace }}/dp_test/lib/
if: matrix.enable_paddle
- run: |
export LD_LIBRARY_PATH=${{ github.workspace }}/dp_test/lib:$LD_LIBRARY_PATH
pytest --cov=deepmd source/lmp/tests
env:
OMP_NUM_THREADS: 1
TF_INTRA_OP_PARALLELISM_THREADS: 1
TF_INTER_OP_PARALLELISM_THREADS: 1
LAMMPS_PLUGIN_PATH: ${{ github.workspace }}/dp_test/lib/deepmd_lmp
ENABLE_TENSORFLOW: ${{ matrix.enable_tensorflow && '1' || '0' }}
ENABLE_PYTORCH: ${{ matrix.enable_pytorch && '1' || '0' }}
ENABLE_JAX: ${{ matrix.enable_tensorflow && '1' || '0' }}
ENABLE_PADDLE: ${{ matrix.enable_paddle && '1' || '0' }}
if: ${{ !matrix.check_memleak }}
# test ipi
- run: |
export PATH=${{ github.workspace }}/dp_test/bin:$PATH
cp ${{ github.workspace }}/source/build_tests/paddle_inference_install_dir/paddle/lib/*.so ${{ github.workspace }}/dp_test/lib/
cp ${{ github.workspace }}/source/build_tests/paddle_inference_install_dir/third_party/install/onednn/lib/* ${{ github.workspace }}/dp_test/lib/
cp ${{ github.workspace }}/source/build_tests/paddle_inference_install_dir/third_party/install/mklml/lib/* ${{ github.workspace }}/dp_test/lib/
pytest --cov=deepmd source/ipi/tests
env:
OMP_NUM_THREADS: 1
TF_INTRA_OP_PARALLELISM_THREADS: 1
TF_INTER_OP_PARALLELISM_THREADS: 1
LD_LIBRARY_PATH: ${{ github.workspace }}/dp_test/lib
ENABLE_TENSORFLOW: ${{ matrix.enable_tensorflow && '1' || '0' }}
ENABLE_PYTORCH: ${{ matrix.enable_pytorch && '1' || '0' }}
ENABLE_JAX: ${{ matrix.enable_tensorflow && '1' || '0' }}
ENABLE_PADDLE: ${{ matrix.enable_paddle && '1' || '0' }}
if: ${{ !matrix.check_memleak }}
- uses: codecov/codecov-action@v5
env:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/test_cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
steps:
- name: Make sudo and git work
run: apt-get update && apt-get install -y sudo git
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: '3.11'
Expand All @@ -43,11 +43,11 @@ jobs:
&& sudo apt-get -y install cuda-12-3 libcudnn8=8.9.5.*-1+cuda12.3
if: false # skip as we use nvidia image
- run: python -m pip install -U uv
- run: source/install/uv_with_retry.sh pip install --system "tensorflow~=2.18.0rc2" "torch~=2.7.0" "jax[cuda12]==0.5.0"
- run: source/install/uv_with_retry.sh pip install --system --group pin_tensorflow_gpu --group pin_pytorch_gpu --group pin_jax "jax[cuda12]"
- run: |
export PYTORCH_ROOT=$(python -c 'import torch;print(torch.__path__[0])')
export TENSORFLOW_ROOT=$(python -c 'import importlib.util,pathlib;print(pathlib.Path(importlib.util.find_spec("tensorflow").origin).parent)')
pip install "paddlepaddle-gpu==3.0.0" -i https://www.paddlepaddle.org.cn/packages/stable/cu126/
pip install --find-links "https://www.paddlepaddle.org.cn/packages/nightly/cu126/paddlepaddle-gpu/" --index-url https://pypi.org/simple "paddlepaddle-gpu==3.3.0.dev20251204"
source/install/uv_with_retry.sh pip install --system -v -e .[gpu,test,lmp,cu12,torch,jax] mpi4py --reinstall-package deepmd-kit
env:
DP_VARIANT: cuda
Expand All @@ -61,6 +61,7 @@ jobs:
# See https://jax.readthedocs.io/en/latest/gpu_memory_allocation.html
XLA_PYTHON_CLIENT_PREALLOCATE: false
XLA_PYTHON_CLIENT_ALLOCATOR: platform
FLAGS_use_stride_compute_kernel: 0
- name: Convert models
run: source/tests/infer/convert-models.sh
- run: |
Expand Down
17 changes: 8 additions & 9 deletions .github/workflows/test_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,17 @@ jobs:
python: ["3.9", "3.12"]

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python }}
- run: python -m pip install -U uv
- run: |
source/install/uv_with_retry.sh pip install --system openmpi tensorflow-cpu~=2.18.0
source/install/uv_with_retry.sh pip install --system torch -i https://download.pytorch.org/whl/cpu
source/install/uv_with_retry.sh pip install --system openmpi --group pin_tensorflow_cpu --group pin_pytorch_cpu --torch-backend cpu
export TENSORFLOW_ROOT=$(python -c 'import importlib.util,pathlib;print(pathlib.Path(importlib.util.find_spec("tensorflow").origin).parent)')
export PYTORCH_ROOT=$(python -c 'import torch;print(torch.__path__[0])')
source/install/uv_with_retry.sh pip install --system -e .[test,jax] mpi4py "jax==0.5.0;python_version>='3.10'"
source/install/uv_with_retry.sh pip install --system -U setuptools
source/install/uv_with_retry.sh pip install --system horovod --no-build-isolation
source/install/uv_with_retry.sh pip install --system --pre "paddlepaddle==3.0.0" -i https://www.paddlepaddle.org.cn/packages/stable/cpu/
source/install/uv_with_retry.sh pip install --system -e .[test,jax] mpi4py --group pin_jax
source/install/uv_with_retry.sh pip install --system --find-links "https://www.paddlepaddle.org.cn/packages/nightly/cpu/paddlepaddle/" --index-url https://pypi.org/simple paddlepaddle==3.3.0.dev20251204
env:
# Please note that uv has some issues with finding
# existing TensorFlow package. Currently, it uses
Expand Down Expand Up @@ -63,6 +60,8 @@ jobs:
- run: pytest --cov=deepmd source/tests --splits 6 --group ${{ matrix.group }} --store-durations --clean-durations --durations-path=.test_durations --splitting-algorithm least_duration
env:
NUM_WORKERS: 0
DP_CI_IMPORT_PADDLE_BEFORE_TF: 1
FLAGS_use_stride_compute_kernel: 0
- name: Test TF2 eager mode
run: pytest --cov=deepmd --cov-append source/tests/consistent/io/test_io.py source/jax2tf_tests
env:
Expand All @@ -72,7 +71,7 @@ jobs:
if: matrix.group == 1
- run: mv .test_durations .test_durations_${{ matrix.group }}
- name: Upload partial durations
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: split-${{ matrix.python }}-${{ matrix.group }}
path: .test_durations_${{ matrix.group }}
Expand All @@ -99,7 +98,7 @@ jobs:
key: test2-durations-combined-${{ matrix.python }}-${{ github.sha }}
restore-keys: test2-durations-combined-${{ matrix.python }}
- name: Download artifacts
uses: actions/download-artifact@v5
uses: actions/download-artifact@v6
with:
pattern: split-${{ matrix.python }}-*
merge-multiple: true
Expand Down
Loading