AI BLOG

What is bitnet.cpp? Framework for Inferring 1-bit LLM by Microsoft in C/C++ Language

2024-10-25

Person who needs help
Person who needs help

I would like to know bitnet.cpp!

We can help you with your concerns.

Reliability of This Article
by Our Founder/CEO&CTO Hiroyuki Chishiro

  • He has been involved in 12 years of research on real-time systems.
  • He teaches OS (Linux kernel) in English at the University of Tokyo.
  • From September 2012 to August 2013, he was a visiting researcher at the Department of Computer Science, the University of North Carolina at Chapel Hill (UNC), Chapel Hill, North Carolina, United States. He has been involved in research and development of real-time Linux in C language.
  • He has experienced in more than 15 years of programming languages: C/C++, Python, Solidity/Vyper, Java, Ruby, Go, Rust, D, HTML/CSS/JS/PHP, MATLAB, Verse (UEFN), Assembler (x64, ARM).
  • While a faculty member at the University of Tokyo, he developed the "Extension of LLVM Compiler" in C++ language and his own real-time OS "Mcube Kernel" in C language, which he published as open source on GitHub.
  • In January 2020-Present, he is CTO of Guarantee Happiness LLC, Chapel Hill, North Carolina, United States, in charge of e-commerce site development and web/social network marketing. In June 2022-Present, he is CEO&CTO of Japanese Tar Heel, Inc. in Chapel Hill, North Carolina, United States.
  • We have been engaged in disseminating useful information on AI and Crypto (Web3).
    • We have written more than 20 articles on AI including AI chatbots such as ChatGPT, Auto-GPT, Gemini (formerly Bard). He has experience in contract work as a prompt engineer, manager, and quality assurance (QA) for several companies in San Francisco, United States (Silicon Valley in the broadest sense of the word).
    • We have written more than 40 articles on cryptocurrency (including smart contract programming). He has experience as an outsourced translator of English articles on cryptocurrency into Japanese for a company in London, England.

You can learn from us.

If you would like to know the recommended job sites for AI Engineers, please click the following.

If you would like to know the recommended job sites for Prompt Engineers, please click the following.

What is bitnet.cpp?

bitnet.cpp is a 1-bit LLM inference framework by Microsoft in C/C++ language.

bitnet.cpp is developed based on llama.cpp.

If you are interested in llama.cpp, please click the following.

bitnet.cpp is available as open source on GitHub.

The open source license is MIT License.

The features and limitations of bitnet.cpp are as follows.

  • Supporting fast, lossless inference of 1.58-bit models on CPUs (NPUs and GPUs to be supported)
  • On ARM CPUs, achieves speedups ranging from 1.37x to 5.07x and power reductions ranging from 55.4% to 70.0%
  • On x86 CPUs, achieved speedups ranging from 2.37x to 6.17x and power consumption reductions ranging from 71.9% to 82.2%
  • 100B BitNet b1.58 model running on a single CPU achieved speeds comparable to human reading speed (5 to 7 tokens per second)

Introductory Videos of bitnet.cpp

These are introductory videos of bitnet.cpp.

Introductory Articles of bitnet.cpp

These are introductory articles of bitnet.cpp.

Summary

We introduced bitnet.cpp, a 1-bit LLM inference framework in C/C++ language by Microsoft.

bitnet.cpp was found to be energy efficient.

If you would like to know the recommended job sites for AI Engineers, please click the following.

If you would like to know the recommended job sites for Prompt Engineers, please click the following.

-AI, BLOG
-,