Skip to content

fix: OrtValue.from_dlpack rejects zero-size tensors as non-contiguous#27451

Merged
justinchuby merged 2 commits into
mainfrom
copilot/fix-ortvalue-dlpack-zero-size-tensors
Feb 25, 2026
Merged

fix: OrtValue.from_dlpack rejects zero-size tensors as non-contiguous#27451
justinchuby merged 2 commits into
mainfrom
copilot/fix-ortvalue-dlpack-zero-size-tensors

fix: handle zero-size tensors in IsContiguousTensor for DLPack conver…

aac261c
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL completed Feb 25, 2026 in 2s

1 configuration not found

Warning: Code scanning cannot determine the alerts introduced by this pull request, because 1 configuration present on refs/heads/main was not found:

API upload

  • ❓  <default>

View all branch alerts.