-
Notifications
You must be signed in to change notification settings - Fork 825
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
Add runtime error info in eager boxing #7926
Conversation
…add_runtime_error_info_in_eager_boxing
…add_runtime_error_info_in_eager_boxing
…add_runtime_error_info_in_eager_boxing Conflicts: oneflow/core/boxing/nccl_boxing_function.cpp
Speed stats:
|
…ub.com/Oneflow-Inc/oneflow into add_runtime_error_info_in_eager_boxing
View latest API docs preview at: https://staging.oneflow.info/docs/Oneflow-Inc/oneflow/pr/7926/ |
Speed stats:
|
CHECK_EQ_OR_RETURN(in->nd_sbp()->sbp_parallel_size(), 1); // NOLINT(maybe-need-error-msg) | ||
CHECK_EQ_OR_RETURN(out->nd_sbp()->sbp_parallel_size(), 1); // NOLINT(maybe-need-error-msg) | ||
CHECK_OR_RETURN(IsAllBroadcastNdSbp(in->nd_sbp())); // NOLINT(maybe-need-error-msg) | ||
CHECK_OR_RETURN(IsAllBroadcastNdSbp(out->nd_sbp())); // NOLINT(maybe-need-error-msg) | ||
CHECK_OR_RETURN(out->placement()->Bigger(*in->placement()) // NOLINT(maybe-need-error-msg) | ||
|| in->placement()->Bigger(*out->placement())); // NOLINT(maybe-need-error-msg) |
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.
我们的 clang-tidy 版本更新了,可以用 // NOLINTBEGIN(maybe-need-error-msg) 了,你这里也直接用吧,要不我一直要处理冲突 🤣
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.
我们的 clang-tidy 版本更新了,可以用 // NOLINTBEGIN(maybe-need-error-msg) 了,你这里也直接用吧,要不我一直要处理冲突 🤣
好的👌
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.
我们的 clang-tidy 版本更新了,可以用 // NOLINTBEGIN(maybe-need-error-msg) 了,你这里也直接用吧,要不我一直要处理冲突 🤣
已修改
View latest API docs preview at: https://staging.oneflow.info/docs/Oneflow-Inc/oneflow/pr/7926/ |
View latest API docs preview at: https://staging.oneflow.info/docs/Oneflow-Inc/oneflow/pr/7926/ |
Speed stats:
|
View latest API docs preview at: https://staging.oneflow.info/docs/Oneflow-Inc/oneflow/pr/7926/ |
添加eager boxing 运行时错误信息