Skip to content

DLPack v1.0 rc

Pre-release
Pre-release
Compare
Choose a tag to compare
@tqchen tqchen released this 14 Feb 18:19
· 5 commits to main since this release
62100c1

This release tags DLPack v1.0 release candidate. Main changes include

  • Introduce versioning DLManagedTensorVersioned
  • flags about exported tensor

This release acompanies array api changes, see the note below

Starting Python array API standard v2023, a new max_version argument is added to __dlpack__ for the consumer to signal the producer the maximal supported DLPack version. Starting DLPack 1.0, the DLManagedTensorVersioned struct should be used and the existing DLManagedTensor struct is considered deprecated, though a library should try to support both during the transition period if possible.