deosnt compile and run out of the box

Open Beginner friendly
#578 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
86/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
cpp
Domain
build-system

Research direction

Start with BitNet/src/ggml-bitnet-mad.cpp around line 811 and BitNet/3rdparty/llama.cpp/common/log.h. Verify the reported compile errors and the required declarations in both files, then follow the official build instructions to confirm the project compiles and runs out of the box.

Written by the indexing model from the issue text.

Description

in BitNet\src\ggml-bitnet-mad.cpp in line 811 add const before it so it becomes: const int8_t * y_col = y + col * by;
also in the BitNet\3rdparty\llama.cpp\common\log.h file add #include at the very top

doing this , the code will compile when following the offical instructions.

Dominant language
C++
Stars
40.3k
Forks
3.7k
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/BitNet

All issues in microsoft/BitNet

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.