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

[BUG] Broken copy.hpp #1508

Open
kroburg opened this issue Apr 28, 2024 · 4 comments
Open

[BUG] Broken copy.hpp #1508

kroburg opened this issue Apr 28, 2024 · 4 comments
Labels
bug Something isn't working inactive-30d

Comments

@kroburg
Copy link
Contributor

kroburg commented Apr 28, 2024

Describe the bug
I can't compile cute/copy.hpp. Get error:
cutlass/include/cute/atom/copy_traits_sm90_tma.hpp(73): error: namespace "cute::detail" has no member "is_prefetch"

Steps/Code to reproduce bug
test.cu
#include <cute/algorithm/copy.hpp>

/usr/local/cuda/bin/nvcc -forward-unknown-to-host-compiler -I/usr/local/cuda/include -Icontrib/cutlass/include -Icontrib/cutlass/tools/util/include -g --generate-code=arch=compute_89,code=[compute_89,sm_89] -x cu -c test.cu -o test.cu.o

contrib/cutlass/include/cute/atom/copy_traits_sm90_tma.hpp(71): error: namespace "cute::detail" has no member "is_prefetch"
      if constexpr (detail::is_prefetch<CopyOp>) {
                            ^

contrib/cutlass/include/cute/atom/copy_traits_sm90_tma.hpp(71): error: type name is not allowed
      if constexpr (detail::is_prefetch<CopyOp>) {
                                        ^

contrib/cutlass/include/cute/atom/copy_traits_sm90_tma.hpp(71): error: expected an expression
      if constexpr (detail::is_prefetch<CopyOp>) {
                                               ^

3 errors detected in the compilation of "test.cu".

@kroburg kroburg added ? - Needs Triage bug Something isn't working labels Apr 28, 2024
@thakkarV
Copy link
Collaborator

Please see #1484

@kroburg
Copy link
Contributor Author

kroburg commented Apr 28, 2024

Please see #1484

Thank you!

Please notice that actual broken code is Flash Attention.

@thakkarV
Copy link
Collaborator

Yes there's a fix coming for that specific issue imminently.

Copy link

This issue has been labeled inactive-30d due to no recent activity in the past 30 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed. This issue will be labeled inactive-90d if there is no activity in the next 60 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working inactive-30d
Projects
None yet
Development

No branches or pull requests

3 participants