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

How to pre-load localattention extension? #21

Open
SibylGao opened this issue Feb 20, 2023 · 5 comments
Open

How to pre-load localattention extension? #21

SibylGao opened this issue Feb 20, 2023 · 5 comments

Comments

@SibylGao
Copy link

Hi, thanks for sharing your awesome work! But I found that 'localattention' is loaded while importing ops, which makes it quite slow to run the model. So is there any way to preload this module, like, load it in setup.py files?

@dikubab
Copy link

dikubab commented Mar 6, 2023

I also face the same problem, I tried to apply #8. It is not working for me. Can you help on how to generate 'localattention' ?

@SibylGao
Copy link
Author

SibylGao commented Mar 6, 2023

I also face the same problem, I tried to apply #8. It is not working for me. Can you help on how to generate 'localattention' ?

Hi, actually it works well but a little bit slow for me. Could you give more details about your issue?

@dikubab
Copy link

dikubab commented Mar 9, 2023

Screenshot 2023-03-09 at 11 00 21 PM
localattention.so: cannot open shared object file: No such file or directory

@dikubab
Copy link

dikubab commented Mar 9, 2023

Screenshot 2023-03-09 at 11 18 08 PM

@dikubab
Copy link

dikubab commented Mar 10, 2023

@SibylGao can you provide me solution about how you handeled it.

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