tag:github.com,2008:https://github.com/m96-chan/0xBitNet/releases
Release notes from 0xBitNet
2026-02-22T03:56:54Z
tag:github.com,2008:Repository/1161776081/v0.5.2
2026-02-22T04:03:39Z
v0.5.2
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/m96-chan/0xBitNet/compare/v0.5.1...v0.5.2"><tt>v0.5.1...v0.5.2</tt></a></p>
github-actions[bot]
tag:github.com,2008:Repository/1161776081/v0.5.1
2026-02-22T03:54:20Z
v0.5.1
<h2>What's Changed</h2>
<ul>
<li>Code improvements (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3973417426" data-permission-text="Title is private" data-url="https://github.com/m96-chan/0xBitNet/issues/21" data-hovercard-type="issue" data-hovercard-url="/m96-chan/0xBitNet/issues/21/hovercard" href="https://github.com/m96-chan/0xBitNet/issues/21">#21</a>–<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3973417775" data-permission-text="Title is private" data-url="https://github.com/m96-chan/0xBitNet/issues/25" data-hovercard-type="issue" data-hovercard-url="/m96-chan/0xBitNet/issues/25/hovercard" href="https://github.com/m96-chan/0xBitNet/issues/25">#25</a>) by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/m96-chan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/m96-chan">@m96-chan</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3973461270" data-permission-text="Title is private" data-url="https://github.com/m96-chan/0xBitNet/issues/26" data-hovercard-type="pull_request" data-hovercard-url="/m96-chan/0xBitNet/pull/26/hovercard" href="https://github.com/m96-chan/0xBitNet/pull/26">#26</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/m96-chan/0xBitNet/compare/v0.5.0...v0.5.1"><tt>v0.5.0...v0.5.1</tt></a></p>
github-actions[bot]
tag:github.com,2008:Repository/1161776081/v0.5.0
2026-02-22T02:58:30Z
v0.5.0
<h2>What's Changed</h2>
<ul>
<li>Support additional BitNet models (Falcon-E, BitNet 0.7B) by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/m96-chan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/m96-chan">@m96-chan</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3973214563" data-permission-text="Title is private" data-url="https://github.com/m96-chan/0xBitNet/issues/14" data-hovercard-type="pull_request" data-hovercard-url="/m96-chan/0xBitNet/pull/14/hovercard" href="https://github.com/m96-chan/0xBitNet/pull/14">#14</a></li>
<li>Optimize inference: fused kernels, GEMV loop, fix uniform leak by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/m96-chan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/m96-chan">@m96-chan</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3973289202" data-permission-text="Title is private" data-url="https://github.com/m96-chan/0xBitNet/issues/15" data-hovercard-type="pull_request" data-hovercard-url="/m96-chan/0xBitNet/pull/15/hovercard" href="https://github.com/m96-chan/0xBitNet/pull/15">#15</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/m96-chan/0xBitNet/compare/v0.4.0...v0.5.0"><tt>v0.4.0...v0.5.0</tt></a></p>
github-actions[bot]
tag:github.com,2008:Repository/1161776081/v0.4.0
2026-02-22T00:32:07Z
v0.4.0
<h2>What's Changed</h2>
<ul>
<li>Add oxbitnet-ffi crate — C FFI bindings by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/m96-chan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/m96-chan">@m96-chan</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3970192158" data-permission-text="Title is private" data-url="https://github.com/m96-chan/0xBitNet/issues/9" data-hovercard-type="pull_request" data-hovercard-url="/m96-chan/0xBitNet/pull/9/hovercard" href="https://github.com/m96-chan/0xBitNet/pull/9">#9</a></li>
<li>Add oxbitnet-java crate — Java/JNI bindings by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/m96-chan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/m96-chan">@m96-chan</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3970387901" data-permission-text="Title is private" data-url="https://github.com/m96-chan/0xBitNet/issues/11" data-hovercard-type="pull_request" data-hovercard-url="/m96-chan/0xBitNet/pull/11/hovercard" href="https://github.com/m96-chan/0xBitNet/pull/11">#11</a></li>
<li>Add oxbitnet-swift — Swift bindings via C FFI by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/m96-chan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/m96-chan">@m96-chan</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3970843759" data-permission-text="Title is private" data-url="https://github.com/m96-chan/0xBitNet/issues/12" data-hovercard-type="pull_request" data-hovercard-url="/m96-chan/0xBitNet/pull/12/hovercard" href="https://github.com/m96-chan/0xBitNet/pull/12">#12</a></li>
<li>Add publish workflows for Swift (SPM) and Java (Maven Central) by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/m96-chan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/m96-chan">@m96-chan</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3972675044" data-permission-text="Title is private" data-url="https://github.com/m96-chan/0xBitNet/issues/13" data-hovercard-type="pull_request" data-hovercard-url="/m96-chan/0xBitNet/pull/13/hovercard" href="https://github.com/m96-chan/0xBitNet/pull/13">#13</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/m96-chan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/m96-chan">@m96-chan</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3970192158" data-permission-text="Title is private" data-url="https://github.com/m96-chan/0xBitNet/issues/9" data-hovercard-type="pull_request" data-hovercard-url="/m96-chan/0xBitNet/pull/9/hovercard" href="https://github.com/m96-chan/0xBitNet/pull/9">#9</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/m96-chan/0xBitNet/compare/v0.3.1...v0.4.0"><tt>v0.3.1...v0.4.0</tt></a></p>
github-actions[bot]
tag:github.com,2008:Repository/1161776081/v0.3.1
2026-02-20T19:05:04Z
v0.3.1 — Rust & Python Bindings
<h2>What's New</h2>
<h3>Rust & Python bindings (<a href="https://github.com/m96-chan/0xBitNet/issues/3" data-hovercard-type="issue" data-hovercard-url="/m96-chan/0xBitNet/issues/3/hovercard">#3</a>)</h3>
<p>0xBitNet is now available in <strong>three languages</strong>:</p>
<table>
<thead>
<tr>
<th>Package</th>
<th>Install</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://www.npmjs.com/package/0xbitnet" rel="nofollow"><code>0xbitnet</code></a> (npm)</td>
<td><code>npm install 0xbitnet</code></td>
</tr>
<tr>
<td><a href="https://crates.io/crates/oxbitnet" rel="nofollow"><code>oxbitnet</code></a> (crates.io)</td>
<td><code>cargo add oxbitnet</code></td>
</tr>
<tr>
<td><a href="https://pypi.org/project/oxbitnet/" rel="nofollow"><code>oxbitnet</code></a> (PyPI)</td>
<td><code>pip install oxbitnet</code></td>
</tr>
</tbody>
</table>
<p><strong>Rust</strong> — Full BitNet inference via <a href="https://wgpu.rs/" rel="nofollow">wgpu</a> (Vulkan/Metal/DX12). Streaming token generation with <code>impl Stream<Item = String></code>.</p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="let mut model = BitNet::load("model.gguf", Default::default()).await?;
let mut stream = model.generate_chat(&messages, options);
while let Some(token) = stream.next().await {
print!("{token}");
}"><pre><span class="pl-k">let</span> <span class="pl-k">mut</span> model = <span class="pl-smi">BitNet</span><span class="pl-kos">::</span><span class="pl-en">load</span><span class="pl-kos">(</span><span class="pl-s">"model.gguf"</span><span class="pl-kos">,</span> <span class="pl-smi">Default</span><span class="pl-kos">::</span><span class="pl-en">default</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-k">await</span>?<span class="pl-kos">;</span>
<span class="pl-k">let</span> <span class="pl-k">mut</span> stream = model<span class="pl-kos">.</span><span class="pl-en">generate_chat</span><span class="pl-kos">(</span><span class="pl-c1">&</span>messages<span class="pl-kos">,</span> options<span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">while</span> <span class="pl-k">let</span> <span class="pl-v">Some</span><span class="pl-kos">(</span>token<span class="pl-kos">)</span> = stream<span class="pl-kos">.</span><span class="pl-en">next</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-k">await</span> <span class="pl-kos">{</span>
<span class="pl-en">print</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-s">"{token}"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p><strong>Python</strong> — PyO3 bindings with streaming callback support.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="model = BitNet.load_sync("model.gguf")
model.chat(
[("system", "You are a helpful assistant."), ("user", "Hello!")],
on_token=lambda t: print(t, end="", flush=True),
)"><pre><span class="pl-s1">model</span> <span class="pl-c1">=</span> <span class="pl-v">BitNet</span>.<span class="pl-c1">load_sync</span>(<span class="pl-s">"model.gguf"</span>)
<span class="pl-s1">model</span>.<span class="pl-c1">chat</span>(
[(<span class="pl-s">"system"</span>, <span class="pl-s">"You are a helpful assistant."</span>), (<span class="pl-s">"user"</span>, <span class="pl-s">"Hello!"</span>)],
<span class="pl-s1">on_token</span><span class="pl-c1">=</span><span class="pl-k">lambda</span> <span class="pl-s1">t</span>: <span class="pl-en">print</span>(<span class="pl-s1">t</span>, <span class="pl-s1">end</span><span class="pl-c1">=</span><span class="pl-s">""</span>, <span class="pl-s1">flush</span><span class="pl-c1">=</span><span class="pl-c1">True</span>),
)</pre></div>
<h3>Other changes</h3>
<ul>
<li>Interactive chat examples for Rust (<code>cargo run --example chat --release</code>) and Python</li>
<li>Unified CI: <code>v*</code> tags trigger npm + crates.io + PyPI publish in parallel</li>
<li>Rust CI with clippy and tests on every push to <code>packages/rust/</code></li>
</ul>
<h3>Fixes (v0.3.1)</h3>
<ul>
<li>Fix macOS x86_64 wheel build (macos-13 runner deprecated)</li>
<li>Fix npm provenance (missing <code>repository</code> in package.json)</li>
</ul>
m96-chan
tag:github.com,2008:Repository/1161776081/v0.3.0
2026-02-20T18:57:37Z
v0.3.0: Add repository field to package.json for npm provenance
<p>Co-Authored-By: Claude Opus 4.6 <a href="mailto:noreply@anthropic.com">noreply@anthropic.com</a></p>
m96-chan
tag:github.com,2008:Repository/1161776081/v0.2.0
2026-02-20T14:34:19Z
v0.2.0 — Node.js WebGPU support
<h2>What's New</h2>
<h3>Node.js CLI Example (<a href="https://github.com/m96-chan/0xBitNet/issues/2" data-hovercard-type="issue" data-hovercard-url="/m96-chan/0xBitNet/issues/2/hovercard">#2</a>)</h3>
<p>Run BitNet from the command line using Node.js and the <a href="https://www.npmjs.com/package/webgpu" rel="nofollow"><code>webgpu</code></a> npm package (Dawn bindings).</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="cd examples/node-cli
npm install && npm start"><pre><span class="pl-c1">cd</span> examples/node-cli
npm install <span class="pl-k">&&</span> npm start</pre></div>
<ul>
<li>Interactive chat with streaming token output</li>
<li>Progress bar for model download/parse/upload</li>
<li><code>--url</code>, <code>--max-tokens</code>, <code>--temperature</code> flags</li>
<li>tok/s performance metrics</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>README: added Node.js CLI example, updated platform support and architecture tree</li>
<li>Getting Started guide: new <strong>Node.js Usage</strong> section with full setup code</li>
<li>API Reference: clarified <code>LoadOptions.device</code> for Node.js usage</li>
</ul>
<h3>Platform Support</h3>
<ul>
<li><strong>Node.js</strong>: confirmed working via <code>webgpu</code> npm package (Dawn)</li>
<li><strong>Deno</strong>: confirmed working with <code>--unstable-webgpu</code></li>
</ul>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/m96-chan/0xBitNet/compare/v0.1.3...v0.2.0"><tt>v0.1.3...v0.2.0</tt></a></p>
m96-chan
tag:github.com,2008:Repository/1161776081/v0.1.3
2026-02-20T12:29:36Z
v0.1.3
<p>Fix hero image URL in npm README (use absolute GitHub raw URL).</p>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/m96-chan/0xBitNet/compare/v0.1.2...v0.1.3"><tt>v0.1.2...v0.1.3</tt></a></p>
m96-chan
tag:github.com,2008:Repository/1161776081/v0.1.2
2026-02-20T12:27:00Z
v0.1.2
<p>Include README in npm package.</p>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/m96-chan/0xBitNet/compare/v0.1.1...v0.1.2"><tt>v0.1.1...v0.1.2</tt></a></p>
m96-chan
tag:github.com,2008:Repository/1161776081/v0.1.1
2026-02-20T12:24:12Z
v0.1.1
<h2>Changes</h2>
<p><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/m96-chan/0xBitNet/commit/17bb307fdc29332dce33e39b8f44a954d53c1025/hovercard" href="https://github.com/m96-chan/0xBitNet/commit/17bb307fdc29332dce33e39b8f44a954d53c1025"><tt>17bb307</tt></a> Release v0.1.1<br>
<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/m96-chan/0xBitNet/commit/b1fa218bad86d475117e71c5eb39c770a77310a8/hovercard" href="https://github.com/m96-chan/0xBitNet/commit/b1fa218bad86d475117e71c5eb39c770a77310a8"><tt>b1fa218</tt></a> Narrow supported models to BitNet 2B-4T only, use official Microsoft GGUF URL<br>
<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/m96-chan/0xBitNet/commit/85a29f6486101a624d480d301fa86e7b78c6ad5b/hovercard" href="https://github.com/m96-chan/0xBitNet/commit/85a29f6486101a624d480d301fa86e7b78c6ad5b"><tt>85a29f6</tt></a> Add back navigation to examples index and tighten TL;DR summary prompt<br>
<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/m96-chan/0xBitNet/commit/c327472c0ba18b65ae82ebf5017cca3569b7ea30/hovercard" href="https://github.com/m96-chan/0xBitNet/commit/c327472c0ba18b65ae82ebf5017cca3569b7ea30"><tt>c327472</tt></a> Add CNAME for 0xbitnet.m96-chan.dev custom domain<br>
<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/m96-chan/0xBitNet/commit/19cd9919106f894510603f840685eb8e3d73e4ee/hovercard" href="https://github.com/m96-chan/0xBitNet/commit/19cd9919106f894510603f840685eb8e3d73e4ee"><tt>19cd991</tt></a> Fix preset model URL to official Microsoft GGUF<br>
<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/m96-chan/0xBitNet/commit/291763d51556dffdaccd3f2ab81abcb2290f80e1/hovercard" href="https://github.com/m96-chan/0xBitNet/commit/291763d51556dffdaccd3f2ab81abcb2290f80e1"><tt>291763d</tt></a> Add preset model selector with BitNet 2B-4T to both example apps<br>
<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/m96-chan/0xBitNet/commit/5665a125bd379f672af8e35d9953f9b2fb381603/hovercard" href="https://github.com/m96-chan/0xBitNet/commit/5665a125bd379f672af8e35d9953f9b2fb381603"><tt>5665a12</tt></a> Mark BITNET_3B_CONFIG as deprecated (upstream model removed)</p>
<p><strong>Full Changelog</strong>: <a href="https://github.com/m96-chan/0xBitNet/commits/v0.1.1">https://github.com/m96-chan/0xBitNet/commits/v0.1.1</a></p>
m96-chan