KEMBAR78
[API Compatiblity] Add `pin_memory` for 2 API by HydrogenSulfate · Pull Request #74875 · PaddlePaddle/Paddle · GitHub
Skip to content

Conversation

@HydrogenSulfate
Copy link
Contributor

@HydrogenSulfate HydrogenSulfate commented Aug 25, 2025

PR Category

User Experience

PR Types

New features

Description

Pcard-75624

paddle.emptyTensor.new_empty新增pin_memory参数,并添加单测

@paddle-bot
Copy link

paddle-bot bot commented Aug 25, 2025

你的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.

@HydrogenSulfate HydrogenSulfate force-pushed the add_pin_memory branch 2 times, most recently from 2c378c6 to ddda128 Compare August 25, 2025 11:47
@codecov-commenter
Copy link

codecov-commenter commented Aug 25, 2025

Codecov Report

❌ Patch coverage is 33.33333% with 6 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (develop@b7f9eb6). Learn more about missing BASE report.

Files with missing lines Patch % Lines
python/paddle/tensor/creation.py 33.33% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             develop   #74875   +/-   ##
==========================================
  Coverage           ?   33.33%           
==========================================
  Files              ?        1           
  Lines              ?        9           
  Branches           ?        0           
==========================================
  Hits               ?        3           
  Misses             ?        6           
  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.

Copy link
Member

@SigureMo SigureMo left a comment

Choose a reason for hiding this comment

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

LGTMeow 🐾

Copy link
Contributor

@XiaoguangHu01 XiaoguangHu01 left a comment

Choose a reason for hiding this comment

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

LGTM

@HydrogenSulfate HydrogenSulfate merged commit 80e69d8 into PaddlePaddle:develop Aug 26, 2025
154 of 166 checks passed
@HydrogenSulfate HydrogenSulfate deleted the add_pin_memory branch August 26, 2025 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants