Commit Graph
10 Commits
Author SHA1 Message Date
Pavlo RatushnyiandClaude Sonnet 5.5 ef854aa300 STRA-235: stream-K off at every MMQ site on sm_86 (the MTP draft-KV record was still on it), drain switches, forced-SM diagnostic
- arch_ptx::stream_k_off(): one decision for the grouped MoE, the MTP prefill record, the resident MMQ, the Original profiles and the
  stream-all issuer; an sm_86-class device launches one block per tile unless LELEKA_MMQ_STREAMK=1. Native sm_120: untouched.
  The first real long session failed in the MTP FC hidden check of the draft record, which still planned the 48-block grid.
- diagnostics (off by default): LELEKA_FORCE_SMS, LELEKA_MMQ_STREAMK_FILE, LELEKA_RING_SERIALIZE_COPY_FILE / _CMD_FILE,
  LELEKA_CHUNK_DRAIN / _FILE.
- docs/windows.md: the third STRA-235 note (the 224k session on the laptop, the A/B, the 5090 forced-48-SM runs, what was read and found).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-26 19:47:52 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 96aa8b4270 STRA-235: sm_86 group MMQ without the stream-K grid, model-free stream-K stress, A/B switches
- mmq_original_group.rs: on a device that is not a native sm_120 the group MMQ launches one block per tile (no stream-K split, no
  fixup kernel); LELEKA_MMQ_STREAMK=1 restores the stream-K grid; the 5090 path is untouched. LELEKA_MMQ_NO_STREAMK / _FILE force
  it elsewhere. In-engine A/B on the laptop: 4 failures in 23 cold 14k requests with the stream-K grid, 0 in 23 without.
- mmq_original_ring.rs: LELEKA_RING_SERIALIZE / _FILE drain the copy and compute streams after every DMA / command (diagnostic).
- mmq_original_group_stress_gpu.rs: model-free random-count stress of the grouped MMQ with the stream-K grid planned for a forced SM
  count, both grids compared; clean on the 5090 (48 and 170 SMs) and on the 3080 laptop (48 SMs).
- docs/windows.md: the second STRA-235 note (what the stress and the A/B show, what is not verified).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-26 14:46:18 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 f4924078bf STRA-235: CUDA launch/error tracer for the native Windows engine, driver errors in the log
- libc-shim/cuda_trace.rs: under LELEKA_BRINGUP_TRACE the Windows dlsym returns wrappers for the launch, copy, event and
  synchronization entries of nvcuda. Every non-zero return prints the operation, the code, cuGetErrorName/String and the
  operations queued since the last successful synchronization of the stream (kernel names, grid, block, shared bytes).
  Nothing blocks; LELEKA_CUDA_TRACE_SYNC / LELEKA_CUDA_TRACE_CALLBACKS add a per-launch synchronization or completion
  callbacks, only while the prompt forward runs (PromptSyncTrace).
- the nine driver_error helpers print under LELEKA_BRINGUP_TRACE as well (operation and code instead of the class only).
- LELEKA_STAGE_VERIFY: compare every staged expert buffer with its file bytes before the buffer is released.
- docs/windows.md: what failed (nvlddmkm Xid 13, Out Of Range Address, same PC), what is ruled out, next experiment.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-26 11:43:36 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 d2701dbc65 docs: feasibility decisions for KAR routed/prefill experts and the multi-GPU handoff; bring-up print review with a source-scan guard
Item 5: the patch source is not in the tree but is in the git objects of the codex KAR branch; recorded what it is, what can be recovered and why it is not ported. Item 6: scope of set_stage/set_next and what a layer split needs; nothing implemented. Item 8: every production DBG/PROBE print is behind LELEKA_BRINGUP_TRACE or a switch of its own; crates/leleka-runtime/tests/bringup_prints_gated.rs keeps it so.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 12:36:50 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 6d3ad69d3d docs: sealed with nvcc 13.2.86 on 2026-10-15, GPU load verified separately, no numerical claim
Rust port / port-fast (push) Failing after 7s
Rust port / port-typecheck (push) Failing after 7s
Rust port / port-oracles (push) Failing after 10s
Rust port / port-linux-tests (push) Failing after 22s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-15 07:26:47 +02:00
Pavlo Ratushnyi 3bd56675f2 docs: record the open items of the remaining port
Rust port / port-fast (push) Failing after 8s
Rust port / port-typecheck (push) Failing after 8s
Rust port / port-oracles (push) Failing after 9s
Rust port / port-linux-tests (push) Failing after 14s
2026-10-14 17:08:46 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 9066468f9a feat(cuda-driver): closed driver programs for native_flash_attn, the legacy S-form GEMVs and the arena poison fill (fail-closed pins, signature tables checked against the .cu, ignored GPU smokes)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 17:06:20 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 700e921ae9 feat(sampler): host-side serve-loop sampling for MTP (window staging, coupled draft history, acceptance) with a whole-loop toy-model oracle
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 16:57:50 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 750a8d3003 test(reasoning-budget): replay the Service.run golden through the live worker and the Responses HTTP path
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 16:50:39 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 81b907030f feat(vision): picture parts in the Chat, Messages and Responses dialects, the strata-vision encoder client and GENI embeddings
The three adapters reduce pictures to a Responses input_image, the prompt renderer writes the template's
picture items and returns their sources in prompt order, and the request path encodes them (in turn with the
engine), expands every image pad to its token count and sends GENI with the combined SVE1 file. The encoder
is configured by a top-level vision section, stops with the engine and starts before it. Goldens recorded from
the Python handlers cover fourteen Chat and Messages requests.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 16:46:59 +02:00