Skip to content

Cannot build #1

Open
Open
@AlpinDale

Description

@AlpinDale

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions