DeepInteraction icon indicating copy to clipboard operation
DeepInteraction copied to clipboard

How to pre-load localattention extension?

Open SibylGao opened this issue 3 years ago • 5 comments

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?

SibylGao avatar Feb 20 '23 02:02 SibylGao

I also face the same problem, I tried to apply https://github.com/fudan-zvg/DeepInteraction/issues/8. It is not working for me. Can you help on how to generate 'localattention' ?

dikubab avatar Mar 06 '23 08:03 dikubab

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?

SibylGao avatar Mar 06 '23 08:03 SibylGao

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

dikubab avatar Mar 09 '23 15:03 dikubab

Screenshot 2023-03-09 at 11 18 08 PM

dikubab avatar Mar 09 '23 15:03 dikubab

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

dikubab avatar Mar 10 '23 00:03 dikubab