Skip to content

Commit

Permalink
Update dependencies and workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
durandtibo committed Oct 8, 2023
1 parent 835e25e commit 56c2810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coola/utils/tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def is_mps_available() -> bool:
if not is_torch_available():
return False
try:
torch.ones(1, device=torch.device("mps"))
torch.ones(1, device="mps")
return True
except RuntimeError:
return False

0 comments on commit 56c2810

Please sign in to comment.