diff --git a/.github/workflows/build_wheel.yml b/.github/workflows/build_wheel.yml index e203737424..4cebac9ab5 100644 --- a/.github/workflows/build_wheel.yml +++ b/.github/workflows/build_wheel.yml @@ -66,7 +66,7 @@ jobs: # https://github.com/pypa/setuptools_scm/issues/480 fetch-depth: 0 - name: Install uv - run: curl -LsSf https://astral.sh/uv/install.sh | sh + run: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.2.24/uv-installer.sh | sh if: runner.os != 'Linux' - uses: docker/setup-qemu-action@v3 name: Setup QEMU @@ -77,7 +77,7 @@ jobs: rm -rf .git if: matrix.dp_pkg_name == 'deepmd-kit-cu11' - name: Build wheels - uses: pypa/cibuildwheel@v2.19 + uses: pypa/cibuildwheel@v2.21 env: CIBW_BUILD_VERBOSITY: 1 CIBW_ARCHS: all @@ -137,6 +137,7 @@ jobs: - uses: actions/download-artifact@v4 with: path: source/install/docker/dist + pattern: cibw-*-manylinux_x86_64-cu${{ matrix.cuda_version }}* merge-multiple: true - name: Log in to the Container registry uses: docker/login-action@v3 @@ -169,6 +170,7 @@ jobs: - uses: actions/download-artifact@v4 with: path: dist/packages + pattern: cibw-* merge-multiple: true - uses: actions/setup-python@v5 name: Install Python diff --git a/.github/workflows/package_c.yml b/.github/workflows/package_c.yml index e932dd0eba..e58b8452d2 100644 --- a/.github/workflows/package_c.yml +++ b/.github/workflows/package_c.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: include: - - tensorflow_build_version: "2.15" + - tensorflow_build_version: "2.18" tensorflow_version: "" filename: libdeepmd_c.tar.gz - tensorflow_build_version: "2.14" diff --git a/source/lmp/tests/run_mpi_pair_deepmd.py b/source/lmp/tests/run_mpi_pair_deepmd.py index b27774ce11..0c4291ab3a 100644 --- a/source/lmp/tests/run_mpi_pair_deepmd.py +++ b/source/lmp/tests/run_mpi_pair_deepmd.py @@ -54,8 +54,8 @@ ) lammps.pair_coeff("* *") lammps.run(0) -pe = lammps.eval("pe") if rank == 0: + pe = lammps.eval("pe") arr = [pe] np.savetxt(output, np.array(arr)) MPI.Finalize()