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

torch.compile and flashattention implementation in sonar #51

Open
nitishpandey04 opened this issue Dec 19, 2024 · 2 comments
Open

torch.compile and flashattention implementation in sonar #51

nitishpandey04 opened this issue Dec 19, 2024 · 2 comments

Comments

@nitishpandey04
Copy link

nitishpandey04 commented Dec 19, 2024

Is torch.compile and flashattention already used in sonar implementation? if not, how to use it to make it faster?

@nitishpandey04 nitishpandey04 changed the title Faster inference for sonar torch.compile and flashattention implementation in sonar Dec 23, 2024
@sl5035
Copy link

sl5035 commented Jan 2, 2025

have you figured it out?

@nitishpandey04
Copy link
Author

Not using fairseq2 but there's an implementation of Sonar given in huggingface by one of the authors of the paper. There you can make any modifications you want according to the transformers library API.

https://huggingface.co/cointegrated/SONAR_200_text_encoder

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

2 participants