Skip to content

Releases: dmlc/dlpack

v1.0

09 Sep 15:40
bbd2f4d
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare
  • Add kDLROCMHost
  • Add kDLCUDAManaged

v0.5

17 May 17:37
ddeb264
Compare
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
Compare
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
Compare
Choose a tag to compare

Minor release

  • Add bfloat16
  • Vulkan support

v0.2

02 Nov 12:39
Compare
Choose a tag to compare
  • Add DLManagedTensor structure for borrowing tensors
  • Add prefix DL to all enum constant values
    • This requires dependent frameworks to upgrade their reference to these constant
    • The ABI is compatible, as it is only change of constant name.
  • New device types
    • kDLMetal for Apple Metal device
    • kDLVPI for verilog simulator memory
    • kDLROCM for AMD GPUs

v0.1

03 Jun 16:16
Compare
Choose a tag to compare
  • Stablized DLTensor
  • Standard project structure for RPC and stable version
  • Major adoption from frameworks confirmed #10