Skip to content

Commit d538cb3

Browse files
committed
deploy: afe58a0
1 parent 6865247 commit d538cb3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

_sources/user_guide/getting_started.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ a list of structures using the ``Potential`` class.
5959
# load the model
6060
device = "cuda" if torch.cuda.is_available() else "cpu"
6161
print(f"Running MatterSim on {device}")
62-
potential = Potential.load(device=device)
62+
potential = Potential.from_checkpoint(device=device)
6363
6464
# build the dataloader that is compatible with MatterSim
6565
dataloader = build_dataloader(structures, only_inference=True)

searchindex.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)