We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
torch.cuda.empty_cache
1 parent 5a095d2 commit 33f1f40Copy full SHA for 33f1f40
docs/source-pytorch/advanced/speed.rst
@@ -464,7 +464,7 @@ takes a great deal of care to be optimized for this.
464
Clear Cache
465
===========
466
467
-Don't call :func:`torch.cuda.empty_cache` unnecessarily! Every time you call this, ALL your GPUs have to wait to sync.
+Don't call ``torch.cuda.empty_cache`` unnecessarily! Every time you call this, ALL your GPUs have to wait to sync.
468
469
Transferring Tensors to Device
470
==============================
0 commit comments