Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ap #71119

Open
wants to merge 18 commits into
base: develop
Choose a base branch
from
Open

Ap #71119

wants to merge 18 commits into from

Conversation

lixinqi
Copy link

@lixinqi lixinqi commented Feb 13, 2025

PR Category

CINN

PR Types

New features

Description

pcard-67164

Copy link

paddle-bot bot commented Feb 13, 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.

@paddle-bot paddle-bot bot added the contributor External developers label Feb 13, 2025
@CLAassistant
Copy link

CLAassistant commented Feb 13, 2025

CLA assistant check
All committers have signed the CLA.

@Xreki
Copy link
Contributor

Xreki commented Feb 19, 2025

日志级别修改:

  • ap drr pass匹配失败,VLOG(0)打印xx pass mismatched信息,堆栈信息设置VLOG(6)打印。其他几个提示drr pass是否matched的日志由LOG(ERROR)暂时改成VLOG(0)
  • topo_match_ctx.h里面构建拓扑的信息改成VLOG(4)打印

@Xreki
Copy link
Contributor

Xreki commented Feb 19, 2025

ap_lower_fusion_op_pass重命名:

  • ap_lower_fusion_op_pass.h/.cc -> ap_generic_drr_pass.h/.cc
  • ApLowerFusionOp -> ApGenericDrr
    • CreateApLowerFusionOpAbstractDrrPass -> CreateApGenericAbstractDrrPass
    • CreateApLowerFusionOpClassicDrrPass -> CreateApGenericClassicDrrPass

ap_unary重命名:

  • ap_unary -> ap_variadic
  • ap_unary.cu -> ap_variadic_kernel.cu
  • ApUnaryKernel -> ApVaridicKernel

@Xreki
Copy link
Contributor

Xreki commented Feb 20, 2025

  • 当AP匹配或执行失败时,回滚到CINN
  • 开启AP时,支持禁用经典fused_gemm_epilogue融合

@Xreki Xreki force-pushed the ap branch 2 times, most recently from b28a78a to fd28ebe Compare February 25, 2025 04:02
@Xreki
Copy link
Contributor

Xreki commented Feb 26, 2025

PR当前仍然存在的一些编译问题:

  1. 找不到absl头文件,因为AP当前依赖CINN,而WITH_CINN当前在多个CI的上设置都是OFF,故下个commit将对AP添加WITH_CINN的条件
    image

  2. mac上
    image
    image
    image

  3. windows上
    image
    image
    image

mac和windows上的问题将后续再提PR修复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants