-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
【PIR API adaptor No.87】Migrate fused_rotary_position_embedding into pir #58911
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FusedLinear: 在 test/legacy_test/test_fused_matmul_bias.py 里有相关静态图单测
FusedMultiTransformer :在 test/legacy_test/test_fused_multi_transformer_op.py 有相关静态图单测
麻烦为这些单测打开 pir 测试的开关吧~
Co-authored-by: Lu Qi <61354321+MarioLulab@users.noreply.github.com>
Co-authored-by: Lu Qi <61354321+MarioLulab@users.noreply.github.com>
Co-authored-by: Lu Qi <61354321+MarioLulab@users.noreply.github.com>
fused_gemm_epilogue OP目前还没有迁移到phi下,可以先跳过这个api,适配其他的api并打开对应单测 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
既然 fused_gemm_epilogue 还无法适配 pir,那么麻烦请修改一下 pr 标题和 pr 描述吧,把 paddle.incubate.nn.FusedLinear, paddle.incubate.nn.functional.fused_linear_activation, paddle.incubate.nn.functional.fused_matmul_bias 删除
PR 标题的前缀题号应该是 :【PIR API adaptor No.86、87】 |
TestFusedMultiTransformerOp.test_fused_multi_transformer_op测试为什么没有打开pir的测试呀?另外更新下pr描述吧~ |
因为这个单测是动态图单测,所以没有打开 pir 测试 |
本地有跑过test/legacy_test/test_fused_multi_transformer_op.py这个单测吗?ci上这个单测被禁了,所以没有这个文件没有被跑到。我看单测中的GetFusedMultiTransformerOutStatic函数在PIR下执行应该还是会有问题,建议在本地跑一下,修复一下相关的问题~ |
额,本地没环境跑,我看静态是跑在GPU下的。抱歉。 |
那我在本地用 GPU 环境运行一下吧~ 有进展了会在这个 pr 下 comment 😄 |
当前 |
收到,辛苦佬🤝🤝 |
PR types
Others
PR changes
APIs
Description
No.87
PIR API 推全升级
将
paddle.incubate.nn.functional.fused_rotary_position_embedding
迁移升级至 pir,并更新单测 单测覆盖率:1/1