-
Notifications
You must be signed in to change notification settings - Fork 685
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
Feat logical slice ops grad #8337
Conversation
…nto feat-slice_ops_support_2d_sbp
…c/oneflow into feat-slice_ops_support_2d_sbp
…nto feat-logical_slice_ops_support_all_sbp
Speed stats:
|
CI failed when running job: cpu-module. PR label automerge has been removed |
zeros = JUST(functional::ConsistentConstant(ctx->value_shape, 0, out_grads[0]->dtype(), | ||
parallel_desc, *JUST(GetSbpList(nd_sbp)))); |
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.
这里不能按 out_grads 的 nd_sbp 来初始化,因为 value_shape 的某个维度不一定可以 Split
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.
done
View latest API docs preview at: https://staging.oneflow.info/docs/Oneflow-Inc/oneflow/pr/8337/ |
接 #8313
支持 LogicalSliceAssign/LogicalSlice 后向