Commit b32f623 1 parent 61f70f9 commit b32f623 Copy full SHA for b32f623
File tree 1 file changed +30
-0
lines changed
WeeklyReports/Hackathon_6th/01_xingmingyyj
1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ ### 姓名
2
+ 朱新明
3
+ ### 实习项目
4
+ PIR 算子补全与兼容机制建设
5
+ ### 本周工作
6
+ #### PIR动转静适配op_callstack属性
7
+ PIR静态图执行已经适配` op_callstack ` 属性,进一步的需要为动转静执行适配` op_callstack ` 。
8
+ 因为在静态图下已经适配` op_callstack ` 所以这部分逻辑可以复用。但是动转静采用函数转写实现,静态图下添加的` op_callstack ` 信息
9
+ 实际上是转写后的` call_stack ` 信息。这里需要进行转换。转换逻辑可以参考` update_op_callstack_with_origin_info ` 的实现。
10
+ 具体转换时将` op_callstack ` 信息使用pybind11绑定到` Operator ` 的属性上,提供` getter ` 和` setter ` 方法。
11
+
12
+
13
+ PR链接:https://github.com/PaddlePaddle/Paddle/pull/62536
14
+
15
+ #### 解决kthvalue API动转静精度问题
16
+ ` kthvalue ` 动转静执行时,出现动态图和静态图结果不一致的问题。静态图下输出` indices ` 的结果全为0.经过分析日志发现kernel选择没有问题,进一步打印kernel内的执行中间结果发现静态图组网时` indices ` 对应的value,在算子` kthvalue ` 中的类型和` scale ` 中的类型式不一致的。具体的在` kthvalue ` 中的类型是
17
+ ` int64 ` 而在` scale ` 中被解释为` int32 ` 。所以定位到是` kthvalue ` 中的infermeta中dtype的设置问题。
18
+
19
+ PR链接:https://github.com/PaddlePaddle/Paddle/pull/62801
20
+
21
+ #### Review分布式算子注册以及单测修复相关PR
22
+ 1 . 定位PR[ #62505 ] ( https://github.com/PaddlePaddle/Paddle/pull/62505 ) 中` table_id ` 为非` Int32Attribute ` 问题。
23
+ 2 . 定位PR[ #62836 ] ( https://github.com/PaddlePaddle/Paddle/pull/62863 ) 中新旧IR下精度不一致的原因。
24
+
25
+ ### 下周工作
26
+ 1 . 分析并修复` paddle.mode ` 和` paddle.bincount ` API新旧IR下精度问题
27
+ 2 . Review分布式算子注册相关PR
28
+
29
+ ### 导师点评
30
+ 新明本周集中定位了几个比较复杂的问题,在review时也积极回复,后续稳步推进即可。
You can’t perform that action at this time.
0 commit comments