Skip to content

[CINN] Update cinn jit data#72510

Merged
zyfncg merged 2 commits intoPaddlePaddle:developfrom
Dmovic:update_cinn_jit_data
May 8, 2025
Merged

[CINN] Update cinn jit data#72510
zyfncg merged 2 commits intoPaddlePaddle:developfrom
Dmovic:update_cinn_jit_data

Conversation

@Dmovic
Copy link
Contributor

@Dmovic Dmovic commented Apr 27, 2025

PR Category

CINN

PR Types

Performance

Description

cinn_jit 目前会为 input 和 output tensor 均申请显存,但部分场景 generate shape 会引入额外的 input 参数,导致额外的开销,调度开销重的场景会影响效率。

5b12c583ee8554d329c60c8ca7db6167

针对每个 cinn_jit,目前认为 input tensor 的显存均已经申请过,不再为其申请,generate shape 参数由于并不在 kernel 中实际使用,临时用 nullptr 代替,并输出 warning。

todo:

  1. 修改 generate shape op 问题,并删除 warning。

pcard-67164

@paddle-bot
Copy link

paddle-bot bot commented Apr 27, 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.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (develop@0a13032). Learn more about missing BASE report.

Additional details and impacted files
@@             Coverage Diff             @@
##             develop    #72510   +/-   ##
===========================================
  Coverage           ?   100.00%           
===========================================
  Files              ?         1           
  Lines              ?        10           
  Branches           ?         0           
===========================================
  Hits               ?        10           
  Misses             ?         0           
  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.

zyfncg
zyfncg previously approved these changes Apr 28, 2025
@Dmovic
Copy link
Contributor Author

Dmovic commented Apr 28, 2025

/re-run all-failed

@zyfncg zyfncg merged commit c023d88 into PaddlePaddle:develop May 8, 2025
46 of 50 checks passed
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.

4 participants