mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Fixes #155013 Pull Request resolved: https://github.com/pytorch/pytorch/pull/155762 Approved by: https://github.com/svekars
28 lines
422 B
Markdown
28 lines
422 B
Markdown
# torch.accelerator
|
|
|
|
```{eval-rst}
|
|
.. automodule:: torch.accelerator
|
|
```
|
|
|
|
```{eval-rst}
|
|
.. currentmodule:: torch.accelerator
|
|
```
|
|
|
|
```{eval-rst}
|
|
.. 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
|
|
```
|