-
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
[fleet_executor] run time graph on python side #38164
Conversation
Thanks for your contribution! |
8b0f5ea
to
9df5af2
Compare
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
int64_t interceptor_id = task_node->task_id(); | ||
interceptor_id_to_task.emplace(interceptor_id, task_node); | ||
} | ||
runtime_graph_->SetInterceptorIdToRank(task_id_to_rank); | ||
runtime_graph_->SetInterceptorIdToNode(interceptor_id_to_task); | ||
for (auto& unique_op : ops) { | ||
unique_op.release(); |
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.
🌚
} | ||
|
||
|
||
def is_optimizer_op(op_role): |
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.
这几个在其它文件应该有,或许可以放一起
PR types
Others
PR changes
Others
Describe
replace the c++ side runtime_graph with the python side one_f_one_b function.
loss compare on GPT2 with pp=mp=dp=2
TODO List: