Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
njzjz committed Jun 21, 2024
1 parent ced2562 commit 30b5377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepmd/tf/lmp.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def get_library_path(module: str, filename: str) -> List[str]:

tf_dir = tf.sysconfig.get_lib()
op_dir = str(SHARED_LIB_DIR)
pt_spec = find_spec("torch")
pt_spec = find_spec("torch.lib")
if pt_spec is not None:
pt_dir = pt_spec.submodule_search_locations[0]
else:
Expand Down

0 comments on commit 30b5377

Please sign in to comment.