-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[DLPack] Bump DLPack to v1.2 and implement C functions exchange API #75650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
SigureMo
merged 17 commits into
PaddlePaddle:develop
from
cattidea:dlpack/implement-c-functions-exchange-api
Oct 15, 2025
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
256a5ee
[DLPack] Implement C functions exchange API
SigureMo 1fb670e
Implement the latest C dlpack exchange API, refer to apache/tvm-ffi#96
SigureMo 32cb375
bump dlpack to v1.2
SigureMo d49fb45
cleanup legacy impls
SigureMo bb3c59d
add unittests for tvm_ffi
SigureMo c702c5e
refine ut style
SigureMo bc16a58
pin tvm-ffi to new release 0.1.0b16
SigureMo d0c2145
skip 2cases on windows
SigureMo 27e18e7
install python/unittest_py/requirements.txt in dcu workflow
SigureMo ffe9d24
add a blank line to trigger docker rebuild
SigureMo 489f02d
update other dockerfiles to trigger requirements.txt install
SigureMo 597c519
Revert "update other dockerfiles to trigger requirements.txt install"
SigureMo 65d1e14
Revert "add a blank line to trigger docker rebuild"
SigureMo b4a4a34
Revert "install python/unittest_py/requirements.txt in dcu workflow"
SigureMo c1735e4
install python/unittest_py/requirements.txt in ci/dcu_test.sh
SigureMo be4654b
install requirements with `/opt/py310/bin/pip` in ci
SigureMo 567c660
skip gpu case on DCU
SigureMo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,3 +20,4 @@ xdoctest==1.3.0 | |
| ubelt==1.3.3 # just for xdoctest | ||
| mypy==1.17.1 | ||
| soundfile | ||
| apache-tvm-ffi==0.1.0b16 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule dlpack
updated
5 files
| +6 −4 | CMakeLists.txt | |
| + − | docs/source/_static/images/DLPack_diagram.png | |
| +2 −0 | docs/source/c_api.rst | |
| +284 −11 | include/dlpack/dlpack.h | |
| +1 −1 | tests/scripts/task_lint.sh |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里只需要管
std::exception,不需要管其他的异常吗?类似这样的?Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
协议模板,这里不应该动
dmlc/dlpack#175 (comment)