Skip to content

Conversation

@SigureMo
Copy link
Member

PR Category

Execute Infrastructure

PR Types

Devs

Description

Bump third_party DLPack version to v1.31

The __dlpack_c_exchange_api__ already implemented in #76828

Footnotes

  1. https://github.com/dmlc/dlpack/releases/tag/v1.3

Copilot AI review requested due to automatic review settings January 26, 2026 14:30
@paddle-bot
Copy link

paddle-bot bot commented Jan 26, 2026

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the DLPack library from version 1.2 to version 1.3 in the third-party dependencies. The update includes changing the subproject commit reference, updating the apache-tvm-ffi dependency version to ensure compatibility, and updating the maximum supported DLPack version in the Python interoperability code.

Changes:

  • Updated third_party/dlpack submodule to v1.3 commit
  • Updated apache-tvm-ffi dependency to version 0.1.8-post.2
  • Updated max_version parameter in from_dlpack function to (1, 3)

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
third_party/dlpack Updates the submodule commit to v1.3 release
python/unittest_py/requirements.txt Updates apache-tvm-ffi to a compatible version for DLPack v1.3
python/paddle/utils/dlpack.py Updates the maximum supported DLPack version in the from_dlpack function

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@SigureMo SigureMo requested a review from gouzil January 26, 2026 17:28
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (develop@5587c70). Learn more about missing BASE report.

Additional details and impacted files
@@             Coverage Diff             @@
##             develop    #77523   +/-   ##
===========================================
  Coverage           ?   100.00%           
===========================================
  Files              ?         1           
  Lines              ?         1           
  Branches           ?         0           
===========================================
  Hits               ?         1           
  Misses             ?         0           
  Partials           ?         0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SigureMo SigureMo merged commit 1036356 into PaddlePaddle:develop Jan 27, 2026
61 checks passed
@SigureMo SigureMo deleted the dlpack/bump-to-dlpack-v13 branch January 27, 2026 01:18
xunyoyo pushed a commit to xunyoyo/Paddle that referenced this pull request Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants