Skip to content

Releases: dmlc/dlpack

v1.2

11 Oct 21:15
93c8f2a

Choose a tag to compare

This version intrduces the following new changes to the standard

  • Add support for Trainium device in #168
  • Enforce strides to be not null when ndim is nonzero in #178
  • Support DLPACK C Functions for Speed Exchange and Stream Handling in #174

Full Changelog: v1.1...v1.2

v1.1

11 Mar 15:05
3ea601b

Choose a tag to compare

This release mainly focuses on low-precision data type support that is increasingly relevant in latest ML workloads

  • Added support for F8
  • Added support for F4
  • Added support for F6

v1.0

09 Sep 15:40
bbd2f4d

Choose a tag to compare

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.

DLPack v1.0 rc

14 Feb 18:19
62100c1

Choose a tag to compare

DLPack v1.0 rc Pre-release
Pre-release

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.

v0.8

05 Jan 18:42
365b823

Choose a tag to compare

This is last release before DLPack ABI change to add versioning

  • Add kDLBool

v0.7

01 Jun 20:44
e2bdd3b

Choose a tag to compare

This release adds the following fields

  • Add kDLHexagon
  • Add kDLOneAPI
  • Add DLPACK_VERSION and DLPACK_ABI_VERSION

v0.6

01 Jul 14:01
2775088

Choose a tag to compare

  • Add kDLROCMHost
  • Add kDLCUDAManaged

v0.5

17 May 17:37
ddeb264

Choose a tag to compare

Rename enum names:

  • kDLGPU -> kDLCUDA
  • kDLCPUPinned -> kDLCUDAHost

The ABI is backward compatible, as it is only change of constant name, exchange can still happen between the new version and old version.

v0.4

20 Feb 16:14
a07f962

Choose a tag to compare

  • OpaqueHandle type
  • Complex support
  • Rename DLContext -> DLDevice
    • DLTensor.ctx -> DLTensor.device
    • This requires dependent frameworks to upgrade the type name.
    • The ABI is backward compatible, as it is only change of constant name, exchange can still happen between the new version and old version.

v0.3

13 Jan 16:14
e1e11e0

Choose a tag to compare

Minor release

  • Add bfloat16
  • Vulkan support