Skip to content

Commit

Permalink
TensorFlow -> PyTorch
Browse files Browse the repository at this point in the history
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
  • Loading branch information
njzjz committed Jun 22, 2024
1 parent 6d2c609 commit 3a703aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deepmd/pt/cxx_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ def load_library(module_name: str) -> bool:
if PT_CXX11_ABI_FLAG != pt_cxx11_abi_flag:
raise RuntimeError(

Check warning on line 51 in deepmd/pt/cxx_op.py

View check run for this annotation

Codecov / codecov/patch

deepmd/pt/cxx_op.py#L50-L51

Added lines #L50 - L51 were not covered by tests
"This deepmd-kit package was compiled with "
"CXX11_ABI_FLAG=%d, but TensorFlow runtime was compiled "
"CXX11_ABI_FLAG=%d, but PyTorch runtime was compiled "
"with CXX11_ABI_FLAG=%d. These two library ABIs are "
"incompatible and thus an error is raised when loading %s. "
"You need to rebuild deepmd-kit against this TensorFlow "
"You need to rebuild deepmd-kit against this PyTorch "
"runtime."
% (
PT_CXX11_ABI_FLAG,
Expand Down

0 comments on commit 3a703aa

Please sign in to comment.