Dlpack Versions Save

common in-memory tensor structure

v1.0rc

2 months ago

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

1 year ago

This is last release before DLPack ABI change to add versioning

  • Add kDLBool

v0.7

1 year ago

This release adds the following fields

  • Add kDLHexagon
  • Add kDLOneAPI
  • Add DLPACK_VERSION and DLPACK_ABI_VERSION

v0.6

2 years ago
  • Add kDLROCMHost
  • Add kDLCUDAManaged

v0.5

2 years ago

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

3 years ago
  • 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

3 years ago

Minor release

  • Add bfloat16
  • Vulkan support

v0.2

6 years ago
  • 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

6 years ago