mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 00:21:07 +01:00
Fixes #155013 Pull Request resolved: https://github.com/pytorch/pytorch/pull/155762 Approved by: https://github.com/svekars
422 B
422 B
torch.accelerator
.. automodule:: torch.accelerator
.. currentmodule:: torch.accelerator
.. autosummary::
:toctree: generated
:nosignatures:
device_count
is_available
current_accelerator
set_device_index
set_device_idx
current_device_index
current_device_idx
set_stream
current_stream
synchronize
device_index