When I execute the command python long_context_example.py, I encounter the following error: NameError: name 'flash_attn_func' is not defined.
And inflash-attn 1.0.4you should have the class, see here:https://github.com/Dao-AILab/flash-attention/blob/v1.0.4/flash_attn/flash_attention.py#L74 Therefore, I think this is still likely an installation issue. Could you try in your environment, python -c"import flash_attn"python -c...
output = _C.ms_deform_attn_forward( NameError: name '_C' is not defined I found a discussion about this issue atIDEA-Research/Grounded-Segment-Anything#15. I was able to install GroundingDINO with GPU support by following the solutions provided there. Then, I copied the GroundingDINO folde...