Skip to content

Remove the CPU reference and tokenizer; port the existing engine instead - #5

Merged
bong-water-water-bong merged 1 commit into
mainfrom
remove-cpu-reference
Sep 22, 2026
Merged

bong-water-water-bong merged 1 commit into
mainfrom
remove-cpu-reference

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

The CPU reference and tokenizer (#1, #2) were the wrong direction. This repo ports the working 1bit-MONSTER engine instead, in four steps (docs/PORTING.md):

  1. Embedded Lemonade: Lemonade's server core plus the onebit backend, in one 1bit binary.
  2. HRX with Vulkan: the AMD-Ecosystem llama.cpp fork built with GGML_HRX2 and GGML_VULKAN together.
  3. NPU engine: full ELFs only.
  4. Laya: the router.

This PR removes engine/core, engine/backends/cpu, the tests and golden tools, and their docs. It rewrites the README, the porting map and contributing rule 1. It keeps the license, NOTICE, the copyright check and CI.

🤖 Generated with Claude Code

…ngine

The new CPU reference, tokenizer and golden tests were the wrong direction.
This repository ports the working 1bit-MONSTER engine in four steps:
embedded Lemonade, HRX with Vulkan in one build, the NPU engine, and the
Laya router (docs/PORTING.md). Keeps the license, notice, copyright check
and CI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bong-water-water-bong
bong-water-water-bong merged commit 5a022f6 into main Sep 22, 2026
1 check passed
@bong-water-water-bong
bong-water-water-bong deleted the remove-cpu-reference branch September 22, 2026 21:41
bong-water-water-bong pushed a commit that referenced this pull request Sep 26, 2026
…ama.cpp #2, #5)

The pin adds the zaya architecture and its converter on top of 96f6b89 (#104's #95 fixes).
registry/architectures.json, regenerated: ZayaForCausalLM maps to hrx and vulkan
(266 architectures, all mapped).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bong-water-water-bong pushed a commit that referenced this pull request Sep 26, 2026
…ama.cpp #2, #5, #6)

The pin adds the zaya architecture and its converter (#2, #5) on top of #104's #95 fixes, and
carries #106's scalar-scatter SET_ROWS onto the tracked branch (#6): #106 pinned c358334,
which is on no branch of the fork. registry/architectures.json, regenerated:
ZayaForCausalLM maps to hrx and vulkan (266 architectures, all mapped).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bong-water-water-bong added a commit that referenced this pull request Sep 26, 2026
…nly architectures (#107)

* ZAYA1 (Zyphra) on Vulkan: serve routes fork-only architectures to our llama.cpp

`1bit serve --device vulkan` reads the GGUF's general.architecture (app/gguf_meta.h) and
runs an architecture only our llama.cpp implements (zaya) on the HRX build's Vulkan0, even
when the upstream Vulkan build is present. registry_build counts such architectures for
vulkan the same way, and check_models.tsv checks ZAYA1-8B Q4_K_M on vulkan.

docs/vulkan.md: converting and serving ZAYA1, with the checks against transformers and
the measured speeds on Strix Halo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ZAYA1 on HRX and ROCm: docs, and serve_e2e on vulkan and hrx in the registry

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Pin llama.cpp 5556bf2: ZAYA1 on Vulkan, HRX and ROCm (1bit-MONSTER/llama.cpp #2, #5, #6)

The pin adds the zaya architecture and its converter (#2, #5) on top of #104's #95 fixes, and
carries #106's scalar-scatter SET_ROWS onto the tracked branch (#6): #106 pinned c358334,
which is on no branch of the fork. registry/architectures.json, regenerated:
ZayaForCausalLM maps to hrx and vulkan (266 architectures, all mapped).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* registry: vulkan and hrx rows re-checked at b9812e0 (16/16 pass, ZAYA1-8B included)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: build gguf_meta_test

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: bong-water-water-bong <bong-water-water-bong@1bit.gg>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant