Commit 70b1a4e
Expose Storage.data_ptr() as public API
Change the access modifier of Storage.data_ptr() from protected to public,
allowing external consumers to obtain the raw data pointer for interop with
other native libraries (e.g. bitsandbytes).
Fixes #1454
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent b2a2f20 commit 70b1a4e
2 files changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8078 | 8078 | | |
8079 | 8079 | | |
8080 | 8080 | | |
| 8081 | + | |
| 8082 | + | |
| 8083 | + | |
| 8084 | + | |
| 8085 | + | |
| 8086 | + | |
| 8087 | + | |
| 8088 | + | |
| 8089 | + | |
| 8090 | + | |
| 8091 | + | |
| 8092 | + | |
| 8093 | + | |
| 8094 | + | |
8081 | 8095 | | |
8082 | 8096 | | |
8083 | 8097 | | |
| |||
0 commit comments