Skip to content

Commit fd984eb

Browse files
committed
fixed link
1 parent 3122205 commit fd984eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beginner_source/basics/buildmodel_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
# -----------------------
3535
# We want to be able to train our model on a hardware accelerator like the GPU or MPS,
3636
# if available. Let's check to see if `torch.cuda <https://pytorch.org/docs/stable/notes/cuda.html>`_
37-
# or `torch.backends.mps <https://pytorch.org/docs/stable/notes/mps.html> are available, otherwise we use the CPU.
37+
# or `torch.backends.mps <https://pytorch.org/docs/stable/notes/mps.html>` are available, otherwise we use the CPU.
3838

3939
device = "cuda" if torch.cuda.is_available() else "mps" if torch.backends.mps.is_available() else "cpu"
4040
print(f"Using {device} device")

0 commit comments

Comments
 (0)