microsoft / microsoft/BitNet

can not work in mac M1

Open
#198 2 comments 0 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

error information:

ggml/src/ggml.c:21302: GGML_ASSERT(0 <= info->type && info->type < GGML_TYPE_COUNT) failed
Error occurred while running command: Command '['3rdparty/llama.cpp/build/bin/llama-cli', '-m', 'models/BitNet-b1.58-2B-4T/ggml-model-i2_s.gguf', '-n', '128', '-t', '2', '-p', 'You are a helpful assistant', '-ngl', '0', '-c', '2048', '--temp', '0.8', '-b', '1', '-cnv']' died with <Signals.SIGABRT: 6>.

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 by reproducing the reported command with models/BitNet-b1.58-2B-4T/ggml-model-i2_s.gguf and inspect the assertion at ggml/src/ggml.c:21302. Check why llama-cli aborts on the Mac M1 setup; done means the same command runs without the GGML_ASSERT failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.