Pass "rewrite_input_dtype" gives an error on GPT-2.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 834
- Forks
- 109
- Avg merge
- 6h 55m
- Merged PRs (30d)
- 2
Description
I recently used GPT-2, with opset=10 from ONNX Hub.
While applying the rewrite_input_dtype pass, I encountered the C.check_model_path(\nonnx.onnx_cpp2py_export.checker.ValidationError: Graph must be in single static assignment (SSA) form, however \\'2907\\' has been used as output names multiple times.\n error.
This did happen with other classification or object detection models, and I tried the vast majority of the ones from the ONNX Hub.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the rewrite_input_dtype pass with the GPT-2 model from ONNX Hub using opset 10, then inspect the reported SSA validation error involving output name 2907. Compare the behavior with the other classification or object-detection models mentioned; done means the pass no longer fails model validation for the affected inputs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100