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:
Parthava Adabala
2025-10-02 18:12:43 +00:00
committed by PyTorch MergeBot
parent 6bb021c125
commit e6d4b26776

View File

@ -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,