Commit Graph
57 Commits
Author SHA1 Message Date
Pavlo RatushnyiandClaude Opus 5.5 a8171b2cc0 scripts: hugepages A/B, identity gate, analyser, installer; owner script for shmem THP (not run)
hugepages-ab.sh: one binary, hpoff vs hpon (LELEKA_HUGEPAGES=on), 8 ABBA-balanced pairs of the 5-turn
~245k session at the product PCIe share 0.45, baseline-sampler state record (buddyinfo, AnonHugePages,
process smaps_rollup) per run. hugepages-id.sh: bitwise replay identity at 8,000 static slots.
hugepages-analyze.py: pairs, predecessor split, exit fragmentation. owner-shmem-thp.sh: root-only
shmem_enabled toggle, not needed by the decode path. huge_pages.rs: mapped_len test-only (dead-code warning).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 00:16:35 +01:00
Pavlo RatushnyiandClaude Opus 5.5 e0141e510a model-format: opt-in huge-page placement of the resident expert banks (LELEKA_HUGEPAGES)
LELEKA_HUGEPAGES=on|thp (off by default; LELEKA_BANK_THP=on now selects thp) places each of the 144
resident bank copies in its own 2 MiB-aligned anonymous mapping instead of a heap Vec: MAP_HUGETLB when
HugePages_Free covers the bank (mode on only; nothing reserved), else MADV_HUGEPAGE + MADV_POPULATE_WRITE.
After the bank load and the shard page-cache drop, before cuMemHostRegister, huge_pages::settle() reports
the coverage from /proc/self/smaps and MADV_COLLAPSEs any 2 MiB range that fell back (best effort).
Pure placement: the bytes are the file's (read_tensor_into, same bounds and size fences). No system
setting is read-write.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 00:11:36 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 a1c5e352f9 Normalize line endings: convert 10 CRLF files back to LF, add narrow .gitattributes
Ten files touched by this branch had been rewritten with CRLF line endings
(base versions are LF), inflating the diff against the merge-base to
13685/13039 lines. Content is otherwise unchanged: the diff ignoring line
endings was and remains 661 insertions / 15 deletions.

.gitattributes: crates/**/*.rs and scripts/gpu-bringup/**/*.py are text=auto
eol=lf, so CRLF cannot re-enter these LF files at commit time. text=auto leaves
files that are already CRLF in the index untouched.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 08:51:22 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 03e891cd72 ple_reader: a source that panics is a failed read, not a ticket that waits for ever
The failed-read path of the reader itself already releases every ticket (upstream ebe3383a does not apply: the worker keeps running, issue after a failure queues nothing, collect reports the error), now pinned by tests with several tickets in flight at io_threads 0/1/2/default. The one remaining way to leave a ticket pending was a panic in PageSource::read_at: the worker thread died with the job's ticket still counted and the caller's collect blocked for ever. run() now turns a panic into the same sticky read error.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 03:34:19 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 8735bbc5d5 kar ple: a decode token reads its 16 rows on the calling thread when the archive answers from memory (8 threads otherwise, as before)
`VerifiedKarPleArtifact::read_rows` (one token's 16 rows, 48 positional reads) started and joined eight scoped threads on every call.
The speedtrain-ab spans show ple.read_rows at 0.119 ms per call and 2.1 calls per round (0.25 ms of a 15.0 ms round, before the window
launches), while a memory-served pread of 10-20 bytes takes about a microsecond. The call now reads the first row itself and times
it: at 20 us or less (a row is three reads) the other fifteen rows are read on the same thread; slower means the file waits for a
device, and the previous eight-thread read runs, with the next 256 calls skipping the probe so a cold archive pays one probe per 256
tokens at most. The prefill's batch and read-ahead paths are untouched.

Output identity argument: the same `read_rows_chunk` reads the same offsets into the same packet slots in every path, with the same
bounds, length and non-finite-scale refusals; only the number of threads differs. The test reads random rows of a two-partition
synthetic file through the probing, the post-cold-verdict parallel and the non-probing paths and compares every packet with the
single-thread reference, plus the refusals (row outside the table, changed archive length, row beyond the partitions).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 10:20:39 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 ee4cb597da PLE rows: read ahead of the chunk on handles of their own (Windows)
The KAR PLE rows of a chunk (16 per token, three random 4 KiB reads each) were read before the chunk started, through
clones of one synchronous handle, which the I/O manager runs one request at a time: 5-12 s of every 6144-token chunk.
Rows now read on independent file objects (ReOpenFile) and the next chunk's rows are fetched on a thread while this
chunk computes. Packets are a function of the archive bytes only; LELEKA_PLE_AHEAD_VERIFY=1 compares each with a direct
read (0 mismatches in 2 live turns). Default on for Windows, LELEKA_PLE_AHEAD=on|off.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-27 20:13:10 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 c159a7fdee Tests: PLE rows are matched by row, never by position (plan 0.4; upstream 36381540)
Upstream's gather_batch compared its prefetch list with the batch by position and re-read reordered or duplicated rows. Our reader
has no such matching (tickets own their output slots, the row cache and the KAR GPU cache are keyed by row id); the tests pin it with
the upstream cases and with chunks that are permuted, shifted, repeated or partly new.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-26 17:11:24 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 34dca798f3 Windows: leleka-memory answers the governor from Win32 in /proc text, model-format maps files read-only and reads the KAR by seek_read, native-cpu-expert compiles with Win32 affinity/prefetch
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 12:16:24 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 f96074c360 perf(startup): verify shards and archive in parallel with read-ahead, verification stamps, attested sealed archive, parallel memfd fill, leleka verify
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 01:28:11 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 218afcda94 docs(cuda-driver): SAFETY invariants for FFI, mapped-host owners, file maps; checked_add in index import; audit tests
Comments only, plus: CUDA_MEMCPY2D layout asserts, checked_add in OriginalQsaResidentIndex::import span validation,
and model-free tests (mapped_audit_*, Records bounds, stager copy-job and file-map bounds, arena bounds, resident
span bounds after truncation).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 02:01:05 +02:00
Pavlo Ratushnyi b76b1a45b0 Merge branch 'claude/port-gpu-bringup' into claude/decode-parity
# Conflicts:
#	crates/leleka-runtime/src/qwen_forward/original_serve_stack.rs
2026-10-17 11:16:50 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 5e0bd84901 fix: drop duplicate read_at left by the ms-trim and prefill-kernels merges
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 11:07:27 +02:00
Pavlo Ratushnyi f907a1bfdf Merge branch 'claude/ms-trim' into claude/port-gpu-bringup 2026-10-17 11:06:19 +02:00
Pavlo Ratushnyi 2fc28499c9 Merge branch 'claude/port-gpu-bringup' into claude/decode-parity 2026-10-17 10:26:14 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 6a0ad463c6 perf(serve): CPU worker count and bank THP experiment knobs (LELEKA_ORIGINAL_SERVE_CPU_WORKERS, LELEKA_BANK_THP=on), off by default
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 10:24:47 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 fc12844537 perf(prefill): GDN chunk starts from the mirror's device state when it holds the prior; more PLE reader threads
LELEKA_PREFILL_GDN_MIRROR=0 keeps the canonical host upload. Final residual of every row bit-identical (PREFILL-R gate) on the laptop.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 02:13:46 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 24000a38b5 perf(prefill): batched input staging, folded finite guards, element-parallel dequant, fast finite checks
- KAR PLE rows of a whole chunk are resolved to cache slots on the host (parallel pread of the misses) and decoded by one kernel straight into the arena; each distinct token embedding is decoded once and broadcast to the four residual streams on the device (LELEKA_PREFILL_STAGED_INPUT=0 keeps the per-token path).
- GR read/inject and GDN chain guards ride on their producer kernels; GDN/QSA weight dequantization is one thread per element (LELEKA_PREFILL_FUSED_SCANS=0, LELEKA_PREFILL_FAST_DEQUANT=0 keep the originals).
- Two-barrier GDN recurrence is EXPERIMENTAL (LELEKA_PREFILL_FAST_REC=1), off by default.
- Branch-free finite check and single-copy upload of the GDN state; PREFILL-R bit gate, per-command profile tags, model-free GPU probes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 02:04:42 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 7dba64c4d5 perf(serve): pread for KAR PLE rows, per-window env reads cached, sampled corpus smoke, bench_encode
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 00:07:21 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 57fdd21b13 perf(serve): host profile spans, verify GPU profile report, span cache, sparse suffix reset
Driver host_profile spans (LELEKA_SERVE_PROFILE) for the window launch, doorbell waits, syncs, head, commit and MTP draft
graphs; STRATA_VERIFY_PROFILE report printed per request; PCIe/swap/refill source span cache (LELEKA_SPAN_CACHE=off controls);
suffix drafter clears only the slots it claimed (LELEKA_SUFFIX_RESET=full controls).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 23:59:59 +02:00
Pavlo RatushnyiandClaude Opus 5.5 e4af9a643d perf(serve): one source fence per layer group for the CPU and PCIe experts
with_moe_routed_group_source opens one routed source loan per layer group (one size observation at
begin and one at finish) and MoeRoutedSourceScope::retarget moves it from job to job with the same
member checks a fresh per-expert scope applies; inside, every job is still validated individually
(binding, its actual gate/up/down descriptors and formats, its bank spans, first-use row admission) with
the same refusals. The direct CPU tier opens its group this way, the mapped-source prefetch runs inside
the same fence, and the VRAM tier's PCIe sources of a group share one fence too.
LELEKA_CPU_POOL_FENCE=job keeps one fence per job (A/B arm).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 19:24:31 +02:00
Pavlo RatushnyiandClaude Opus 5.5 e32c39090a perf(serve): prefetch a file-mapped expert source on all pool workers before admission and compute
With the mapped low-RAM source (load_mapped_expert_source, the Original's --mmap-experts) the direct CPU
tier opens every CPU expert of the group first without scanning it, then advises all their pages
(MADV_WILLNEED) and faults them in on every pool worker and the caller in one read-only phase
(expert_source.cpp prefetch on its fetch threads), and only then admits first-use experts and computes.
The resident source skips the phase. Trace slot 'fetch' times it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 13:19:48 +02:00
Pavlo RatushnyiandClaude Opus 5.5 6c208972ba feat(experts): low-RAM mapped expert source (the Original's --mmap-experts, GGUF in place)
The serve stack's routed experts came only from `load_resident_expert_source`, a 50 GB RAM copy of the
144 shard-0 banks that `MappedExpertBank` then page-locks whole: impossible on a 32-48 GB PC.

* model-format: `ResidentTensor` storage is an owned copy or a read-only MAP_SHARED mapping of the verified
  shard (`VerifiedGgufFile::map_resident_tensor`, same descriptor, bounds and size checks);
  `Qwen4ExpArtifact::load_mapped_expert_source` builds the same bank catalog from mappings, no RAM
  admission (generate.cpp `src.set_gguf` + `FileExpertSource::open`). The crate's lint is relaxed from
  forbid to deny so exactly this mapping owner can allow its mmap/munmap/slice.
* cuda-driver: a lease of mapped banks makes `MappedExpertBank` pageable: no cuMemHostRegister; every
  consumer the Original serve stack uses (`cache_source` for the prompt copy ring, VRAM tier fills/swaps,
  PCIe staging) copies with cuMemcpyHtoDAsync from pageable memory; the zero-copy device aliases
  (`retained_span_handle`, `copy_triplet`) are refused.
* runtime: `ModelBinding::load_mapped_expert_source`.

The bytes are the file's, so consumers see what the resident copy holds. Unit test
`mapped_tensor_is_the_files_bytes_and_a_retained_owner`; model-format --lib 128 passed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 11:27:08 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 c7abf4fab6 model-format: allow the whole-tensor stream for output.weight and token_embd.weight (native head / embedding owners)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-15 08:58:13 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 c969796616 test(kar): windows beyond 2^32 elements decode against a direct u64 format oracle
A virtual 8.6e9-element expert bank (group 96, section above 4 GiB) is never
allocated: archive bytes are a hash of the absolute offset, the planner and
kernel model decode first/middle/last-expert windows and the final partial
group, and every element is compared bit for bit with a per-element decode
written straight from the format definition. No defect found.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 16:57:38 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 88401e1663 test(kar): run the real kar_decode_levels.cu on the CPU against the kernel model
nvcc and a GPU are unavailable, and the kernel's only executable evidence was a
Rust transcription of it. This harness compiles the actual .cu with clang
through a small shim (threads for CUDA threads, a barrier for __syncthreads,
atomics for atomicOr) and replays model-generated cases: random valid windows
at levels 2..5, non-finite scales/books, ~1k corrupted launch-parameter sets,
multiply and SwiGLU. 17k cases (ASan build included) agree bit for bit; this
does not cover nvcc codegen or device behaviour.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 16:56:27 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 da7b9c6762 test(kar): recomputed-integrity directory fuzz must only admit GPU-consistent records
Every header field and directory byte is mutated with the directory digest and
header CRC recomputed so the structural validators are what is under test.
Whatever the inspector admits must also pass the nested-descriptor validator,
plan only ranges inside its own section, stage cleanly, run the kernel model
without panic, and equal the file-backed CPU oracle at level 2.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 16:56:27 +02:00
Pavlo Ratushnyi 2d8d362d6b Merge branch 'claude/port-offline' into claude/port-main
# Conflicts:
#	Cargo.toml
#	control-plane/src/lib.rs
#	crates/context/Cargo.toml
#	crates/context/src/lib.rs
#	crates/model-format/src/qwen4exp_expert_source_bank.rs
2026-10-14 16:09:35 +02:00
Pavlo Ratushnyi 0648d296be Merge branch 'claude/port-forward-leaves' into claude/port-main
# Conflicts:
#	crates/model-format/src/lib.rs
2026-10-14 15:47:56 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 b3a9e2238e fix(model-format): clippy -D warnings clean on non-Linux hosts
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 15:38:35 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 7466426ed7 style: cargo fmt model-format and desktop-core
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 15:37:19 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 7847306434 test(model-format): exercise multi-chunk stream safety via a test-only stream buffer seam
Production buffers GGUF spans in 16 MiB chunks (3c20d1a), so 128 KiB tiles
arrive as one chunk. Keep the abort/re-seek/size-mutation/retained-fd checks
by shrinking the stream buffer to 64 KiB per-thread in tests, and assert the
production single-chunk delivery explicitly.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 15:36:55 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 801a19992d Merge branch 'claude/port-serving' into claude/port-main (conversation cache + async PLE reader); model-format: autotests=false for #[path] test modules
Known: 4 model-format tests expect 64 KiB chunks but streaming uses 16 MiB buffers since 3c20d1a (stale tests, pre-existing).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 15:35:43 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 910bd947a2 feat(model-format): pinned.cu host half (shared-file arena header, pin/slice registration plan, parallel expert load)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 15:34:29 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 b3bd6a0936 feat(runtime): read the 16 PLE rows of a token through the async reader
Issue the rows before the embedding read, collect before layer 1, decode
exactly as ple_row does. Reader opens lazily with the original defaults
(1M-row cache, 64 in flight, SSD keep-alive), an O_DIRECT handle on Linux
accepted only after an inode check and aligned probe read, and falls back
to the synchronous path when unavailable. Invalid LELEKA_PLE_* values are
refused.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 15:34:05 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 13638e294d feat(model-format): native_dense.cpp planning half (eligibility, shard/payload validation, upload plan, Q8_1 scratch)
Literal host port of NativeDense::served_names / keep_unquantized_ple_key and the validation half of NativeDense::load
with the Original's refusal messages; the device upload stays with the runtime.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 15:32:26 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 44a851648e feat(model-format): expose a positional row-table source for verified shards
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 15:31:06 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 195b0a99af feat(model-format): add async PLE row reader with page dedup and row cache
Port of ngram/ple_reader: issue/collect tickets, 4 KiB page dedup and
offset-sorted reads over positional reads and worker threads, 8-way
round-robin row cache, sticky errors, injected delay, keep-alive.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 15:30:18 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 f3bff3842d feat(gguf): header-reader differential, full metadata dump and Python geometry parity
- model inspect-metadata dumps every key/value (bool arrays typed); metadata_entries in model-format
- block_geometry gains Q8_K, IQ1_S, F64, MXFP4, NVFP4; ggml bridge decodes Q8_K, IQ1_S, MXFP4, NVFP4
- general.alignment must be uint32 (the Python reader accepted any width, the Rust reader ignored the rest)
- scripts/offline/diff_gguf_header.py: random GGUF vs unmodified gguf_reader.py, plus stricter-by-design list
- committed golden + integration test (headers and the geometry table)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 15:25:20 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 0d073e08aa feat(native-pack): match iq_pack.py conversions, add --compat-bf16/--base/--experts-bin and the exhaustive differential
- ple_conv1d inexact F32->F16 is accepted and recorded exact=false, as the oracle does
- conversions.json now carries method/exact/max_abs_err/source_shards like iq_pack.py
- opt-in --compat-bf16 (dequantize + RNE to BF16/F16/F32), --base (index_from_base, extra.bin),
  --experts-bin (+ experts.bin.src.json); receipts list the optional files present
- scripts/offline/diff_native_pack.py: 2700+ cases against the unmodified tools/iq_pack.py
- unit tests: real golden expert tables, numpy/gguf-py F16/BF16 rounding vectors
- fix three pre-existing clippy lints in leleka-model-format

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 15:20:15 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 7e24f41e34 feat(runtime): KAR routed-expert weight source wired into Load and the MoE stage
KarExpertSource (pinned base + optional overlay, levels 2..=5) verifies whole
archives on the retained descriptor, validates the 48-layer expert map at load,
stages exact ranges and runs one-drain device expert FFNs; ModelBinding gains a
consuming with_kar_expert_source builder, MoeExpertStage routes experts through
it (shared expert/combine unchanged, MMQ cache refused), and NativeBackendConfig
gets kar_expert_source with identity-mixed mode digest and a Load-time probe.
The pure selection, stager, expert map and CPU reference move to model-format
so they run on macOS; the CUDA program gains a SwiGLU entry and a per-context
cached module. Linux-target type-checked only; nvcc/GPU unverified, PTX unpinned.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 14:55:34 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 664d434fca feat(model-format): KAR level-decode kernel model and nested record descriptor
Adds KarNestedRecord (section layout of a NESTED record, validated with the
inspector's formulas) and a literal CPU transcription of the planned CUDA
level-decode and F32 row-multiply kernels (window planning, packet layout,
thread/block decomposition, plane word and group scale addressing) for runtime
levels 2..=5. Randomized tests compare it with a transcription of the CPU
decode oracle, including partial last groups, word-unaligned ranges, expert
row windows and overlay-style per-archive dials. Verifies the specification
only; no CUDA build or GPU run.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 14:42:42 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 7f896a8bb8 import: Original-literal source-port snapshot (frozen 2026-10-12 06:36, uncompiled together, no GPU run)
Snapshot of target/stra169-direct-port-integration/source-port (without target/), now the tracked base for the full Strata Rust port.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 14:38:46 +02:00
Pavlo Ratushnyi 5a06a29b9a Retain PLE and MTP outputs and memoize immutable PTX checks 2026-10-10 10:20:59 +02:00
Pavlo Ratushnyi 3b865b8426 Retain PLE weights and reuse projection scratch on the GPU 2026-10-10 05:21:51 +02:00
Pavlo Ratushnyi 58dbd1799c Retain selected Qwen weights on GPU and dispatch complete matrices 2026-10-10 04:06:45 +02:00
Pavlo Ratushnyi 3c20d1abea Buffer GGUF metadata and weight spans in 16 MiB heap chunks 2026-10-10 03:07:28 +02:00
Pavlo Ratushnyi ff5241fdb2 Verify sealed KAR SHA and section CRC in one scan 2026-10-10 02:53:06 +02:00
Pavlo Ratushnyi cad2a2776f fix(runtime): read bounded MoE row tiles from retained weight spans 2026-10-10 01:28:54 +02:00
Pavlo Ratushnyi 61b14828d0 feat(runtime): bind explicit KAR PLE mode to qualified fixed CUDA assets 2026-10-09 22:00:08 +02:00
Pavlo Ratushnyi 0be23fdbdc fix(model): match verified second shard identity 2026-10-09 20:40:29 +02:00