BitNet icon indicating copy to clipboard operation
BitNet copied to clipboard

Official inference framework for 1-bit LLMs

Results 227 BitNet issues
Sort by recently updated
recently updated
newest added

[DeepSeek R1 1.58bit](https://huggingface.co/unsloth/DeepSeek-R1-GGUF) Note: Unsloth uses some sort of dynamic quantization

Hi BitNet team, thanks for the great job! I know you've done a lot on your [fork of llama.cpp](https://github.com/Eddie-Wang1120/llama.cpp) and it's difficult to merge back to upstream due to conflicts,...

Does it work with this code? https://github.com/Chenglin-Yang/1.58bit.flux

i try many way but i have a problem wen i use (bitnet-venv) (ai) root@mgtm3na:~/BitNet# python setup_env.py --hf-repo HF1BitLLM/Llama3-8B-1.58-100B-tokens -q i2_s and this is the result INFO:root:Compiling the code using...

# Environment * CPU: NVIDA Grace CPU(72thread) * Model: Llama3-8B-1.58-100B-tokens with TL1 * Prompt: AI is going to * N_Predict: 128 * Threads: 1, 2, 4, 8, 16, 32, 64,...

I'm not sure whats wrong i have all of the stuff i need from VS22 ![Image](https://github.com/user-attachments/assets/b8df4f11-1c87-439e-9acf-4f9cc74d8301) ![Image](https://github.com/user-attachments/assets/c6e976a4-88c2-4a9b-830c-58721009e2a5) ![Image](https://github.com/user-attachments/assets/eadecb49-fddc-4ccd-b967-26f177cc91e3) ![Image](https://github.com/user-attachments/assets/d15a5196-acb9-4ae7-a2b6-97317cc66a45) ![Image](https://github.com/user-attachments/assets/d97fca8e-bfac-4120-9dbc-977d95fdc94b) ![Image](https://github.com/user-attachments/assets/6dca3b67-2dcb-40e0-b67b-70b6d342f27c) ![Image](https://github.com/user-attachments/assets/56170bac-08e3-4ba7-b8d9-aa12158f7b0a) ```CMake Error at CMakeLists.txt:2 (project): Generator NMake Makefiles...

I wanted to quickly test the recently released model on a Linux machine via the terminal, so I put together a simple [Colab notebook](https://colab.research.google.com/drive/1YWEISZD3OTr4L11g8-PK4l0H7dQXarUo#scrollTo=BWF1MMYsbDaf) that includes the necessary installation and...

I have followed the instruction from https://github.com/microsoft/BitNet?tab=readme-ov-file#build-from-source but stuck at step to build the project shell log: ``` (bitnet-cpp) user@bitnet1:~/BitNet$ python setup_env.py -md models/BitNet-b1.58-2B-4T -q i2_s INFO:root:Compiling the code using...

![Image](https://github.com/user-attachments/assets/210df28d-2578-4bd0-b579-b3ea94c32313) Traceback (most recent call last): When I tried python setup_env.py -md models/BitNet-b1.58-2B-4T -q i2_s, Got the above problem. Could you please give some advice. File "/home/workspace/BitNet/utils/convert-hf-to-gguf-bitnet.py", line 20, in...

BitNet/3rdparty/llama.cpp/ggml/src/../../../../include/bitnet-lut-kernels.h:190:43: error: cannot convert ‘int16x8_t’ to ‘const int8x16_t’ in initialization 190 | const int8x16_t vec_zero = vdupq_n_s16(0x0000); | ~~~~~~~~~~~^~~~~~~~ | | | int16x8_t BitNet/3rdparty/llama.cpp/ggml/src/../../../../include/bitnet-lut-kernels.h:232:22: error: invalid operands to binary +...