-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
[SOT] merge PaddleSOT into Paddle #57824
[SOT] merge PaddleSOT into Paddle #57824
Conversation
PaddleSOT is a Bytecode level Implementation of Symbolic OpCode Translator For PaddlePaddle. We originally developed in [PaddleSOT](https://github.com/PaddlePaddle/PaddleSOT), and to ensure consistency in Paddle versions, we are now merging PaddleSOT into Paddle. Thanks to all the contributors of this project! See more details in https://github.com/PaddlePaddle/PaddleSOT/graphs/contributors --- Co-authored-by: xiongkun <[email protected]> Co-authored-by: feifei-111 <[email protected]> Co-authored-by: 0x45f <[email protected]> Co-authored-by: gouzil <[email protected]> Co-authored-by: 六个骨头 <[email protected]> Co-authored-by: Aurelius84 <[email protected]> Co-authored-by: Wang Xin <[email protected]> Co-authored-by: haozi <[email protected]> Co-authored-by: RedContritio <[email protected]> Co-authored-by: Sanbu <[email protected]> Co-authored-by: Difer <[email protected]> Co-authored-by: cyberslack_lee <[email protected]> Co-authored-by: jjyaoao <[email protected]> Co-authored-by: PuQing <[email protected]> Co-authored-by: Ran chongzhi <[email protected]> Co-authored-by: Zhenghai Zhang <[email protected]>
你的PR提交成功,感谢你对开源项目的贡献! |
Sorry to inform you that 49933ae's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually. |
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.
LGTM
单测超时时间设置
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.
LGTM for setup.py
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.
LGTM for setup.py.in
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.
LGTM
PaddleSOT is a Bytecode level Implementation of Symbolic OpCode Translator For PaddlePaddle. We originally developed in [PaddleSOT](https://github.com/PaddlePaddle/PaddleSOT), and to ensure consistency in Paddle versions, we are now merging PaddleSOT into Paddle. Thanks to all the contributors of this project! See more details in https://github.com/PaddlePaddle/PaddleSOT/graphs/contributors --------- Co-authored-by: xiongkun <[email protected]> Co-authored-by: feifei-111 <[email protected]> Co-authored-by: 0x45f <[email protected]> Co-authored-by: gouzil <[email protected]> Co-authored-by: 六个骨头 <[email protected]> Co-authored-by: Aurelius84 <[email protected]> Co-authored-by: Wang Xin <[email protected]> Co-authored-by: haozi <[email protected]> Co-authored-by: RedContritio <[email protected]> Co-authored-by: Sanbu <[email protected]> Co-authored-by: Difer <[email protected]> Co-authored-by: cyberslack_lee <[email protected]> Co-authored-by: jjyaoao <[email protected]> Co-authored-by: PuQing <[email protected]> Co-authored-by: Ran chongzhi <[email protected]> Co-authored-by: Zhenghai Zhang <[email protected]>
PaddleSOT is a Bytecode level Implementation of Symbolic OpCode Translator For PaddlePaddle. We originally developed in [PaddleSOT](https://github.com/PaddlePaddle/PaddleSOT), and to ensure consistency in Paddle versions, we are now merging PaddleSOT into Paddle. Thanks to all the contributors of this project! See more details in https://github.com/PaddlePaddle/PaddleSOT/graphs/contributors --------- Co-authored-by: xiongkun <[email protected]> Co-authored-by: feifei-111 <[email protected]> Co-authored-by: 0x45f <[email protected]> Co-authored-by: gouzil <[email protected]> Co-authored-by: 六个骨头 <[email protected]> Co-authored-by: Aurelius84 <[email protected]> Co-authored-by: Wang Xin <[email protected]> Co-authored-by: haozi <[email protected]> Co-authored-by: RedContritio <[email protected]> Co-authored-by: Sanbu <[email protected]> Co-authored-by: Difer <[email protected]> Co-authored-by: cyberslack_lee <[email protected]> Co-authored-by: jjyaoao <[email protected]> Co-authored-by: PuQing <[email protected]> Co-authored-by: Ran chongzhi <[email protected]> Co-authored-by: Zhenghai Zhang <[email protected]>
PaddleSOT is a Bytecode level Implementation of Symbolic OpCode Translator For PaddlePaddle. We originally developed in [PaddleSOT](https://github.com/PaddlePaddle/PaddleSOT), and to ensure consistency in Paddle versions, we are now merging PaddleSOT into Paddle. Thanks to all the contributors of this project! See more details in https://github.com/PaddlePaddle/PaddleSOT/graphs/contributors --------- Co-authored-by: xiongkun <[email protected]> Co-authored-by: feifei-111 <[email protected]> Co-authored-by: 0x45f <[email protected]> Co-authored-by: gouzil <[email protected]> Co-authored-by: 六个骨头 <[email protected]> Co-authored-by: Aurelius84 <[email protected]> Co-authored-by: Wang Xin <[email protected]> Co-authored-by: haozi <[email protected]> Co-authored-by: RedContritio <[email protected]> Co-authored-by: Sanbu <[email protected]> Co-authored-by: Difer <[email protected]> Co-authored-by: cyberslack_lee <[email protected]> Co-authored-by: jjyaoao <[email protected]> Co-authored-by: PuQing <[email protected]> Co-authored-by: Ran chongzhi <[email protected]> Co-authored-by: Zhenghai Zhang <[email protected]>
PR types
New features
PR changes
Others
Description
将 PaddleSOT 并入 Paddle 主仓库,目录结构对应关系如下:
PaddleSOT/sot
->Paddle/python/paddle/jit/sot
PaddleSOT/tests
->Paddle/test/sot
(sot 相关 import 需要修改)SOT 相关修改:
LOG_LEVEL
改为SOT_LOG_LEVEL
,并删除设置 level 为 2 的操作,现在默认不会再打印很多 log,PTS 现在也支持设置环境变量,合入后和 QA 和新 IR 同学同步环境变量变动即可/
,而 Windows 上为\\
的问题,导致无法正常 skip paddle API,使用os.sep
即可Paddle 相关修改:
paddle.jit.sot
而不是 clone 的 PaddleSOTCOST_MODEL
等)dygraph_to_static_utils_new
,允许细粒度 disable 某一个单测,并方便之后开启 PIR 动转静最终态单测,目前 SOT + PIR 会出现问题,@kangguangli 正在修复([PIR] fix share_buffer translation #58075),将会在之后打开,目前仅仅针对报错单测开启这个,新旧并行,将会在之后同 @gouzil 推全新的机制to_tensor
静态图分支在 Windows 上默认 dtype 为 int32 导致的问题一些 TODOs:
dygraph_to_static_utils_new
)的推全PCard-66972