KEMBAR78
[API Compatiblity] Fix range default dtype by HydrogenSulfate · Pull Request #74772 · PaddlePaddle/Paddle · GitHub
Skip to content

Conversation

@HydrogenSulfate
Copy link
Contributor

@HydrogenSulfate HydrogenSulfate commented Aug 20, 2025

PR Category

User Experience

PR Types

Bug fixes

Description

Pcard-75624

  1. deprecated添加level=1参数
  2. 修复单测
  3. 修复动转静 kwonly 参数默认值丢失问题
  4. ParamAliasDecorator装饰类改为size_args_decorator装饰函数,提升性能
  5. paddle.rangedtype默认值改为全局默认精度,与pytorch实际行为保持一致

@paddle-bot
Copy link

paddle-bot bot commented Aug 20, 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 fix_range_default_dtype branch from 5ad2b53 to 91aac7d Compare August 21, 2025 03:00
@codecov-commenter
Copy link

codecov-commenter commented Aug 21, 2025

Codecov Report

❌ Patch coverage is 93.75000% with 1 line in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (develop@2f156c7). Learn more about missing BASE report.

Files with missing lines Patch % Lines
python/paddle/tensor/creation.py 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             develop   #74772   +/-   ##
==========================================
  Coverage           ?   93.75%           
==========================================
  Files              ?        3           
  Lines              ?       16           
  Branches           ?        0           
==========================================
  Hits               ?       15           
  Misses             ?        1           
  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 previously approved these changes Aug 22, 2025
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 e7530ff into PaddlePaddle:develop Aug 22, 2025
71 of 73 checks passed
@HydrogenSulfate HydrogenSulfate deleted the fix_range_default_dtype branch August 22, 2025 17:17
Luckycheng222 pushed a commit to Luckycheng222/Paddle that referenced this pull request Aug 25, 2025
* fix range default dtype from int64 to float

* fix range and its' UT

* use view_decorator

* fix

* fix
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.

5 participants