mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Update torch.rst (#164408)
Corrected grammatical mistake Fixes #ISSUE_NUMBER Pull Request resolved: https://github.com/pytorch/pytorch/pull/164408 Approved by: https://github.com/mikaylagawarecki
This commit is contained in:
committed by
PyTorch MergeBot
parent
6bb021c125
commit
e6d4b26776
@ -146,7 +146,7 @@ Indexing, Slicing, Joining, Mutating Ops
|
||||
Accelerators
|
||||
----------------------------------
|
||||
Within the PyTorch repo, we define an "Accelerator" as a :class:`torch.device` that is being used
|
||||
alongside a CPU to speed up computation. These device use an asynchronous execution scheme,
|
||||
alongside a CPU to speed up computation. These devices use an asynchronous execution scheme,
|
||||
using :class:`torch.Stream` and :class:`torch.Event` as their main way to perform synchronization.
|
||||
We also assume that only one such accelerator can be available at once on a given host. This allows
|
||||
us to use the current accelerator as the default device for relevant concepts such as pinned memory,
|
||||
|
Reference in New Issue
Block a user