I have successfully prepared the required environment using "pip install --user pytorch-fast-transformers"
When I tried to run the quick start code, problem raised as follow:
Traceback (most recent call last):
File "quick_start.py", line 2, in
from fast_transformers.builders import TransformerEncoderBuilder
File "/home/caoyq/fast-transformers-master/fast_transformers/builders/init.py", line 42, in
from ..attention import \
File "/home/caoyq/fast-transformers-master/fast_transformers/attention/init.py", line 13, in
from .causal_linear_attention import CausalLinearAttention
File "/home/caoyq/fast-transformers-master/fast_transformers/attention/causal_linear_attention.py", line 15, in
from ..causal_product import causal_dot_product
File "/home/caoyq/fast-transformers-master/fast_transformers/causal_product/init.py", line 9, in
from .causal_product_cpu import causal_dot_product as causal_dot_product_cpu, \
ModuleNotFoundError: No module named 'fast_transformers.causal_product.causal_product_cpu'
I have successfully prepared the required environment using "pip install --user pytorch-fast-transformers"
When I tried to run the quick start code, problem raised as follow: Traceback (most recent call last): File "quick_start.py", line 2, in
from fast_transformers.builders import TransformerEncoderBuilder
File "/home/caoyq/fast-transformers-master/fast_transformers/builders/init.py", line 42, in
from ..attention import \
File "/home/caoyq/fast-transformers-master/fast_transformers/attention/init.py", line 13, in
from .causal_linear_attention import CausalLinearAttention
File "/home/caoyq/fast-transformers-master/fast_transformers/attention/causal_linear_attention.py", line 15, in
from ..causal_product import causal_dot_product
File "/home/caoyq/fast-transformers-master/fast_transformers/causal_product/init.py", line 9, in
from .causal_product_cpu import causal_dot_product as causal_dot_product_cpu, \
ModuleNotFoundError: No module named 'fast_transformers.causal_product.causal_product_cpu'