File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,6 @@ integrate your out-of-tree extension with PyTorch using the autoloading mechanis
66
66
67
67
`habana_frameworks.torch `_ is a Python package that enables users to run
68
68
PyTorch programs on Intel Gaudi via the PyTorch ``HPU `` device key.
69
- ``import habana_frameworks.torch `` is no longer necessary after this mechanism
70
- is applied.
71
69
72
70
.. _habana_frameworks.torch : https://docs.habana.ai/en/latest/PyTorch/Getting_Started_with_PyTorch_and_Gaudi/Getting_Started_with_PyTorch.html
73
71
@@ -137,7 +135,7 @@ We define an entry point in `torch_npu/setup.py`_:
137
135
)
138
136
139
137
Unlike ``habana_frameworks ``, ``torch_npu `` uses the environment variable ``TORCH_DEVICE_BACKEND_AUTOLOAD ``
140
- to control the autoloading process. For example, we set it to `0 ` to disable autoloading to prevent circular imports:
138
+ to control the autoloading process. For example, we set it to `` 0 ` ` to disable autoloading to prevent circular imports:
141
139
142
140
.. code-block :: python
143
141
You can’t perform that action at this time.
0 commit comments