Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A fork of official inference framework for 1-bit LLMs thats includes additional scripts to enhance the experience.

License

NotificationsYou must be signed in to change notification settings

ArrivedAditya/BitNet

 
 

Repository files navigation

License: MITversion

Information

Kernels use in LLM model

  • I2_S for x86, x86_64 cpus.
  • TL1
  • TL2

Model that is supported to use in this branch

Installation

Requirements

  • python>=3.9
  • cmake>=3.22
  • clang>=18
  • conda (highly recommend) e.g., miniforge, miniconda.

Operating System Instruction for Fulling Requirments

For Windows users, its best use wsl for this thing and install linux distro like.

For Debian/Ubuntu or LTS Linux distro users

  • Packages respostory likellvm

      `bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"`

Build from source

  1. Clone the repo
git clone --recursive https://github.com/microsoft/BitNet.gitcd BitNet
  1. Install the dependencies
# (Recommended) Create a new conda environmentconda create -n bitnet-cpp python=3.9conda activate bitnet-cpppip install -r requirements.txt
  1. Build the project
# Manually download the model and run with local pathhuggingface-cli download microsoft/BitNet-b1.58-2B-4T-gguf --local-dir models/BitNet-b1.58-2B-4Tpython setup_env.py -md models/BitNet-b1.58-2B-4T -q i2_s## UsageSimple, run run.py### CustomizeSimple edit run.py

About

A fork of official inference framework for 1-bit LLMs thats includes additional scripts to enhance the experience.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++53.0%
  • Python46.1%
  • Other0.9%

[8]ページ先頭

©2009-2025 Movatter.jp