mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
This reverts commit fb02b40d27.
Reverted https://github.com/pytorch/pytorch/pull/140542 on behalf of https://github.com/huydhn due to Sorry for reverting your change, but I need to revert this in order to revert https://github.com/pytorch/pytorch/pull/133572#issuecomment-2537204202 due to a conflict ([comment](https://github.com/pytorch/pytorch/pull/140542#issuecomment-2537253665))
17 lines
337 B
ReStructuredText
17 lines
337 B
ReStructuredText
torch.accelerator
|
|
===================================
|
|
.. automodule:: torch.accelerator
|
|
.. currentmodule:: torch.accelerator
|
|
|
|
.. autosummary::
|
|
:toctree: generated
|
|
:nosignatures:
|
|
|
|
device_count
|
|
is_available
|
|
current_accelerator
|
|
set_device_idx
|
|
current_device_idx
|
|
set_stream
|
|
current_stream
|
|
synchronize
|