BitNet

(★ 40,110)

1비트 LLM을 위한 공식 추론 프레임워크

  • .gitignore
  • .gitmodules
  • CMakeLists.txt
  • CODE_OF_CONDUCT.md
  • LICENSE
  • README.md
  • requirements.txt
  • run_inference.py
  • run_inference_server.py
  • SECURITY.md
  • setup_env.py

# 설치 가이드

1. 코드 내려받기
git clone https://github.com/microsoft/BitNet

깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.

cd BitNet

방금 내려받은 프로젝트 폴더 안으로 이동합니다.

2. CMake

보통 추천
사전 준비물
  • Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
  • CMake 빌드 설정을 생성하는 도구입니다.
  • C/C++ 컴파일러 Windows는 Visual Studio(Community 무료), macOS는 Xcode Command Line Tools, Linux는 gcc/g++ 패키지가 필요합니다.
- For Windows users, install [Visual Studio 2022](https://visualstudio.microsoft.com/downloads/). In the installer, toggle on at least the following options(this also automatically installs the required additional tools like CMake):

이 명령어를 터미널에 그대로 입력해 실행하세요.

- C++-CMake Tools for Windows

이 명령어를 터미널에 그대로 입력해 실행하세요.

build 폴더 안에 실행 파일이 생성됐는지 확인하고, 직접 실행해보세요 (예: ./build/앱이름).

이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.

3. Python

쉬움
사전 준비물
  • Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
  • Python 3 설치 시 'Add Python to PATH' 옵션을 꼭 체크하세요 (Windows).
pip install -r requirements.txt

requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.

에러 메시지 없이 실행되고 터미널에 안내 문구가 출력되면 정상입니다.

이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.

// repository documentation