idiap / fast-transformers

Pytorch library for fast transformer implementations
1.65k stars 179 forks source link

Some errors when I run the Quick-start code #75

Closed yyysjz1997 closed 3 years ago

yyysjz1997 commented 3 years ago

there is the error: ModuleNotFoundError: No module named 'fast_transformers.causal_product.causal_product_cpu' .

And I find this file"causal_product_cpu.cpp", which is a c++ file. Is it shown that I have not installed the c++ toolchain, I also want to know what package should I use for that.

angeloskath commented 3 years ago

Hi,

Did the installation complete successfully? Did you install with pip or from the repository?

I have the feeling that the installation did not complete successfully and you are running your code from inside the repository or having the repository in your PYTHONPATH.

Cheers, Angelos

angeloskath commented 3 years ago

Hi closing the issue due to inactivity. Feel free to reopen it if you are still experiencing problems.