Skip to content

Commit 33f1f40

Browse files
authored
docs: drop ref to torch.cuda.empty_cache (#21041)
1 parent 5a095d2 commit 33f1f40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source-pytorch/advanced/speed.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ takes a great deal of care to be optimized for this.
464464
Clear Cache
465465
===========
466466

467-
Don't call :func:`torch.cuda.empty_cache` unnecessarily! Every time you call this, ALL your GPUs have to wait to sync.
467+
Don't call ``torch.cuda.empty_cache`` unnecessarily! Every time you call this, ALL your GPUs have to wait to sync.
468468

469469
Transferring Tensors to Device
470470
==============================

0 commit comments

Comments
 (0)