Releases: dmlc/dlpack
v1.0
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
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
v0.7
v0.6
v0.5
v0.4
- 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
v0.2
- 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