Compilation failure on Intel MBP
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 40.3k
- Forks
- 3.7k
- PR merge metrics
- No merged PRs in 30d
Description
I'm building on OSX 13.7.8 with clang -v:
Apple clang version 15.0.0 (clang-1500.1.0.2.5)
Target: x86_64-apple-darwin22.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
and when I run this step:
huggingface-cli download microsoft/BitNet-b1.58-2B-4T-gguf --local-dir models/BitNet-b1.58-2B-4T
python setup_env.py -md models/BitNet-b1.58-2B-4T -q i2_s
⚠️ Warning: 'huggingface-cli download' is deprecated. Use 'hf download' instead.
Fetching 4 files: 0%| | 0/4 [00:00<?, ?it/s]Downloading 'ggml-model-i2_s.gguf' to 'models/BitNet-b1.58-2B-4T/.cache/huggingface/download/f28pn7v36EcygdlMWvHpzrkkz6A=.4221b252fdd5fd25e15847adfeb5ee88886506ba50b8a34548374492884c2162.incomplete'
Downloading 'README.md' to 'models/BitNet-b1.58-2B-4T/.cache/huggingface/download/Xn7B-BWUGOee2Y6hCZtEhtFu4BE=.0c3414945e67e814762595e1c059007a429b01a8.incomplete'
Downloading 'data_summary_card.md' to 'models/BitNet-b1.58-2B-4T/.cache/huggingface/download/rO2cXQjMJqsORRCCpgXS1A8CgMk=.156c5705d7cf1e2f11a27e62f673c4576af7aa19.incomplete'
Downloading '.gitattributes' to 'models/BitNet-b1.58-2B-4T/.cache/huggingface/download/wPaCkH-WbT7GsmxMKKrNZTV4nSM=.4e3e1a539c8d36087c5f8435e653b7dc694a0da6.incomplete'
data_summary_card.md: 3.86kB [00:00, 3.72MB/s]
.gitattributes: 1.64kB [00:00, 2.73MB/s]
README.md: 8.94kB [00:00, 3.95MB/s] ?B/s]
Download complete. Moving file to models/BitNet-b1.58-2B-4T/.gitattributes
Download complete. Moving file to models/BitNet-b1.58-2B-4T/data_summary_card.md
Download complete. Moving file to models/BitNet-b1.58-2B-4T/README.md
ggml-model-i2_s.gguf: 100%|██████████████████████████████████| 1.19G/1.19G [02:45<00:00, 7.19MB/s]
Download complete. Moving file to models/BitNet-b1.58-2B-4T/ggml-model-i2_s.gguf5<00:00, 9.84MB/s]
Fetching 4 files: 100%|█████████████████████████████████████████████| 4/4 [02:46<00:00, 41.67s/it]
/Users/ekkis/Dev/BitNet/models/BitNet-b1.58-2B-4T
INFO:root:Compiling the code using CMake.
ERROR:root:Error occurred while running command: Command '['cmake', '--build', 'build', '--config', 'Release']' returned non-zero exit status 2., check details in logs/compile.log
the actual error log is too long to post here but I've posted it here: https://termbin.com/zvii. incidentally I'm doing this with miniconda and Python 3.9.23
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing logs/compile.log and the CMake build invoked by setup_env.py for the reported macOS Intel environment. Reproduce the failure with the given model download and command, then verify that the build completes successfully on the stated compiler and Python setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp, macos, python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100