[PR #11218] [CLOSED] added bitnet support #24022

Closed
opened 2026-04-19 17:20:20 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/11218
Author: @Scratch2033Alt
Created: 6/27/2025
Status: Closed

Base: mainHead: main


📝 Commits (6)

  • 57cbe35 added bitnet support (not tested)
  • 5db2d97 Fix: Bitnet not workin
  • fdae0be Merge branch 'ollama:main' into main
  • 5bc1e3e Merge branch 'ollama:main' into main
  • 4a0fb8a Merge branch 'ollama:main' into main
  • 5e39f9b Merge branch 'ollama:main' into main

📊 Changes

2 files changed (+32 additions, -0 deletions)

View changed files

bitnet (+1 -0)
📝 cmd/cmd.go (+31 -0)

📄 Description

Added bitnet support for Ollama, By running ollama bitnet serve or ollama bitnet start (To start the server) and ollama bitnet -m "path/to/bitnet.gguf" to run the BitNet. Not tested because i don't have a glibc linux yet. Also, It needs a folder after the ollama executable. What i mean is in the OLLAMA executable directory, There's should be a folder called bitnet. The folder (zipped) is attached.
bitnet.zip
This Resolves the following issues:
Resolves #10334
Resolves #2821
Resolves #10313
Although, Users are needed to download the GGUF files themself. The bitnet runner is using PYTHON, while i changed it so it can use Go only, I recommend to install Python to the user machine.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/11218 **Author:** [@Scratch2033Alt](https://github.com/Scratch2033Alt) **Created:** 6/27/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (6) - [`57cbe35`](https://github.com/ollama/ollama/commit/57cbe350861771a34bb4b2d60c1ff1b8f954b190) added bitnet support (not tested) - [`5db2d97`](https://github.com/ollama/ollama/commit/5db2d97664caf06e7c0495a7e8046f108f33a9bc) Fix: Bitnet not workin - [`fdae0be`](https://github.com/ollama/ollama/commit/fdae0be559450c7e310aef302e7d47054f786909) Merge branch 'ollama:main' into main - [`5bc1e3e`](https://github.com/ollama/ollama/commit/5bc1e3eebe4a08db713c64a5cf3310306e8311d5) Merge branch 'ollama:main' into main - [`4a0fb8a`](https://github.com/ollama/ollama/commit/4a0fb8a6e201761dc6e3c1f6f3ca1f67ad77c2e5) Merge branch 'ollama:main' into main - [`5e39f9b`](https://github.com/ollama/ollama/commit/5e39f9b8e364af69744bdbeedb5082a86bc0ea4f) Merge branch 'ollama:main' into main ### 📊 Changes **2 files changed** (+32 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `bitnet` (+1 -0) 📝 `cmd/cmd.go` (+31 -0) </details> ### 📄 Description Added bitnet support for Ollama, By running ollama bitnet serve or ollama bitnet start (To start the server) and ollama bitnet -m "path/to/bitnet.gguf" to run the BitNet. Not tested because i don't have a glibc linux yet. Also, It needs a folder after the ollama executable. What i mean is in the OLLAMA executable directory, There's should be a folder called bitnet. The folder (zipped) is attached. [bitnet.zip](https://github.com/user-attachments/files/20938541/bitnet.zip) This Resolves the following issues: Resolves #10334 Resolves #2821 Resolves #10313 Although, Users are needed to download the GGUF files themself. The bitnet runner is using PYTHON, while i changed it so it can use Go only, I recommend to install Python to the user machine. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-19 17:20:20 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#24022