Skip to content

Conversation

@DrRyanHuang
Copy link
Collaborator

@DrRyanHuang DrRyanHuang commented Aug 28, 2025

Paddle#74625 (合入时间8月20号9点) 引入后,paddle.cumsum 输出值 cum_offsets 的默认 dtype 是 int64,不再是 int32

后面自定义算子中存在按照 int32 类型解析的逻辑,存在问题

cum_offsets.data<int>(),

本PR将必要的 paddle.cumsum 参数 dtype 指定为 int32

PS:

目前CI上 FD develop 分支是锁的 python -m pip install paddlepaddle-gpu==3.0.0.dev20250818 -i https://www.paddlepaddle.org.cn/packages/nightly/cu126/ 这个 paddle 版本

cc @SigureMo

@paddle-bot
Copy link

paddle-bot bot commented Aug 28, 2025

Thanks for your contribution!

@codecov-commenter
Copy link

codecov-commenter commented Aug 29, 2025

Codecov Report

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

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #3692   +/-   ##
==========================================
  Coverage           ?   16.66%           
==========================================
  Files              ?        4           
  Lines              ?        6           
  Branches           ?        0           
==========================================
  Hits               ?        1           
  Misses             ?        5           
  Partials           ?        0           
Flag Coverage Δ
diff 16.66% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@Jiang-Jia-Jun Jiang-Jia-Jun merged commit 45f81b3 into PaddlePaddle:develop Aug 29, 2025
44 of 50 checks passed
@DrRyanHuang DrRyanHuang deleted the add_int32_2_cumsum branch August 29, 2025 06:57
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.

6 participants