| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository |
| route-controller | files |
| route-action | disambiguate |
| fetch-nonce | v2:a74597e5-1fe6-273f-babe-0be41aecccd3 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | 94C0:197704:B5BC0E:EC9F1D:6AED45EE |
| html-safe-nonce | decf1f8b684ab37ac5f38108052ecaa48ebad1cf54462109a726d7ccab1c11e6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEMwOjE5NzcwNDpCNUJDMEU6RUM5RjFEOjZBRUQ0NUVFIiwidmlzaXRvcl9pZCI6IjYzNzY2NzMzMjgzODIxNjY1MTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 827c4294e22426cd7ec4739a6d2955c2ca30dce758ede4a45914127cea66b79f |
| hovercard-subject-tag | repository:1179846627 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | // |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/ostarev/BitNet |
| twitter:image | https://opengraph.githubassets.com/f992c8ebb6310920f31bba1fef4c4f6a9d89762ab290d6c14b6dbf82d393d7f4/ostarev/BitNet |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f992c8ebb6310920f31bba1fef4c4f6a9d89762ab290d6c14b6dbf82d393d7f4/ostarev/BitNet |
| og:image:alt | Official inference framework for 1-bit LLMs. Contribute to ostarev/BitNet development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 56fb42677ae87ed3e64410323d67980aa65d0485568a7858f874e7edfc6d1c11 |
| turbo-cache-control | no-cache |
| go-import | github.com/ostarev/BitNet git https://github.com/ostarev/BitNet.git |
| octolytics-dimension-user_id | 192971981 |
| octolytics-dimension-user_login | ostarev |
| octolytics-dimension-repository_id | 1179846627 |
| octolytics-dimension-repository_nwo | ostarev/BitNet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 838253246 |
| octolytics-dimension-repository_parent_nwo | microsoft/BitNet |
| octolytics-dimension-repository_network_root_id | 838253246 |
| octolytics-dimension-repository_network_root_nwo | microsoft/BitNet |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c9a37e2423ed382cf39f70b5aa4b4858b40a3b0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/ostarev/BitNet#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fostarev%2FBitNet |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fostarev%2FBitNet |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=ostarev%2FBitNet |
| Reload | https://github.com/ostarev/BitNet |
| Reload | https://github.com/ostarev/BitNet |
| Reload | https://github.com/ostarev/BitNet |
| ostarev | https://github.com/ostarev |
| BitNet | https://github.com/ostarev/BitNet |
| Code | https://github.com/ostarev/BitNet |
| Pull requests | https://github.com/ostarev/BitNet/pulls |
| Actions | https://github.com/ostarev/BitNet/actions |
| Projects | https://github.com/ostarev/BitNet/projects |
| Security and quality | https://github.com/ostarev/BitNet/security |
| Insights | https://github.com/ostarev/BitNet/pulse |
| https://github.com/ostarev/BitNet |
| BitNet | https://github.com/ostarev/BitNet |
| microsoft/BitNet | https://github.com/microsoft/BitNet |
| Notifications | https://github.com/login?return_to=%2Fostarev%2FBitNet |
| Fork0 (0) | https://github.com/login?return_to=%2Fostarev%2FBitNet |
| Star0 (0) | https://github.com/login?return_to=%2Fostarev%2FBitNet |
| Readme | https://github.com/ostarev/BitNet#readme-ov-file |
| License | https://github.com/ostarev/BitNet#License-1-ov-file |
| Code of conduct | https://github.com/ostarev/BitNet#coc-ov-file |
| Security policy | https://github.com/ostarev/BitNet#security-ov-file |
| Activity | https://github.com/ostarev/BitNet/activity |
| 0 forks | https://github.com/ostarev/BitNet/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fostarev%2FBitNet&report=ostarev+%28user%29 |
| Branches | https://github.com/ostarev/BitNet/branches |
| Tags | https://github.com/ostarev/BitNet/tags |
| https://github.com/ostarev/BitNet/branches |
| https://github.com/ostarev/BitNet/tags |
| 96 Commits | https://github.com/ostarev/BitNet/commits/main/ |
| https://github.com/ostarev/BitNet/commits/main/ |
| 3rdparty | https://github.com/ostarev/BitNet/tree/main/3rdparty |
| 3rdparty | https://github.com/ostarev/BitNet/tree/main/3rdparty |
| assets | https://github.com/ostarev/BitNet/tree/main/assets |
| assets | https://github.com/ostarev/BitNet/tree/main/assets |
| docs | https://github.com/ostarev/BitNet/tree/main/docs |
| docs | https://github.com/ostarev/BitNet/tree/main/docs |
| gpu | https://github.com/ostarev/BitNet/tree/main/gpu |
| gpu | https://github.com/ostarev/BitNet/tree/main/gpu |
| include | https://github.com/ostarev/BitNet/tree/main/include |
| include | https://github.com/ostarev/BitNet/tree/main/include |
| media | https://github.com/ostarev/BitNet/tree/main/media |
| media | https://github.com/ostarev/BitNet/tree/main/media |
| preset_kernels | https://github.com/ostarev/BitNet/tree/main/preset_kernels |
| preset_kernels | https://github.com/ostarev/BitNet/tree/main/preset_kernels |
| src | https://github.com/ostarev/BitNet/tree/main/src |
| src | https://github.com/ostarev/BitNet/tree/main/src |
| utils | https://github.com/ostarev/BitNet/tree/main/utils |
| utils | https://github.com/ostarev/BitNet/tree/main/utils |
| .gitignore | https://github.com/ostarev/BitNet/blob/main/.gitignore |
| .gitignore | https://github.com/ostarev/BitNet/blob/main/.gitignore |
| .gitmodules | https://github.com/ostarev/BitNet/blob/main/.gitmodules |
| .gitmodules | https://github.com/ostarev/BitNet/blob/main/.gitmodules |
| CMakeLists.txt | https://github.com/ostarev/BitNet/blob/main/CMakeLists.txt |
| CMakeLists.txt | https://github.com/ostarev/BitNet/blob/main/CMakeLists.txt |
| CODE_OF_CONDUCT.md | https://github.com/ostarev/BitNet/blob/main/CODE_OF_CONDUCT.md |
| CODE_OF_CONDUCT.md | https://github.com/ostarev/BitNet/blob/main/CODE_OF_CONDUCT.md |
| LICENSE | https://github.com/ostarev/BitNet/blob/main/LICENSE |
| LICENSE | https://github.com/ostarev/BitNet/blob/main/LICENSE |
| README.md | https://github.com/ostarev/BitNet/blob/main/README.md |
| README.md | https://github.com/ostarev/BitNet/blob/main/README.md |
| SECURITY.md | https://github.com/ostarev/BitNet/blob/main/SECURITY.md |
| SECURITY.md | https://github.com/ostarev/BitNet/blob/main/SECURITY.md |
| requirements.txt | https://github.com/ostarev/BitNet/blob/main/requirements.txt |
| requirements.txt | https://github.com/ostarev/BitNet/blob/main/requirements.txt |
| run_inference.py | https://github.com/ostarev/BitNet/blob/main/run_inference.py |
| run_inference.py | https://github.com/ostarev/BitNet/blob/main/run_inference.py |
| run_inference_server.py | https://github.com/ostarev/BitNet/blob/main/run_inference_server.py |
| run_inference_server.py | https://github.com/ostarev/BitNet/blob/main/run_inference_server.py |
| setup_env.py | https://github.com/ostarev/BitNet/blob/main/setup_env.py |
| setup_env.py | https://github.com/ostarev/BitNet/blob/main/setup_env.py |
| README | https://github.com/ostarev/BitNet |
| Code of conduct | https://github.com/ostarev/BitNet |
| License | https://github.com/ostarev/BitNet |
| Security | https://github.com/ostarev/BitNet |
| https://github.com/ostarev/BitNet#bitnetcpp |
| https://opensource.org/licenses/MIT |
| https://camo.githubusercontent.com/ac0e6350bd1a747fd6c3ffa64781612d3997df0c837a082a30d7af82a79ee225/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e302d626c7565 |
| https://huggingface.co/microsoft/BitNet-b1.58-2B-4T |
| demo | https://demo-bitnet-h0h8hcfqeqhrf5gf.canadacentral-01.azurewebsites.net/ |
| CPU | https://github.com/microsoft/BitNet?tab=readme-ov-file#build-from-source |
| GPU | https://github.com/microsoft/BitNet/blob/main/gpu/README.md |
| technical report | https://arxiv.org/abs/2410.16144 |
| optimization guide | https://github.com/ostarev/BitNet/blob/main/src/README.md |
| https://github.com/ostarev/BitNet/blob/main/assets/performance.png |
| https://github.com/ostarev/BitNet#demo |
| https://github.com/ostarev/BitNet#whats-new |
| BitNet CPU Inference Optimization | https://github.com/microsoft/BitNet/blob/main/src/README.md |
| https://camo.githubusercontent.com/78f781c13c1240ba64b2be628840d5f7da48faa1ca3ea8a6648e01238e07e0b2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4e45572d726564 |
| BitNet Official GPU inference kernel | https://github.com/microsoft/BitNet/blob/main/gpu/README.md |
| BitNet Official 2B Parameter Model on Hugging Face | https://huggingface.co/microsoft/BitNet-b1.58-2B-4T |
| Bitnet.cpp: Efficient Edge Inference for Ternary LLMs | https://arxiv.org/abs/2502.11880 |
| BitNet a4.8: 4-bit Activations for 1-bit LLMs | https://arxiv.org/abs/2411.04965 |
| 1-bit AI Infra: Part 1.1, Fast and Lossless BitNet b1.58 Inference on CPUs | https://arxiv.org/abs/2410.16144 |
| The-Era-of-1-bit-LLMs__Training_Tips_Code_FAQ | https://github.com/microsoft/unilm/blob/master/bitnet/The-Era-of-1-bit-LLMs__Training_Tips_Code_FAQ.pdf |
| The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bits | https://arxiv.org/abs/2402.17764 |
| BitNet: Scaling 1-bit Transformers for Large Language Models | https://arxiv.org/abs/2310.11453 |
| https://github.com/ostarev/BitNet#acknowledgements |
| llama.cpp | https://github.com/ggerganov/llama.cpp |
| T-MAC | https://github.com/microsoft/T-MAC/ |
| https://github.com/ostarev/BitNet#official-models |
| BitNet-b1.58-2B-4T | https://huggingface.co/microsoft/BitNet-b1.58-2B-4T |
| https://github.com/ostarev/BitNet#supported-models |
| Hugging Face | https://huggingface.co/ |
| bitnet_b1_58-large | https://huggingface.co/1bitLLM/bitnet_b1_58-large |
| bitnet_b1_58-3B | https://huggingface.co/1bitLLM/bitnet_b1_58-3B |
| Llama3-8B-1.58-100B-tokens | https://huggingface.co/HF1BitLLM/Llama3-8B-1.58-100B-tokens |
| Falcon3 Family | https://huggingface.co/collections/tiiuae/falcon3-67605ae03578be86e4e87026 |
| Falcon-E Family | https://huggingface.co/collections/tiiuae/falcon-edge-series-6804fd13344d6d8a8fa71130 |
| https://github.com/ostarev/BitNet#installation |
| https://github.com/ostarev/BitNet#requirements |
| Visual Studio 2022 | https://visualstudio.microsoft.com/downloads/ |
| Automatic installation script | https://apt.llvm.org/ |
| https://github.com/ostarev/BitNet#build-from-source |
| https://github.com/ostarev/BitNet#usage |
| https://github.com/ostarev/BitNet#basic-usage |
| https://github.com/ostarev/BitNet#benchmark |
| https://github.com/ostarev/BitNet#convert-from-safetensors-checkpoints |
| https://github.com/ostarev/BitNet#faq-frequently-asked-questions |
| https://github.com/ostarev/BitNet#q1-the-build-dies-with-errors-building-llamacpp-due-to-issues-with-stdchrono-in-logcpp |
| commit | https://github.com/tinglou/llama.cpp/commit/4e3db1e3d78cc1bcd22bcb3af54bd2a4628dd323 |
| discussion | https://github.com/abetlen/llama-cpp-python/issues/1942 |
| https://github.com/ostarev/BitNet#q2-how-to-build-with-clang-in-conda-environment-on-windows |
| Readme | https://github.com/ostarev/BitNet#readme-ov-file |
| License | https://github.com/ostarev/BitNet#License-1-ov-file |
| Code of conduct | https://github.com/ostarev/BitNet#coc-ov-file |
| Security policy | https://github.com/ostarev/BitNet#security-ov-file |
| Activity | https://github.com/ostarev/BitNet/activity |
| 0 forks | https://github.com/ostarev/BitNet/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fostarev%2FBitNet&report=ostarev+%28user%29 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |