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

[BUG] Optimize reshape will add new split OP #301

Open
yaoxingwei opened this issue Jul 11, 2023 · 0 comments
Open

[BUG] Optimize reshape will add new split OP #301

yaoxingwei opened this issue Jul 11, 2023 · 0 comments

Comments

@yaoxingwei
Copy link

yaoxingwei commented Jul 11, 2023

Hi,
When I use onnxsim to optimize the GPT-NEO model. The reshape subgraph is:
image

After optimize, the reshape will not be optimized, and a new split OP will be added:
image

It seems the reshape structure is the standard structure will be optimized. If any suggestion for the issue? Thanks.

Model
GPT-NEO ONNX model

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant