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

Add attention export functionality to experiments #134

Merged
merged 2 commits into from
Mar 4, 2024
Merged

Conversation

NirantK
Copy link
Contributor

@NirantK NirantK commented Feb 26, 2024

This Pull Request adds code to export a model from PyTorch to ONNX with:
model_kwargs = {"output_attentions": True, "return_dict": True}

This is clean and simple and does not perform any quantization

@NirantK NirantK requested review from generall and Anush008 February 26, 2024 06:11
@Anush008
Copy link
Member

Anush008 commented Mar 4, 2024

Both files worked fine. One small change request.

@NirantK NirantK requested a review from Anush008 March 4, 2024 09:08
Copy link
Member

@Anush008 Anush008 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🫡

@NirantK NirantK merged commit 74062e8 into main Mar 4, 2024
17 checks passed
@NirantK NirantK deleted the output_attentions branch March 4, 2024 11:00
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.

2 participants