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

Build error #1

Open
MoffKalast opened this issue Jun 3, 2024 · 1 comment
Open

Build error #1

MoffKalast opened this issue Jun 3, 2024 · 1 comment

Comments

@MoffKalast
Copy link

Running make after cloning seems to result in the following:

~/llama3.cuda$ make
nvcc -DUSE_CUBLAS=1 -g -o runcuda llama3.cu -lm -lcublas
/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:
  435 |         function(_Functor&& __f)
      |                                                                                                                                                 ^ 
/usr/include/c++/11/bits/std_function.h:435:145: note:         ‘_ArgTypes’
/usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
  530 |         operator=(_Functor&& __f)
      |                                                                                                                                                  ^ 
/usr/include/c++/11/bits/std_function.h:530:146: note:         ‘_ArgTypes’
make: *** [Makefile:7: runcuda] Error 1

Ubuntu 22.04, Make 4.3, CUDA 12.2 (at least according to nvidia-smi). Llama.cpp with CuBLAS compiles fine on the same system so it should be all set up correctly in theory.

@likejazz
Copy link
Owner

likejazz commented Jun 4, 2024

As you can see, the error is not coming from my code, but from somewhere else. Try checking the version of your nvcc compiler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants