We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4781bc4 commit c4f8ee0Copy full SHA for c4f8ee0
examples/tutorials/hybrid_swap_tutorial.py
@@ -37,6 +37,7 @@
37
import torch
38
import torch_sim as ts
39
from mace.calculators.foundations_models import mace_mp
40
+from torch_sim.integrators.md import MDState
41
from torch_sim.models.mace import MaceModel
42
43
# Initialize the mace model
@@ -104,6 +105,7 @@ class HybridSwapMCState(ts.integrators.MDState):
104
105
"""
106
107
last_permutation: torch.Tensor
108
+ _system_attributes = (*MDState._system_attributes, "last_permutation") # noqa: SLF001
109
110
111
# %% [markdown]
0 commit comments