Skip to content

Conversation

@Xing-lil
Copy link
Contributor

@Xing-lil Xing-lil commented Oct 29, 2025

PR Category

Auto Parallel

PR Types

Bug fixes

Description

问题:
单测test_semi_auto_parallel_for_llama_subnet,从V卡迁移到H卡,报错输出tensor没有dist_attr属性。
分析:
由于单测中device_prop_main >= 8的存在,一些样例只会在A卡以上执行,V卡上会直接跳过,之前其实一直没验到。
由于现在的dist_tensor没有dist_attr和dim_mapping属性,可以使用类似属性placements作为替代,验证切分正确性。
修复:
将测试中检查dim_mapping的部分,等效修改为检查placements。
card-92763

@paddle-bot
Copy link

paddle-bot bot commented Oct 29, 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.

Copy link
Contributor

@liym27 liym27 left a comment

Choose a reason for hiding this comment

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

LGTM

@Xing-lil Xing-lil merged commit 5b5cc32 into PaddlePaddle:develop Oct 30, 2025
75 of 76 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.

2 participants