OpenGVLab / OpenGVLab/InternVideo

when I use flash_attn, it reports a segment error

Open
#208 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.4k
Forks
160
PR merge metrics
No merged PRs in 30d

Description

Can you help me? I installed flash-attn 2.6.3 and cd csrc/layer_norm && pip install . in order to use InternVideo2, but when I in:
from flash_attn.ops.rms_norm import DropoutAddRMSNorm
I meet
import dropout_layer_norm
it reports a segment error and I've spent a day trying to find out what the cause is.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported import after installing flash-attn 2.6.3 and running cd csrc/layer_norm && pip install .. Inspect the interaction between flash_attn.ops.rms_norm, dropout_layer_norm, and the csrc/layer_norm installation. Done means identifying the cause of the segmentation fault and documenting or resolving it so the import completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.