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 .github/workflows/test_cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ jobs:
source/install/test_cc_local.sh --build-only
source/install/test_cc_local.sh --models-only=kokkos
env:
LAMMPS_VERSION: patch_4Jul2026
CMAKE_GENERATOR: Ninja
DP_VARIANT: cuda
ENABLE_PADDLE: FALSE
Expand Down
5 changes: 5 additions & 0 deletions deepmd/calculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ def _compress_dpa4c_for_ase(model: Any) -> bool:
from deepmd.pt_expt.kernels.dpa4c.graph_compress import (
compression_ineligibility_reason,
)
from deepmd.pt_expt.utils.serialization import (
compressed_export_unsupported_reason,
)

parts = model.atomic_model.fused_decomposition()
if (
Expand All @@ -76,6 +79,8 @@ def _compress_dpa4c_for_ase(model: Any) -> bool:
):
return False
reason = compression_ineligibility_reason(parts[0].descriptor)
if reason is None:
reason = compressed_export_unsupported_reason(model)
if reason is None:
return True
log.warning(
Expand Down
Loading
Loading