Skip to content

Commit

Permalink
Change default device to cpu
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliottKasoar committed Mar 1, 2024
1 parent 1e54720 commit 658c9c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions janus_core/mlip_calculators.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

def choose_calculator(
architecture: Literal[architectures] = "mace",
device: Literal[devices] = "cuda",
device: Literal[devices] = "cpu",
**kwargs,
) -> Calculator:
"""
Expand All @@ -27,7 +27,7 @@ def choose_calculator(
architecture : Literal[architectures], optional
MLIP architecture. Default is "mace".
device : Literal[devices]
Device to run calculator on. Default is "cuda".
Device to run calculator on. Default is "cpu".
**kwargs
Additional keyword arguments passed to the selected calculator.
Expand Down

0 comments on commit 658c9c2

Please sign in to comment.