MCPcopy Create free account
hub / github.com/dmlc/dlpack

github.com/dmlc/dlpack @v1.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.3 ↗ · + Follow
36 symbols 79 edges 11 files 18 documented · 50% updated 25d agov1.3 · 2026-01-26★ 1,22923 open issues

Browse by type

Functions 20 Types & classes 16
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

DLPack: Open In Memory Tensor Structure

Build Status

Documentation: https://dmlc.github.io/dlpack/latest

DLPack is an open in-memory tensor structure for sharing tensors among frameworks. DLPack enables

  • Easier sharing of operators between deep learning frameworks.
  • Easier wrapping of vendor level operator implementations, allowing collaboration when introducing new devices/ops.
  • Quick swapping of backend implementations, like different version of BLAS
  • For final users, this could bring more operators, and possibility of mixing usage between frameworks.

We do not intend to implement Tensor and Ops, but instead use this as common bridge to reuse tensor and ops across frameworks.

Proposal Procedure

RFC proposals are opened as issues. The major release will happen as a vote issue to make sure the participants agree on the changes.

Project Structure

There are two major components so far - include: stabilized headers - contrib: in progress unstable libraries

People

Here are list of people who have been involved in DLPack RFC design proposals:

@soumith @piiswrong @Yangqing @naibaf7 @bhack @edgarriba @tqchen @prigoyal @zdevito

Core symbols most depended-on inside this repo

Shape

Class 16
Function 12
Method 8

Languages

Python61%
C++36%
C3%

Modules by API surface

apps/numpy_dlpack/dlpack/dlpack.py8 symbols
include/dlpack/dlpack.h7 symbols
apps/numpy_dlpack/dlpack/from_numpy.py6 symbols
contrib/dlpack/dlpackcpp.h4 symbols
apps/numpy_dlpack/dlpack/to_numpy.py4 symbols
contrib/mock_main.cc2 symbols
apps/numpy_dlpack/test_pure_numpy.py2 symbols
apps/numpy_dlpack/test.py2 symbols
contrib/mock_c.c1 symbols

For agents

$ claude mcp add dlpack \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page