onnxruntime
Fix libcudart.so.13 hard dependency in pybind module breaking import on CPU-only Linux
#29590
Merged

Fix libcudart.so.13 hard dependency in pybind module breaking import on CPU-only Linux #29590

copilot-swe-agent
copilot-swe-agent copilot-swe-agent assigned copilot-swe-agent copilot-swe-agent 4 days ago
copilot-swe-agent copilot-swe-agent assigned skottmckay skottmckay 4 days ago
copilot-swe-agent copilot-swe-agent changed the title [WIP] Fix onnxruntime-gpu import error without CUDA 13 Fix libcudart.so.13 hard dependency in pybind module breaking import on CPU-only Linux 4 days ago
copilot-swe-agent copilot-swe-agent requested a review from skottmckay skottmckay 4 days ago
tianleiwu
tianleiwu commented on 2026-07-07
tianleiwu tianleiwu marked this pull request as ready for review 4 days ago
tianleiwu tianleiwu requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 4 days ago
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-07-07
tianleiwu tianleiwu marked this pull request as draft 4 days ago
Copilot Initial plan
74f8d830
Copilot Fix CUDA runtime hard dependency in pybind module by routing through …
c04fb6dd
Copilot Address code review feedback: fix type casts in PackWeightsForMixedGemm
91291d42
tianleiwu move cuda quant preprocess to a new dll
5e9fa255
tianleiwu Fix CPU/Windows pybind build: isolate CUDA quant module, restore ORT_…
c948c7db
tianleiwu tianleiwu force pushed from 793e0ead to c948c7db 3 days ago
tianleiwu tianleiwu marked this pull request as ready for review 3 days ago
tianleiwu Fix CI: define ORT_NO_CUDA_IN_PYBIND on all CUDA builds; drop braced …
4f47b23b
tianleiwu Clean up
8b32759c
skottmckay
skottmckay approved these changes on 2026-07-08
tianleiwu add a test
98979585
skottmckay
skottmckay commented on 2026-07-08
tianleiwu Add build option and torch reference
081ac225
kunal-vaishnavi
kunal-vaishnavi commented on 2026-07-08
kunal-vaishnavi
kunal-vaishnavi approved these changes on 2026-07-08
kunal-vaishnavi kunal-vaishnavi enabled auto-merge (squash) 3 days ago
kunal-vaishnavi kunal-vaishnavi merged dd32f359 into main 3 days ago
kunal-vaishnavi kunal-vaishnavi deleted the copilot/fix-onnxruntime-gpu-import-error branch 3 days ago
tianleiwu tianleiwu added release:1.28.0

Login to write a write a comment.

Login via GitHub

Assignees
Labels
Milestone