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 address TypeError: 'NoneType' object is not callable? #25

Open
Zttt0523 opened this issue Nov 21, 2023 · 1 comment
Open

How to address TypeError: 'NoneType' object is not callable? #25

Zttt0523 opened this issue Nov 21, 2023 · 1 comment

Comments

@Zttt0523
Copy link

I use below to print the error message
except ImportError as e:
print(f"ImportError: {e}")
causal_dot_product_cuda = causal_dot_backward_cuda = None
it tells me ImportError: No module named 'fast_transformers.causal_product.causal_product_cuda'
So I think the issue is that Python is unable to load the causal_product_cuda.cu file in the causal_product directory under the fast_transformers package.
How can I resolve this?

@selomn
Copy link

selomn commented Dec 24, 2024

I use below to print the error message except ImportError as e: print(f"ImportError: {e}") causal_dot_product_cuda = causal_dot_backward_cuda = None it tells me ImportError: No module named 'fast_transformers.causal_product.causal_product_cuda' So I think the issue is that Python is unable to load the causal_product_cuda.cu file in the causal_product directory under the fast_transformers package. How can I resolve this?

Hi, bro, have you figured out ? I came across the same problem. Could you please share the solution with me. Thanks a lot.

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