mirror of
https://github.com/zenlm/zen5-engine.git
synced 2026-11-02 17:36:18 +00:00
Rebrand-only changes; upstream sources (ds4.c, ds4_metal.m, ds4_cuda.cu, etc.) are unchanged so upstream pulls apply cleanly. - README.md: zen5 product framing, full attribution to antirez/ds4 and ggml-org/llama.cpp lineage. - README-UPSTREAM.md: preserves the upstream README verbatim. - NOTICE.md: explicit fork policy and upstream tracking instructions. - LLM.md: repo-level navigation per ~/work/CLAUDE.md convention. - CLAUDE.md: symlink to LLM.md. - Makefile: adds zen5 / zen5-server / zen5-bench symlink aliases alongside the upstream ds4 names so both work. - .gitignore: includes zen5-* binaries. LICENSE is unchanged; ds4.c authors and ggml authors copyrights preserved. Co-authored-by: Hanzo Dev <[email protected]>
1.8 KiB
1.8 KiB
zen5 — engine fork of antirez/ds4
Path: /Users/a/work/zen/zen5
Purpose: zenlm-branded inference engine for the zen5 model line. Fork of antirez/ds4 (DwarfStar 4 — DeepSeek V4 Flash native engine).
State
- MIT-licensed fork. Upstream copyrights preserved in
LICENSEandNOTICE.md. - Git remote:
upstream → antirez/ds4(nooriginyet — set when the zenlm fork repo exists). - Build:
makeon macOS Metal producesds4,ds4-server,ds4-benchpluszen5*symlinks. - Model weights are NOT in this repo. Use
./download_model.sh q2-imatrixto fetch ~81 GB of GGUF into./gguf/.
Quick orient
| File | What it is |
|---|---|
README.md |
zen5-branded readme |
README-UPSTREAM.md |
original antirez/ds4 README, verbatim |
NOTICE.md |
attribution, fork policy, how to track upstream |
LICENSE |
MIT — ds4.c authors + ggml authors (unchanged) |
Makefile |
Metal / CUDA / CPU builds |
ds4.c (800 KB) |
core inference loop |
ds4_metal.m (640 KB) |
Metal backend |
ds4_cuda.cu (465 KB) |
CUDA backend |
ds4_server.c (550 KB) |
OpenAI/Anthropic/Responses HTTP server |
ds4_cli.c (52 KB) |
interactive CLI with linenoise |
gguf-tools/ |
offline GGUF gen, imatrix collection, quality testing |
dir-steering/ |
activation-direction steering data |
speed-bench/ |
benchmark CSVs and plots |
tests/test-vectors/ |
official DeepSeek V4 Flash continuation vectors |
Sibling context
~/work/zen/LLM.md— zen ecosystem index.~/work/zen/models/— model weight directories (zen4,zen4-nano, etc.).- Future zenlm
originfor this fork: TBD (likelyzenlm/zen5).