Skip to content

Conversation

@zhengshengning
Copy link
Contributor

PR Category

Operator Mechanism

PR Types

Bug fixes

Description

检查过程发现下面api存在大tensor计算溢出风险,该PR进行修复。
uniform、unbind、tril、stack、softmax

主要修改内容

  1. 修改PyObject_ToInt32函数,参数增加int32上限的检查拦截;
  2. shape、blockIdx等相关变量类型从int32修改为int64

pcard-93269

@paddle-bot
Copy link

paddle-bot bot commented Nov 11, 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.

Copy link
Contributor

@wanghuancoder wanghuancoder left a comment

Choose a reason for hiding this comment

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

LGTM

@wanghuancoder wanghuancoder merged commit d1b3ba4 into PaddlePaddle:develop Nov 13, 2025
85 of 90 checks passed
wanghuancoder pushed a commit that referenced this pull request Nov 13, 2025
* check_big_tensor_1107

* fix

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

2 participants