deepmd.lmp#
Register entry points for lammps-wheel.
Attributes#
Functions#
| Get the environment variable from given paths. |
| Get library path from a module. |
| Get TensorFlow library and preload paths when TensorFlow is installed. |
| Get PyTorch library paths when PyTorch is installed. |
| Configure library paths for the installed LAMMPS backends. |
| Get the directory of the deepmd-kit OP library. |
Module Contents#
- deepmd.lmp.get_env(paths: list[str | None]) str[source]#
Get the environment variable from given paths.
- deepmd.lmp.get_library_path(module: str, filename: str) list[str][source]#
Get library path from a module.
- deepmd.lmp._get_tensorflow_library_paths() tuple[list[str], list[str]][source]#
Get TensorFlow library and preload paths when TensorFlow is installed.
- deepmd.lmp._get_pytorch_library_paths() list[str][source]#
Get PyTorch library paths when PyTorch is installed.