This commit is contained in:
Michael Pilosov 2026-05-25 14:26:37 -06:00
parent e8419354f4
commit bfad4547ce
3 changed files with 1 additions and 4 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ plots*
*.csv
output/
.requirements_installed
__pycache__/

View File

@ -38,8 +38,6 @@ def get_device(requested_device):
return torch.device(requested_device)
if torch.cuda.is_available():
return torch.device("cuda")
if torch.backends.mps.is_available():
return torch.device("mps")
return torch.device("cpu")

View File

@ -74,8 +74,6 @@ def get_device(requested_device):
return torch.device(requested_device)
if torch.cuda.is_available():
return torch.device("cuda")
if torch.backends.mps.is_available():
return torch.device("mps")
return torch.device("cpu")