diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7cb936a..b95db9d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,10 +13,7 @@ jobs: - name: deepmd-kit platform: linux-64 - name: deepmd-kit - cuda: '11.6' - platform: linux-64 - - name: deepmd-kit - cuda: '10.2' + cuda: '11.8' platform: linux-64 #- name: deepmd-kit-gpu # cuda: '10.2' @@ -34,7 +31,7 @@ jobs: CUDA_VERSION: ${{ matrix.cuda }} CONDA_OVERRIDE_CUDA: ${{ matrix.cuda }} - run: export NAME=`ls deepmd-kit-*.sh` && split -a 1 -d -n 2 ${NAME} ${NAME}. && rm deepmd-kit-*.sh - if: matrix.cuda == '11.6' + if: matrix.cuda == '11.8' - name: Upload to release uses: softprops/action-gh-release@master if: startsWith(github.ref, 'refs/tags/') diff --git a/deepmd-kit/construct.yaml b/deepmd-kit/construct.yaml index a9524c2..742aa38 100644 --- a/deepmd-kit/construct.yaml +++ b/deepmd-kit/construct.yaml @@ -3,26 +3,19 @@ {% if cuda_version == '' %} {% set variant = "cpu" %} {% else %} -{% set variant = "cuda" + cuda_version + "_gpu" %} +{% set variant = "cuda" + cuda_version.replace(".", "") %} {% endif %} name: deepmd-kit version: {{ version }}-{{ variant }} channels: -- https://conda.anaconda.org/deepmodeling -- https://conda.deepmodeling.org -- https://repo.anaconda.com/pkgs/main/ -- https://conda.anaconda.org/conda-forge # [ppc64le] +- https://conda.anaconda.org/conda-forge specs: -- deepmd-kit {{ version }} *{{ variant }} -- libdeepmd {{ version }} *{{ variant }} +- deepmd-kit {{ version }} {{ variant }}* - lammps - horovod -{% if cuda_version == '' %} -- nocuda -{% endif %} - dpdata - conda