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

Error when importing dropout_layer_norm #1441

Open
anfortas337 opened this issue Jan 13, 2025 · 1 comment
Open

Error when importing dropout_layer_norm #1441

anfortas337 opened this issue Jan 13, 2025 · 1 comment

Comments

@anfortas337
Copy link

When i try to import layer_norm i get this error

Traceback (most recent call last):
File "/home/maxim/test/main.py", line 4, in
import dropout_layer_norm
ImportError: /home/maxim/anaconda3/envs/myenv/lib/python3.12/site-packages/dropout_layer_norm.cpython-312-x86_64-linux-gnu.so: undefined symbol: __cxa_call_terminate

I have flash-attn version 2.7.3. I built layer_norm from source and build was successful

@tridao
Copy link
Member

tridao commented Jan 13, 2025

As mentioned in the README of that extension:
As of 2024-01-05, this extension is no longer used in the FlashAttention repo. We've instead switched to a Triton-based implementation.

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