Tag an official v1.0 release
Hi @tqchen, we've discussed this in a recent array-API meeting and no objection was raised. Given that several projects have successfully migrated to DLPack v1.0, including:
- NumPy (https://github.com/numpy/numpy/pull/26501)
- mpi4py (https://github.com/mpi4py/mpi4py/pull/494)
- CUDA Python (https://github.com/NVIDIA/cuda-python/pull/87)
and the release candidate has been cut several months ago (in February), it should be no issue in actually tagging a v1.0 release 🙂 Thanks!
cc: @seberg @rgommers @oleksandr-pavlyk for vis
Just did that, we should keep track of migration status of other projects, including pytorch
Thanks, Tianqi!
we should keep track of migration status of other projects, including pytorch
Totally agreed. I've shared the DLPack update news internally a few months back. Will try to follow up with more projects.
-
dpctl.tensoralso supports DLPack 1.0 (doc), but the docstring does not reflect that at the moment.
- CuPy PR for 1.0 support: https://github.com/cupy/cupy/pull/8683
- PyTorch PR should be in the works
- Cc @jakevdp for JAX.
It's difficult to figure out whether we're conforming to the spec or not (there's no conformance test suite, right?), but I believe the only thing JAX is missing is using DLManagedTensorVersioned rather than DLManagedTensor. Guess I'll do that.
It's difficult to figure out whether we're conforming to the spec or not (there's no conformance test suite, right?),
I think there's no library-agnostic test suite, no. It'd be quite nice to have that - there's a TODO in https://github.com/data-apis/array-api-tests/issues/301 for it, and that's probably the right place at least for Python-level tests - and that test suite is already run in JAX, so it'd be easy logistically.
Perhaps borrowing from NumPy (https://github.com/numpy/numpy/blob/main/numpy/_core/tests/test_dlpack.py) or some other implementation is helpful for now..
PyTorch PR with implementation in the works: https://github.com/pytorch/pytorch/pull/145000
PyTorch 2.9.0 was just released, and included the upgrade to DLPack 1.0