Linux / verify (pull_request) Canceled after 0s
Linux / keyless-cuda (pull_request) Canceled after 0s
Linux / static-cuda-package (pull_request) Canceled after 0s
Linux / hosted-cuda-package (pull_request) Canceled after 0s
Linux / linux-static-cli (pull_request) Canceled after 0s
Linux / linux-cli-container (pull_request) Canceled after 0s
Linux / release-cli (pull_request) Canceled after 0s
57 lines
2.7 KiB
Markdown
57 lines
2.7 KiB
Markdown
# Leleka / Strata Next
|
|
|
|
Leleka is the independent Rust NVIDIA inference runtime being developed from
|
|
this repository. The complete tracked Strata Next source tree was imported from
|
|
`paveldhq/strata-next` commit
|
|
`1263e88f8947b9796924eb7e8d8d7af08b589049`; see `docs/upstream.md` for the
|
|
pinned Strata engine provenance. The imported desktop application, Rust control
|
|
plane, deployment code, model tooling, tests, and reference engine are all here.
|
|
|
|
The migration is staged: Leleka must eventually run without a Strata process,
|
|
Strata source, Python, or a separately installed CUDA Toolkit on the target
|
|
host. Until the replacement passes the same protocol, model-quality, and
|
|
operational gates, Strata remains the behavior baseline. No model family or
|
|
performance gain is claimed for Leleka until its real-model gates pass.
|
|
|
|
## Repository layout
|
|
|
|
- `crates/backend-api/` — Leleka's versioned Rust backend contract.
|
|
- `crates/tokenizer/` — the Qwen35 byte-level BPE tokenizer extracted as a
|
|
backend-independent Rust crate, including a bounded GGUF v3 reader for its
|
|
tokenizer metadata.
|
|
- `desktop/`, `desktop-core/` — current desktop application and its Rust core.
|
|
- `control-plane/` — current Rust API, Responses handling, and worker supervisor.
|
|
- `engine/strata/` — pinned upstream Strata reference; retained during migration.
|
|
- `gpu/` — experimental optimization components, including KAR.
|
|
- `integrations/`, `manifests/`, `deploy/`, `scripts/` — client integration,
|
|
model profiles, packaging, and development/test tooling.
|
|
- `PROJECT_CHARTER.md`, `docs/` — requirements, provenance, decisions, and
|
|
performance/quality gates.
|
|
|
|
Model weights, request captures, credentials, local logs, and generated build
|
|
artifacts remain outside Git or under ignored paths.
|
|
|
|
## Current Leleka scope
|
|
|
|
Leleka currently has a versioned backend contract and a standalone Qwen35 BPE
|
|
tokenizer crate. The existing Rust control plane now consumes that shared
|
|
tokenizer crate for both encoding and GGUF tokenizer metadata rather than
|
|
maintaining a second parser; its oracle-parity and malformed-header tests remain
|
|
in the workspace. The GGUF reader only supports the current Qwen35 GPT-2 BPE
|
|
metadata shape and does not inspect tensor payloads. Leleka still has no
|
|
independent inference backend or CUDA integration, so this does not yet serve a
|
|
model independently. The desktop app and the rest of the control plane remain
|
|
available as migration source in this repository.
|
|
|
|
## Development
|
|
|
|
Run the Rust workspace tests and lint:
|
|
|
|
```sh
|
|
cargo test --workspace --locked
|
|
cargo clippy --workspace --all-targets --all-features -- -D warnings
|
|
```
|
|
|
|
For the Linux release requirements, see [PROJECT_CHARTER.md](PROJECT_CHARTER.md)
|
|
and [the independent engine design](docs/architecture/independent-nvidia-engine.md).
|