Fix typo under docs directory and RELEASE.md (#85896)

This PR fixes typo in rst files under docs directory and `RELEASE.md`.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/85896
Approved by: https://github.com/kit1980
This commit is contained in:
Kazuaki Ishizaki
2022-09-29 21:41:59 +00:00
committed by PyTorch MergeBot
parent 11224f34b8
commit bc57306bdd
7 changed files with 13 additions and 13 deletions

View File

@ -61,7 +61,7 @@ Pytorch's C++ API provides the following ways to set CUDA stream:
.. attention::
This function may have nosthing to do with the current device. It only changes the current stream on the stream's device.
This function may have nothing to do with the current device. It only changes the current stream on the stream's device.
We recommend using ``CUDAStreamGuard``, instead, since it switches to the stream's device and makes it the current stream on that device.
``CUDAStreamGuard`` will also restore the current device and stream when it's destroyed