Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions blog/2026-09-24-first-week-milestones.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
tags: milestones, npu, hrx, vulkan, zinc
summary: Three days in: the engine runs on the NPU, HRX, Vulkan and ZINC inside Lemonade; Qwen3-0.6B decodes at 91 tok/s on the NPU, 87 through Lemonade.

# The first week of 1bit engine

Expand Down
1 change: 1 addition & 0 deletions blog/2026-09-24-hrx-long-prompts-and-ud-sweet-spots.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
tags: hrx, quantization, unsloth
summary: HRX decoding was wrong once the KV cache passed 256 tokens, now fixed; and which Unsloth file to get: UD-Q4_K_XL lean, UD-Q5_K_XL accurate.

# HRX answers long prompts correctly, and where Unsloth quants pay

Expand Down
1 change: 1 addition & 0 deletions blog/2026-09-24-hrx-prefill-vulkan-decode.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
tags: hrx, vulkan, zero-copy
summary: HRX prefills, Vulkan decodes, one KV cache and no copies: an 8,192-token request on Qwen2.5-7B finishes 26% sooner.

# Prefill on HRX, decode on Vulkan, one KV cache

Expand Down
1 change: 1 addition & 0 deletions blog/2026-09-24-new-direction-from-1bit-monster.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
tags: announcement, engine
summary: The inference engine from 1bit.MONSTER is now its own Apache-2.0 project, 1bit engine, running as a backend inside Lemonade.

# 1bit.MONSTER is now 1bit engine

Expand Down
1 change: 1 addition & 0 deletions blog/2026-09-24-one-gpu-many-users.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
tags: serving, batching, vulkan, rocm
summary: Qwen3.8-27B from 1 to 24 simultaneous requests: Vulkan peaks at 50.9 tok/s with 8, ROCm reaches 68.0 with 16, and serve now grows with the load.

# One GPU, many users

Expand Down
1 change: 1 addition & 0 deletions blog/2026-09-24-smaller-files-unsloth-rocmfpx-ternary.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
tags: quantization, ternary, rocmfpx, unsloth
summary: What smaller files cost: Unsloth UD-Q4_K_XL stays at KLD 0.008 (95.3% same top token); ROCmFPX formats trade more; ternary is effectively lossless vs F16.

# Smaller files: Unsloth, ROCmFPX and a ternary 27B

Expand Down
1 change: 1 addition & 0 deletions blog/2026-09-24-speculative-decoding-where-it-pays.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
tags: speculative decoding, mtp, qwen3.8
summary: MTP takes Qwen3.8-27B to 42.0 tok/s on code; on Qwen3-Coder-30B-A3B, already at 88 tok/s, every draft model we tried was slower.

# Speculative decoding: where it pays, and where it does not

Expand Down
1 change: 1 addition & 0 deletions blog/2026-09-25-the-npu-drafts-the-gpu-checks.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
tags: npu, speculative-decoding
summary: A small model on the NPU drafts, the GPU checks: Qwen3-32B goes from 10.7 to 23.4 tok/s, 2.19x.

# The NPU drafts, the GPU checks

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
tags: zyphra, models, moe, hrx, onnx
summary: Zyphra's whole family runs (ZAYA1-74B at 35.4 tok/s), four older architectures join, and MoE experts stream from the drive at 43-45 tok/s.

# Zyphra's whole family, four older architectures, and experts from the drive

Expand Down
1 change: 1 addition & 0 deletions blog/2026-09-27-hrx-decode-race-solved.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
tags: hrx, milestone, kernels
summary: One barrier that fenced only shared memory caused HRX's NaNs and GPU faults; the fix took Qwen3-Coder-30B from 1 of 8 correct runs to 8 of 8.

# Milestone: the HRX decode race is solved

Expand Down
1 change: 1 addition & 0 deletions blog/2026-09-28-hadamard-q4-0-ships.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
tags: rocm, quantization, qwen, kernels
summary: Hadamard-rotated Q4_0 with 4-bit activations reads Qwen3.8-27B prompts at 509 tok/s (from ~400) at KLD 0.055, and 1bit serve runs it by itself.

# 509 tokens a second of prompt: the Hadamard route ships

Expand Down
1 change: 1 addition & 0 deletions blog/2026-09-28-laya-routes-by-request-class.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
tags: laya, routing, serve
summary: Asked for a device, Laya picked ZINC every time; asked what kind of request it is, it is right 95.5% of the time, and 1bit serve --laya routes by class.

# Laya routing: ask the model what it knows

Expand Down
1 change: 1 addition & 0 deletions blog/2026-09-28-qwen38-27b-dflash2-and-hadamard.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
tags: qwen, speculative-decoding, quantization, rocm, vulkan
summary: The DFlash2 drafter decodes Qwen3.8-27B at 45.7 tok/s on code through 1bit serve --dflash, 44% faster than MTP.

# Qwen3.8-27B at 45.7 tok/s: DFlash2 in `1bit serve`, and 4-bit activations with a Hadamard rotation

Expand Down
35 changes: 20 additions & 15 deletions tools/site.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@
# blog-<slug>.html, and feed.xml carries them as an Atom feed
# 404.html sends old 1bit.MONSTER addresses to the archived old site
#
# A post may start with "tags: a, b" lines before its "# Title"; its first paragraph is its
# lead. Links to other docs become page links; links to other files in the repository go
# A post may start with "tags: a, b" lines and a "summary: one line" before its "# Title"; its
# first paragraph is its lead. The summary (the lead when there is none) is the post's meta
# description and its feed.xml summary, which the Discord blog mirror posts. Links to other docs become page links; links to other files in the repository go
# to them on GitHub.
#
# Visitor counts: with GOATCOUNTER set to a GoatCounter site code (pages.yml passes the
Expand Down Expand Up @@ -236,21 +237,24 @@ def plain(markdown_text):


def split_post(text):
"""-> (tags, title, lead paragraph, the rest) of a post."""
"""-> (tags, title, lead paragraph, the rest, one-line summary or "") of a post."""
text = strip_notice(text)
tags = []
tags, summary = [], ""
while True:
m = re.match(r"\s*tags:\s*(.+)\n", text)
m = re.match(r"\s*(tags|summary):\s*(.+)\n", text)
if not m:
break
tags += [t.strip() for t in m.group(1).split(",") if t.strip()]
if m.group(1) == "tags":
tags += [t.strip() for t in m.group(2).split(",") if t.strip()]
else:
summary = m.group(2).strip()
text = text[m.end():]
m = re.match(r"\s*# (.+)\n", text)
if not m:
sys.exit("a post starts with its '# Title'")
rest = text[m.end():].strip()
lead, _, body = rest.partition("\n\n")
return tags, re.sub(r"[`*]", "", m.group(1)).strip(), lead.strip(), body
return tags, re.sub(r"[`*]", "", m.group(1)).strip(), lead.strip(), body, summary


def first_paragraph(text):
Expand Down Expand Up @@ -408,7 +412,8 @@ def blog(self):
return []
rows = []
for i, (date, slug, src) in enumerate(self.posts):
tags, title, lead, body = split_post(src.read_text())
tags, title, lead, body, summary = split_post(src.read_text())
summary = summary or plain(lead)
name = f"blog-{slug}"
tag_html = "".join(f'<span class="tag">{html.escape(t)}</span>' for t in tags)
newer = self.posts[i - 1] if i > 0 else None
Expand All @@ -426,20 +431,20 @@ def link(p, cls, word):
f'<div class="prose">\n{self.md(body, src)}\n</div>\n'
f'<nav class="pager">{link(newer, "prev", "Newer")}{link(older, "next", "Older")}</nav>\n'
"</div></article>")
self.write(name, f"{title} · 1bit engine", main, "post", "blog", plain(lead), og_type="article",
self.write(name, f"{title} · 1bit engine", main, "post", "blog", summary, og_type="article",
lastmod=max(date, last_commit_date(src)),
jsonld={"@context": "https://schema.org", "@type": "BlogPosting", "headline": title,
"description": plain(lead), "datePublished": date,
"description": summary, "datePublished": date,
"dateModified": max(date, last_commit_date(src)), "image": OG_IMAGE,
"url": page_url(name), "mainEntityOfPage": page_url(name),
"author": {"@type": "Person", "name": "bong-water-water-bong"},
"publisher": {"@type": "Organization", "name": "1bit engine", "url": SITE},
"keywords": ", ".join(tags)})
rows.append((date, name, title, plain(lead), tags, self.md(lead + "\n\n" + body, src)))
rows.append((date, name, title, plain(lead), tags, self.md(lead + "\n\n" + body, src), summary))

log = "\n".join(
f'<a class="log-row" href="{n}.html"><span class="log-date">{d}</span><div class="log-body">'
f"<h3>{html.escape(t)}</h3><p>{html.escape(clip(s, 320))}</p></div></a>" for d, n, t, s, _, _ in rows)
f"<h3>{html.escape(t)}</h3><p>{html.escape(clip(s, 320))}</p></div></a>" for d, n, t, s, _, _, _ in rows)
main = ('<section class="section"><div class="container hero-center hero-narrow">\n'
'<p class="eyebrow">Blog · field notes</p>\n'
"<h1>How the engine actually gets built.</h1>\n"
Expand All @@ -457,9 +462,9 @@ def stamp(d):
return d + "T00:00:00Z"
entries = "".join(
f"<entry><title>{html.escape(t)}</title><link href=\"{SITE}{n}.html\"/><id>{SITE}{n}.html</id>"
f"<updated>{stamp(d)}</updated><summary>{html.escape(s)}</summary>"
f"<updated>{stamp(d)}</updated><summary>{html.escape(sm)}</summary>"
+ "".join(f'<category term="{html.escape(x, quote=True)}"/>' for x in tags) +
f"<content type=\"html\">{html.escape(b)}</content></entry>" for d, n, t, s, tags, b in rows)
f"<content type=\"html\">{html.escape(b)}</content></entry>" for d, n, t, s, tags, b, sm in rows)
(self.out / "feed.xml").write_text(
'<?xml version="1.0" encoding="utf-8"?>\n<feed xmlns="http://www.w3.org/2005/Atom">'
f'<title>1bit engine</title><link href="{SITE}"/><link rel="self" href="{SITE}feed.xml"/><id>{SITE}</id>'
Expand All @@ -485,7 +490,7 @@ def archive(self):
def home(self, rows):
latest = ""
if rows:
d, n, t, s, _, _ = rows[0]
d, n, t, s, _, _, _ = rows[0]
latest = (f'<a class="latest-link" href="{n}.html"><span class="latest-badge"><span class="dot"></span>latest · {d}</span>'
f'<span class="latest-title"><strong>{html.escape(t)}.</strong> {html.escape(clip(s, 260))}</span>'
'<span class="latest-more">read the post <span class="ar">→</span></span></a>')
Expand Down
Loading