mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Add ROCm documentation to libtorch (C++) reST. (#136378)
Fixes #126640 Added ROCm support section to libtorch (C++) reST. Pull Request resolved: https://github.com/pytorch/pytorch/pull/136378 Approved by: https://github.com/ezyang
This commit is contained in:
parent
3c7edf1ec0
commit
482fe186b9
1 changed files with 12 additions and 0 deletions
|
|
@ -5,6 +5,18 @@ The core of pytorch does not depend on Python. A
|
|||
CMake-based build system compiles the C++ source code into a shared
|
||||
object, libtorch.so.
|
||||
|
||||
AMD ROCm Support
|
||||
------------------------------
|
||||
If you're compiling for AMD ROCm then first run this command:
|
||||
::
|
||||
cd <pytorch_root>
|
||||
|
||||
# Only run this if you're compiling for ROCm
|
||||
python tools/amd_build/build_amd.py
|
||||
|
||||
Additional information about ROCm support can be found in the top-level
|
||||
`README <https://github.com/pytorch/pytorch/blob/main/README.md>`_.
|
||||
|
||||
Building libtorch using Python
|
||||
------------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue