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

Cannot build #1

Open
AlpinDale opened this issue Nov 7, 2023 · 0 comments · May be fixed by #2
Open

Cannot build #1

AlpinDale opened this issue Nov 7, 2023 · 0 comments · May be fixed by #2

Comments

@AlpinDale
Copy link

AlpinDale commented Nov 7, 2023

Hi, I've been trying to compile the RapidLLaMA, but it seems to have issues. Is the repo still incomplete? I also had to manually build sleef with the test units omitted, as sleef doesn't work with the latest versions of mpfr, so it may be a good idea to mention that (unless it's fixed upstream).

The error I'm getting at the moment is:

/home/alpindale/AI-Stuff/tools/RapidLLaMA/src/utils/utility.h:25:10: error: ‘unique_ptr’ is not a member of ‘std’
   25 |     std::unique_ptr<char[]> buf(new char[size]);
      |          ^~~~~~~~~~
/home/alpindale/AI-Stuff/tools/RapidLLaMA/src/utils/utility.h:18:1: note: ‘std::unique_ptr’ is defined in header ‘<memory>; did you forget to ‘#include <memory>’?
   17 | #include <iomanip>
  +++ |+#include <memory>
   18 |
/home/alpindale/AI-Stuff/tools/RapidLLaMA/src/utils/utility.h:25:21: error: expected primary-expression before ‘char’
   25 |     std::unique_ptr<char[]> buf(new char[size]);
      |                     ^~~~
Failed
@AlpinDale AlpinDale linked a pull request Nov 7, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant