Commit fe37372
[Lora] Adjust device dispatch according to the new OrtDevice defs (#26551)
### Description
Check the device type and vendor to obtain data transfer.
### Motivation and Context
Lora obtains DataTransfer based on the OrtMemoryInfo name which is now
arbitrary.
We should now rely on memory type and vendor definitions.
---------
Co-authored-by: Copilot <[email protected]>1 parent 1936d64 commit fe37372
File tree
2 files changed
+5
-3
lines changed- onnxruntime
- core/session
- test/lora
2 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
220 | 222 | | |
221 | 223 | | |
222 | 224 | | |
| |||
0 commit comments