-
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
[NewExe] update run checks of standalone executor #52313
[NewExe] update run checks of standalone executor #52313
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.
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
if ( | ||
compiled_program._build_strategy is not None | ||
and compiled_program._build_strategy.allow_cuda_graph_capture | ||
and not _is_cuda_graph_enable_standalone_executor() |
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.
如果这个判断不需要了,_is_cuda_graph_enable_standalone_executor()和FLAGS_CUDA_GRAPH_USE_STANDALONE_EXECUTOR环境变量是不是都可以删掉了?
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.
是的,后续打算和其他flag一起删除
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
PR types
Others
PR changes
Others
Describe
Delete the following checks which are used to decide whether use
StandaloneExecutor
or not:core.is_compiled_with_mlu()
: mlu related code is moved toPaddleCustomDevice
now, this line has no effectasync_mode
: added in Skip async mode for standalone executor #45599 andStandaloneExecutor
now supports those unit testsallow_cuda_graph_capture
:StandaloneExecutor
now supports this caseOthers
Pcard-67004