Skip to content

Compilation failure on Intel MBP #445

@ekkis

Description

@ekkis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions