onnxruntime
Add some device discovery support for non-Windows platforms
#25228
Merged

Add some device discovery support for non-Windows platforms #25228

edgchen1 merged 49 commits into main from edgchen1/device_discovery
edgchen1
edgchen1 add apple device_discovery.cc
f5b4d8a1
edgchen1 log discovered devices across platforms
f58ea4dc
edgchen1 save work - linux CPU discovery
d7b598dd
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/device_disco…
f34b674c
edgchen1 support parsing hex string to int
6101b999
edgchen1 save work - linux GPU impl
a82a10c3
edgchen1 fix Linux GPU device_id
64e0a82b
edgchen1 Rename onnxruntime/core/platform/device_discovery.cc to device_discov…
3bba3255
edgchen1 finish renaming
0594d5a8
edgchen1 add TODO for vendor name
757d27ab
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/device_disco…
3481e992
edgchen1 add default impl, add todo comment for apple
34141a16
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/device_disco…
849b3658
edgchen1 clean up code for linux gpu discovery
cc252129
edgchen1 add card_idx to linux gpu metadata
04b0758e
edgchen1 update OrtKeyValuePairs - add copy/move, make data members private, k…
f03f2294
edgchen1 save work - apple cpu discovery
c089033a
edgchen1 fix up cpu vendor detection
55c3a8c9
edgchen1 add check for non-zero detected vendor id
231d3473
edgchen1 fix formatting
9e686ca8
edgchen1
edgchen1 commented on 2025-07-01
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/device_disco…
b474e4fe
edgchen1 fix build error
c53921d2
edgchen1 hardcoded apple device discovery
48c6bb46
edgchen1 fix build issue in onnxruntime_pybind_state.cc
6aa11ab7
jywu-msft jywu-msft added release:1.23.1
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/device_disco…
537ab698
edgchen1 enable logging before ORT logging is up
f926cdcb
edgchen1 debug - dump /proc/cpuinfo file lines as they are read
5b8764e0
edgchen1 make /proc/cpuinfo vendor field not mandatory, remove debug output
d0f9653b
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/device_disco…
920c821f
edgchen1 update comment
a56c2ff5
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/device_disco…
8ef49c25
edgchen1 add some ARM CPU vendor detection support
5b721eca
edgchen1 fix build issues
c31e3369
edgchen1 replace /proc/cpuinfo parsing with cpuinfo library usage
9ae765ab
edgchen1 try enabling vendor id check in test
53dbbf95
edgchen1 add endif comment, remove constexpr on FindCpuVendorInfo() because st…
d9a7a5ab
jywu-msft jywu-msft added release:1.23.0
jywu-msft jywu-msft removed release:1.23.1
skottmckay skottmckay requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 275 days ago
skottmckay
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2025-08-08
Craigacp
edgchen1
Craigacp
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/device_disco…
46d60a3a
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/device_disco…
8dfeb2fd
edgchen1 disable DeviceDiscoveryTest.HasCpuDevice for WASM
1ddd31a2
edgchen1 debugging - dump android logs if java test fails
e1e10145
edgchen1 disable gpu device discovery via sysfs on Android. there are permissi…
3ad0927d
edgchen1 format
6adf61f9
edgchen1 use ExitStack to dump Android logs
100228f5
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/device_disco…
b8b5db04
edgchen1
edgchen1 commented on 2025-08-15
edgchen1 add get CPU device helper function, remove ANDROID handling from linu…
1afaa3ed
edgchen1 remove TODO about extending hex parsing to other types. largely hypot…
cdca7a9a
edgchen1 remove commented out test
35b37961
edgchen1 edgchen1 marked this pull request as ready for review 269 days ago
edgchen1 edgchen1 changed the title [WIP] Add some device discovery support for non-Windows platforms Add some device discovery support for non-Windows platforms 269 days ago
skottmckay
skottmckay dismissed these changes on 2025-08-15
edgchen1 add comment about std::fum_chars not accepting 0x prefix
30370bc5
edgchen1 edgchen1 dismissed their stale review via 30370bc5 269 days ago
adrianlizarraga
adrianlizarraga dismissed these changes on 2025-08-18
edgchen1 linux - log GPU discovery error instead of throwing exception
c3138a76
edgchen1 edgchen1 dismissed their stale review via c3138a76 265 days ago
edgchen1 edgchen1 requested a review from adrianlizarraga adrianlizarraga 265 days ago
adrianlizarraga
adrianlizarraga approved these changes on 2025-08-19
edgchen1
edgchen1 edgchen1 merged ebcce422 into main 264 days ago
edgchen1 edgchen1 deleted the edgchen1/device_discovery branch 264 days ago
ranjitshs
jywu-msft jywu-msft removed release:1.23.0

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone