HazyResearch / safari

Convolutions for Sequence Modeling
Apache License 2.0
848 stars 70 forks source link

dropout_add_layer_norm is not installed #39

Open oferballin opened 9 months ago

oferballin commented 9 months ago

Hi All,

We are trying to run Hyena with lambada.py and get this error: "ImportError: dropout_add_layer_norm is not installed" Many trials with installing flash-attn in various versions and other imports did not work.

Any hints or tips on how to solve?

Thx! Ofer

OliverYao123 commented 1 month ago

You can install: cd csrc/layer_norm && python setup.py install

This works for me.