File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,10 @@ experience and enables users to adhere to the familiar PyTorch device
11
11
programming model without needing to explicitly load or import device-specific
12
12
extensions. On the other hand, it facilitates effortless
13
13
adoption of existing PyTorch applications with zero-code changes on
14
- out-of-tree devices.
14
+ out-of-tree devices. For more information,
15
+ see `[RFC] Autoload Device Extension <rfc >`_.
16
+
17
+ .. _rfc : https://github.com/pytorch/pytorch/issues/122468
15
18
16
19
Examples
17
20
^^^^^^^^
@@ -58,9 +61,12 @@ How it works
58
61
This mechanism is implemented based on Python's `entry_points `_ mechanism.
59
62
We discover and load all of the specific entry points in ``torch/__init__.py ``
60
63
that are defined by out-of-tree extensions.
64
+ Its implementation is in `[RFC] Add support for device extension autoloading <impl >`_
61
65
62
66
.. _entry_points : https://packaging.python.org/en/latest/specifications/entry-points/
63
67
68
+ .. _impl : https://github.com/pytorch/pytorch/pull/127074
69
+
64
70
How to apply this to out-of-tree extensions?
65
71
--------------------------------------------
66
72
You can’t perform that action at this time.
0 commit comments