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.
Microsoft GitHub Policy Service / license/cla succeeded Feb 25, 2026 in 0s

All CLA requirements met.

This check verifies that the author has agreed to a CLA with Microsoft.