Files
leleka/docs/upstream.md
T
Pavlo Ratushnyi 4013e0c9bd
Desktop foundation / core (ubuntu-latest) (push) Failing after 28s
Desktop foundation / core (macos-latest) (push) Canceled after 0s
Desktop foundation / core (windows-latest) (push) Canceled after 0s
Linux / verify (push) Canceled after 0s
Linux / keyless-cuda (push) Canceled after 0s
Linux / static-cuda-package (push) Canceled after 0s
Linux / hosted-cuda-package (push) Canceled after 0s
Linux / linux-static-cli (push) Canceled after 0s
Linux / linux-cli-container (push) Canceled after 0s
Linux / release-cli (push) Canceled after 0s
Import tracked Strata Next source snapshot
2026-10-05 18:15:08 +02:00

47 lines
3.0 KiB
Markdown

# Strata upstream provenance
**Status:** source imported as a local Git subtree and preserved in a private hosted repository.
| Field | Value |
| --- | --- |
| Upstream repository URL | https://github.com/Niko1221/Strata.git |
| Upstream commit SHA | `d9ab8435f654c368c586340d490915f6addf56a3` |
| Local repository path | `engine/strata/` |
| Hosted project repository URL | https://github.com/paveldhq/strata-next (private) |
| Import date | 2026-10-02 |
| Engine build instructions | `scripts/build-cpu.sh` for source checks; CUDA build still to validate on Linux GPU |
| Local patch strategy | Squashed Git subtree; preserve upstream commit IDs in subtree merge messages |
The local Git remote `strata-upstream` points to the URL above. To review an update, run `git fetch strata-upstream main`, inspect the diff from the pinned SHA, choose a specific new commit, then run `git subtree merge --prefix=engine/strata --squash <chosen-SHA>` and the relevant checks. Do not silently advance to whatever happens to be latest.
The imported upstream tree includes its own small optional experimental control-vector GGUF and reference data. Production model weights, captures, and generated output remain outside this repository. The private project repository was created on 2026-10-04; its initial `main` is `858e7aa050f56b051dac5e3d7b765a05cb958aee`. This preserves the existing subtree history and does not change the pinned upstream identity.
## Local CUDA validation, 2026-10-04
The upstream identity above is unchanged. The local Keyless opt-in fork compiled
on Linux with CUDA 13.2.86 for RTX 5090 (SM 120). Query-routing numerical parity,
V-only streaming and conversation snapshots passed. Pretrained-model quality
failed; see [the report](experiments/2026-10-04-keyless-runtime.md). The ordinary
K+V profile remains the production choice.
## Local Linux packaging profile, 2026-10-04
STRA-23 adds the default-off `STRATA_CUDA_STATIC` CMake profile: static toolkit
runtime/BLAS targets and GNU C++ runtime linkage for Linux. The imported source
commit above remains unchanged; this is a local build-policy patch. A complete
CUDA 13.2/SM 120 compilation and ELF audit passed without GPU inference. The
candidate still needs host glibc 2.43 and an NVIDIA driver; model qualification
is pending. See `deploy/README.md` and `docs/build-validation.md` for the exact
scope, artifact identity and remaining packaging limits.
## Experimental KAR expert integration, 2026-10-05
The pinned upstream commit remains unchanged. Local default-off
`STRATA_NEXT_EXPERIMENTAL_KAR_EXPERTS` adds a native verifier cache-miss callback,
linked to the separate `gpu/kar` component. Resident native hits and batched prefill
retain their IQ weights; short prompt ingestion uses the verifier and therefore
also exercises KAR misses. The runtime requires explicit archive and precision
environment settings, validates the archive payload and expert geometry, and
rejects unsupported pool/multi-device configurations. This is an experimental
quality arm, not full compressed-model residency or a qualified speedup.