Skip to content
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

Op expr infer tensor meta #5064

Merged
merged 103 commits into from
Jun 18, 2021
Merged

Op expr infer tensor meta #5064

merged 103 commits into from
Jun 18, 2021

Conversation

lixinqi
Copy link
Contributor

@lixinqi lixinqi commented Jun 1, 2021

1)把张量shape/dtype/device等信息挪到新类TensorMeta上。
2)把StatefullLocalOpKernel上的shape/dtype的推导移到UserOpExpr里。
3)先构造MirroredTensor对象,然后用set_eager_blob_object设置其EagerBlobObject对象。更换之前的先EagerBlobObject然后MirroredTensor的逻辑。

lixinqi and others added 30 commits May 28, 2021 12:56
Signed-off-by: daquexian <daquexian566@gmail.com>
@oneflow-ci-bot oneflow-ci-bot removed their request for review June 12, 2021 21:01
@clackhan clackhan requested a review from oneflow-ci-bot June 17, 2021 02:57
@oneflow-ci-bot oneflow-ci-bot removed their request for review June 17, 2021 03:12
@clackhan clackhan requested a review from oneflow-ci-bot June 17, 2021 03:27
@oneflow-ci-bot oneflow-ci-bot removed their request for review June 17, 2021 03:44
@clackhan clackhan force-pushed the op_expr_infer_tensor_meta branch from 5be98d3 to 0e01798 Compare June 17, 2021 07:49
@clackhan clackhan requested a review from oneflow-ci-bot June 17, 2021 09:57
@oneflow-ci-bot oneflow-ci-bot removed their request for review June 17, 2021 11:07
@clackhan clackhan requested a review from oneflow-ci-bot June 18, 2021 01:54
@oneflow-ci-bot oneflow-ci-bot removed their request for review June 18, 2021 02:02
@clackhan clackhan requested a review from oneflow-ci-bot June 18, 2021 02:09
@oneflow-ci-bot oneflow-ci-bot removed their request for review June 18, 2021 02:26
@clackhan clackhan requested a review from oneflow-ci-bot June 18, 2021 02:37
@oneflow-ci-bot oneflow-ci-bot removed their request for review June 18, 2021 03:38
@oneflow-ci-bot oneflow-ci-bot merged commit cfbdb5d into master Jun 18, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the op_expr_infer_tensor_meta branch June 18, 2021 03:41
@clackhan clackhan restored the op_expr_infer_tensor_meta branch June 18, 2021 04:02
@chengtbf chengtbf deleted the op_expr_infer_tensor_meta branch September 8, 2021 04:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants