question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I tried compiling the latest build, but setup.py crashed with the following error:

/mnt/ceph/users/dberenberg/gustaf_stuff/repos/flash-attention/csrc/flash_attn/src/fmha_fprop_fp16_kernel.sm80.cu:62:385: internal compiler error: in maybe_undo_parenthesized_ref, at cp/semantics.c:1740
     BOOL_SWITCH(launch_params.is_dropout, IsDropoutConst, [&] {

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:18 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
syoramicommented, Dec 13, 2022

Also thanks for your great work! FlashAttention helps improve my project so much!

1reaction
tridaocommented, Dec 13, 2022

Thanks so much @syorami. Looks like the compiler issue is fixed, so I’m closing the issue for now. The linking problem seems to be a separate issue with torch path and conda. Feel free to reopen if you run into problems.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Compilation error - Wikipedia
Compilation error refers to a state when a compiler fails to compile a piece of computer program source code, either due to errors...
Read more >
7.3. Compile Errors and Warnings
A compile error happens when the compiler reports something wrong with your program, and does not produce a machine-language translation.
Read more >
Difference between Compile Time Errors and Runtime Errors
Compile-Time Errors: Errors that occur when you violate the rules of writing syntax are known as Compile-Time errors. This compiler error ...
Read more >
C Common Compiler Errors with Explanations
C Common Compiler Errors with Explanations. List of the most common C errors students experience in Mimir Classroom and their explanations.
Read more >
Understanding and fixing compiler and linker errors
Errors are conditions that prevent the compiler from completing the compilation of your files. Compiler errors are restricted to single source code files...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found