Skip to content

Commit

Permalink
Changed the GPU call to CPU
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaranu committed Mar 12, 2024
1 parent fde162a commit 7cb7ac9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/calcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
def calc():

mlcalculator = MACECalculator(
model_paths='/global/home/users/kumaranu/Documents/gpu_jobs/MACE_model.model',
device='cuda',
#model_paths='/global/home/users/kumaranu/Documents/gpu_jobs/MACE_model.model',
model_paths='/global/home/users/kumaranu/Documents/gpu_jobs/MACE_model_cpu.model',
#device='cuda',
device='cpu',
default_dtype="float64",
)
return mlcalculator

0 comments on commit 7cb7ac9

Please sign in to comment.