-
Notifications
You must be signed in to change notification settings - Fork 667
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 einsum #7526
Merged
Merged
Add einsum #7526
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ldpe2G
requested review from
oneflow-ci-bot
and removed request for
lixinqi,
daquexian and
hjchen2
February 17, 2022 13:40
Speed stats:
|
Speed stats:
|
Speed stats:
|
oneflow-ci-bot
requested review from
oneflow-ci-bot
and removed request for
oneflow-ci-bot
March 5, 2022 10:49
oneflow-ci-bot
requested review from
oneflow-ci-bot
and removed request for
oneflow-ci-bot
March 5, 2022 11:37
Speed stats:
|
CI failed when running job: cpu-misc. PR label automerge has been removed |
Closed
marigoold
pushed a commit
that referenced
this pull request
Mar 15, 2022
* add einsum implementation * reformat * fix ci docs build error * add more test cases from DALLE-pytorch and alphafold repos * fix docs format * add detailed explaination for better understanding how einsum works * fix error * refine * add eager global tests * merge master * try to fix ci 2n4d error * move test_einsum.py to expensive folder * add more test cases * add testcases from openflod repo Co-authored-by: oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
wyg1997
pushed a commit
that referenced
this pull request
Mar 17, 2022
* add einsum implementation * reformat * fix ci docs build error * add more test cases from DALLE-pytorch and alphafold repos * fix docs format * add detailed explaination for better understanding how einsum works * fix error * refine * add eager global tests * merge master * try to fix ci 2n4d error * move test_einsum.py to expensive folder * add more test cases * add testcases from openflod repo Co-authored-by: oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
DIM_SEQ 拓展到7维,因为 einsum 在运算过程中会对输入张量进行维度扩充,一个5维的张量可能会拓展到7维,而其中可能会执行 reduce sum 的操作,7维的张量执行reduce_sum 会报错。
local 测试已覆盖的 case
TODO List:
文档