mirror of
https://github.com/pytorch/pytorch.git
synced 2025-11-03 15:35:04 +08:00
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:
committed by
PyTorch MergeBot
parent
11224f34b8
commit
bc57306bdd
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user