-
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
feature/analysis to support sub-graph for TRT engine #11538
feature/analysis to support sub-graph for TRT engine #11538
Conversation
… feature/pass-manager
… feature/analysis_as_debuger
return true; | ||
} | ||
|
||
framework::proto::ProgramDesc ProcessProgramDesc( |
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.
where is this used?
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.
cleaned
|
||
TEST_F(DFG_Tester, main) { | ||
Analyzer analyser; | ||
analyser.Run(&argument); |
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.
where does argument come from?
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.
The argument
is from DFG_Tester
TEST_F(DFG_Tester, tensorrt_subgraph_node_mark_pass) { | ||
// init | ||
FluidToDataFlowGraphPass pass; | ||
ASSERT_TRUE(pass.Initialize(&argument)); |
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.
why is the argument from?
executor
, theTensorRTEngineOp
seems not executed by executor, but the analysis framework works fine, I will work on it in another PR.