microsoft / microsoft/BitNet

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.

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

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.

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.