You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/notes/libtorch_stable_abi.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -163,21 +163,20 @@ You can always work with StableIValue abstractions in your custom kernel for typ
163
163
| -------- | ------- | ------- | ------- |
164
164
| std::optional\<S> | if there is a value, raw bitwise copy into leading bytes of uint64_t of pointer to a new StableIValue representing S. if there is no value, nullptr. | std::optional\<T> | Type? |
165
165
| torch::stable::Tensor | raw bitwise copy of underlying AtenTensorHandle into leading bytes of uint64_t | at::Tensor | Tensor |
166
-
| RAIIATH (outdated) | raw bitwise copy of underlying AtenTensorHandle into leading bytes of uint64_t | at::Tensor | Tensor |
167
166
| torch::headeronly::ScalarType | raw bitwise copy of the translated underlying enum into leading bytes of uint64_t | torch::headeronly::ScalarType | ScalarType |
168
-
|int32_t| raw bitwise copy into leading bytes of uint64_t | at::Layout | Layout |
169
-
|int32_t| raw bitwise copy into leading bytes of uint64_t | at::MemoryFormat | MemoryFormat |
167
+
|torch::headeronly::Layout| raw bitwise copy of the translated underlying enum into leading bytes of uint64_t | at::Layout | Layout |
168
+
|torch::headeronly::MemoryFormat| raw bitwise copy of the translated underlying enum into leading bytes of uint64_t | at::MemoryFormat | MemoryFormat |
170
169
| bool | raw bitwise copy into leading bytes of uint64_t | bool | bool |
171
170
| int64_t | raw bitwise copy into leading bytes of uint64_t | int64_t | int |
172
171
| double | raw bitwise copy into leading bytes of uint64_t | double | float |
173
-
|?|?| c10::Device | Device |
172
+
|torch::stable::Device|raw bitwise copy of index and type into leading bytes of uint64_t| c10::Device | Device |
|std::string/std::string_view|raw bitwise copy of underlying StringHandle into leading bytes of uint64_t| std::string/const char*/ivalue::ConstantString | str |
178
177
| ? | ? | at::Storage | Storage |
179
178
| ? | ? | at::Generator | Generator |
180
-
|?|?| c10::List\<T> | Type[]|
179
+
|std::vector<T>/torch::headeronly::HeaderOnlyArrayRef<T>|raw bitwise copy into leading bytes of uint64_t of pointer to a new StableIValue pointing to a list of StableIValues recursively representing the underlying elements.| c10::List\<T> | Type[]|
0 commit comments