dlpack
dlpack copied to clipboard
common in-memory tensor structure
This is a thread to bring awareness and discuss the recent set of proposed change of adding versioning information to DLPack. ### Summary Up until now the DLPack C struct...
This PR adds basic tests for some python packages that support DLPack. Currently, it only tests CPU arrays. Some observations - Tensorflow doesn't provide a `from_dlpack` function and both Tensorflow...
Dear DLPack authors, DLPack is widely used to enable interoperability between large C++-based frameworks that furthermore provide Python bindings. The C++ parts of such a framework are often usable through...
Alternative to #101 Addresses #34 and #104 Implements the A1 alternative in https://github.com/dmlc/dlpack/issues/104#issuecomment-1090423607 Instead of appending the new fields to the `DLTesor` which changes the layout of `DLManagedTensor` in a...
DLPack’s vision of a common in-memory tensor format that spans device and memory types is fantastic. However, in its form, there is no upgrade path for adding new items to...
Closes #34 Supersedes #72 This PR adds version info to the `DLTensor` struct. This is under discussion in #34 (see [this comment](https://github.com/dmlc/dlpack/issues/34#issuecomment-1078962112)). Since this is an ABI break, the ABI...
Dear DLpack authors, I was curious why several definitions in `dlpack.h`, specifically various `DLTensor` attributes are signed, when negative-valued arguments would seem to indicate obviously nonsensical tensor configurations (such as...
Complaints on endianness has been something I've recurrently seen (ex: CuPy https://github.com/cupy/cupy/issues/3652 and mpi4py https://github.com/mpi4py/mpi4py/issues/177), and I anticipate at some point we'd start receiving bug reports on this. Apparently there...
DLPack has this comment in the header file: ``` /*! * \brief The data pointer points to the allocated data. This will be CUDA * device pointer or cl_mem handle...
To represent tensors of type bool - is it possible adding to the `DLDataTypeCode` enum another type (kDLBool)? That can be very useful, as some well known machine learning platforms...