Skip to content

v1.0

Latest
Compare
Choose a tag to compare
@tqchen tqchen released this 09 Sep 15:40
bbd2f4d

This release tags DLPack v1.0 release.

  • 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.