Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions deepmd/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ def dlopen_library(module: str, filename: str):
"global_cvt_2_tf_float",
"global_cvt_2_ener_float",
"MODEL_VERSION",
"SHARED_LIB_DIR",
"SHARED_LIB_MODULE",
"default_tf_session_config",
"reset_default_tf_session_config",
Expand Down
3 changes: 2 additions & 1 deletion deepmd/lmp.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
)

from deepmd.env import (
SHARED_LIB_DIR,
TF_VERSION,
tf,
)
Expand Down Expand Up @@ -74,7 +75,7 @@ def get_library_path(module: str, filename: str) -> List[str]:
raise RuntimeError("Unsupported platform")

tf_dir = tf.sysconfig.get_lib()
op_dir = str((Path(__file__).parent / "lib").absolute())
op_dir = str(SHARED_LIB_DIR)


cuda_library_paths = []
Expand Down