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

Parsing into dead code for distilgpt2_fp16 #3772

Open
CharlieL7 opened this issue Jan 21, 2025 · 1 comment
Open

Parsing into dead code for distilgpt2_fp16 #3772

CharlieL7 opened this issue Jan 21, 2025 · 1 comment

Comments

@CharlieL7
Copy link
Collaborator

I was working on fixing the Netron output for this model when I saw that the issue I was seeing comes from how MIGraphX parses this model into a lot of dead code. Many instructions have no output. Take a look at the netron output attached here.

distilgpt2_netron.json

These instructions will be removed by dead_code_elimination, but why are we even parsing into dead code?

@CharlieL7
Copy link
Collaborator Author

CharlieL7 commented Jan 21, 2025

Here's the model in question
distilgpt2_1_fp16_gpu.json
Github doesn't allow onnx files to be shared here. So it's probably easier to get a copy of the ONNX protobuf on the shared NAS.

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