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

Fix onnx export for quantized MPT models 2 #1647

Merged
merged 5 commits into from
Jul 14, 2023
Merged

Conversation

eldarkurtic
Copy link
Contributor

MPT models appear as HF models wrapped additionally for Composer library compatibility which results in model. prefix (instead of the classic module.) At the moment this causes errors during export of quantized models as some modules are missed during matching of names. This PR fixes it.

MPT models appear as HF models wrapped additionally for Composer library compatibility which results in `model.` prefix (instead of the classic `module.`) At the moment this causes errors during export of quantized models as some modules are missed during matching of names. This PR fixes it.
@eldarkurtic eldarkurtic merged commit e8ff0f6 into main Jul 14, 2023
10 checks passed
@eldarkurtic eldarkurtic deleted the fix-quant-MPT-export-2 branch July 14, 2023 12:53
rahul-tuli added a commit that referenced this pull request Jul 21, 2023
rahul-tuli added a commit that referenced this pull request Jul 21, 2023
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

Successfully merging this pull request may close these issues.

3 participants