deepmd-kit icon indicating copy to clipboard operation
deepmd-kit copied to clipboard

Does conda install of deepmd support Platform: linux-aarch64?

Open robinzyb opened this issue 1 year ago • 9 comments

Summary

no

DeePMD-kit Version

x

Backend and its version

x

Python Version, CUDA Version, GCC Version, LAMMPS Version, etc

No response

Details

I tried to install deepmd-kit using conda conda create -n deepmd deepmd-kit lammps horovod -c conda-forge And the message is

Channels:
 - conda-forge
 - defaults
Platform: linux-aarch64
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - lammps
  - horovod
  - deepmd-kit

Current channels:

  - https://conda.anaconda.org/conda-forge
  - defaults

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

I found there is only linux-64 not linux-aarch64. I am not sure if the error is caused by the platform. if so, could we add support on linux-aarch64 Screenshot 2024-06-30 at 14 00 58

robinzyb avatar Jun 30 '24 12:06 robinzyb

xref: https://github.com/conda-forge/tensorflow-feedstock/issues/136

njzjz avatar Jun 30 '24 20:06 njzjz

thanks. This is required by newest hpc in CSCS (https://www.cscs.ch/computers/decommissioned/toedi). Looking forward to the update. Our new project will start at this new hpc in October. The worst case would be compiling dpmd from scratch.

robinzyb avatar Jun 30 '24 20:06 robinzyb

Hi, aarch64 is also required by the docker image. Does the docker iamge also suffer from the problem of upstream (tensorflow)? I only found x86 docker image for tensorflow in dockerhub (https://hub.docker.com/r/tensorflow/tensorflow/tags?page=2&page_size=&ordering=&name=)

robinzyb avatar Jul 02 '24 14:07 robinzyb

Hi, aarch64 is also required by the docker image. Does the docker iamge also suffer from the problem of upstream (tensorflow)? I only found x86 docker image for tensorflow in dockerhub (https://hub.docker.com/r/tensorflow/tensorflow/tags?page=2&page_size=&ordering=&name=)

Currently, we build docker images just using the offline installer, maintained at https://github.com/deepmd-kit-recipes/docker-images.

njzjz avatar Jul 02 '24 19:07 njzjz

Hello, I checked the dockerfile. The offline installer only has linux x86_64.sh. How do you build the offline installer? Do we need to build an arm64 offline installer?

robinzyb avatar Jul 03 '24 00:07 robinzyb

How do you build the offline installer?

The offline package is built at https://github.com/deepmd-kit-recipes/installer, which is a collection of conda packages.

njzjz avatar Jul 03 '24 00:07 njzjz

Thank you. It seems everything goes back to the conda install deepmd-kit where we need the aarch64 for tensorflow. should fix the upstream problem first.

robinzyb avatar Jul 03 '24 01:07 robinzyb

memo: the containerfile for linux-aarch64 has been made by the cscs engineer, and the software performs well.

robinzyb avatar Jul 15 '24 14:07 robinzyb

containerfile

Hello, I also want to use deepmd in linux-aarch64 and I want to know how to install it in linux-aarch64. I will also use dpmd in toedi. Thanks!

siinghim avatar Dec 04 '24 07:12 siinghim