Skip to content

[Cherry-Pick] Remove unbind int32 element limit - #79780

Open
omoYang wants to merge 2 commits into
PaddlePaddle:release/3.4from
omoYang:pr79737-cp3.4
Open

omoYang wants to merge 2 commits into
PaddlePaddle:release/3.4from
omoYang:pr79737-cp3.4

Conversation

@omoYang

@omoYang omoYang commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

PR Category

Operator Mechanism

PR Types

Bug fixes

Description

devPR:#79737

是否引起精度变化

omoYang and others added 2 commits September 15, 2026 19:38
…79737)

* [Fix] Remove unbind int32 element limit

* fix infermeta for big tensor to avoid a certain dimension overflow in normal un-strided path
Backport the SplitFunctor<CPUContext> int->int64_t narrowing fix from
PaddlePaddle#79246 so unbind/split on CPU no longer overflows when a per-output
column count exceeds INT_MAX (e.g. unbind([2, 2^31], axis=0) via the
non-strided path). Pairs with PaddlePaddle#79737 which removed the numel<=INT_MAX
guard.
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (release/3.4@ebb32f2). Learn more about missing BASE report.

Additional details and impacted files
@@               Coverage Diff               @@
##             release/3.4    #79780   +/-   ##
===============================================
  Coverage               ?   100.00%           
===============================================
  Files                  ?         2           
  Lines                  ?        12           
  Branches               ?         0           
===============================================
  Hits                   ?        12           
  Misses                 ?         0           
  Partials               ?         0           

☔ View full report in Codecov by Harness.
📢 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.

@omoYang

omoYang commented Sep 16, 2026

Copy link
Copy Markdown
Contributor Author

/re-run all-failed

@wanghuancoder wanghuancoder left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@omoYang

omoYang commented Sep 16, 2026

Copy link
Copy Markdown
Contributor Author

/re-run all-failed

2 similar comments
@omoYang

omoYang commented Sep 16, 2026

Copy link
Copy Markdown
Contributor Author

/re-run all-failed

@omoYang

omoYang commented Sep 17, 2026

Copy link
Copy Markdown
Contributor Author

/re-run all-failed

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