-
Notifications
You must be signed in to change notification settings - Fork 1.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
[NNAdapter] vit fuse pass (5d->4d) #9583
Merged
Merged
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
Collaborator
zhupengyang
commented
Oct 21, 2022
•
edited
Loading
edited
- 部分硬件算子对 5 维支持不全面,导致 vit 模型里面部分结构会挂。增加 pass 转换维等价的 4 维运算
- 增加 subgraph 对 lod 的支持(仅支持固定的 shape)
- 修复文档错误
Thanks for your contribution! |
zhupengyang
changed the title
vit fuse pass (5d->4d)
[NNAdapter] vit fuse pass (5d->4d)
Oct 21, 2022
hong19860320
approved these changes
Oct 24, 2022
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
zhupengyang
added a commit
to zhupengyang/Paddle-Lite
that referenced
this pull request
Oct 27, 2022
* [NNAdapter] set output lod according to input lod * [NNAdapter] slice support EndsTensorList * [NNAdapter] fuse pass (5d->4d)
zhupengyang
added a commit
that referenced
this pull request
Oct 31, 2022
* windows ci fix (#9559) * [NNAdapter] support device data (#9493) * [QualcommQnn] support exp, log, reduce_mean, reduce_max, reduce_sum, floor (#9505) * [QualcommQnn] add ops (#9538) support fusion_elementwise_mul_activation, fusion_elementwise_sub_activation, fusion_elementwise_div_activation, fusion_elementwise_min_activation, fusion_elementwise_max_activation, fusion_elementwise_pow_activation, instance_norm, prelu, arg_max, arg_min, flatten, flatten2, norm * [NNAdapter] support vit model (#9583) * [NNAdapter] set output lod according to input lod * [NNAdapter] slice support EndsTensorList * [NNAdapter] fuse pass (5d->4d) * fix cmake cxx flags (#9467)
QShiX
pushed a commit
to QShiX/Paddle-Lite
that referenced
this pull request
Nov 18, 2022
* [NNAdapter] set output lod according to input lod * [NNAdapter] slice support EndsTensorList * [NNAdapter] fuse pass (5d->4d)
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.