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

Gpt2-10 model from onnx-models: Graph must be in single static assignment (SSA) form #67

Open
sergei-mironov opened this issue Aug 24, 2020 · 2 comments

Comments

@sergei-mironov
Copy link

Here is the error I found after applying TASO (commit dce8c4d ) to the GPT-2 model of onnx-models.

Traceback (most recent call last):
  File "taso/examples/test_onnx.py", line 19, in <module>
    onnx.checker.check_model(onnx_model)
  File "/opt/conda/lib/python3.8/site-packages/onnx/checker.py", line 91, in check_model
    C.check_model(model.SerializeToString())
onnx.onnx_cpp2py_export.checker.ValidationError: Graph must be in single static assignment (SSA) form, however 'data' has been used as graph input names multiple times.
@peterlau123
Copy link

This may be due to ONNX version problem.
You can skip onnx.checker.check_model(onnx_model) and just export
exported model can be visualized by Netron also

@markuswt
Copy link

#97 should fix this

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

3 participants