mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #169] [CLOSED] generate/verify: make diagnostic dumps work under --spec for native packs #2488
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2488
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/169
Author: @samuelishida
Created: 9/29/2026
Status: ❌ Closed
Base:
main← Head:pr-hip-diagnostics📝 Commits (1)
362c9cegenerate/verify: make --dump-logits/--dump-layers/--dump-final-r work under --spec📊 Changes
6 files changed (+298 additions, -22 deletions)
View changed files
📝
docs/AMD_HIP.md(+40 -0)📝
include/strata/core/verify.hpp(+19 -0)📝
src/core/verify.cpp(+43 -1)📝
src/kernels/ple_parity.cpp(+1 -1)📝
src/program/generate.cpp(+144 -20)➕
tests/python/README.md(+51 -0)📄 Description
A native (IQ) pack decodes through verify windows only, so
--dump-logits,--dump-layers, and--dump-final-rmust emit rows from those windows rather than from the ordinary token loop.What this PR does:
--dump-layersis set. Rows are the fused-layout residual (layer l's write stays pending inside layer l+1's fused read), which is what the engine actually holds.--dump-logitsand--dump-final-rrows for accepted window rows only; rejected drafts are conditioned on tokens the ordinary path never feeds.--dump-halvesunder--speccleanly.--no-capture/--no-token-graphpaths.ple_parityin CMake because its >100 MB fixtures and per-artifact oracle include were never committed; the missing supply chain is documented intests/python/README.md.Also documents the native-pack dump semantics in
docs/AMD_HIP.md.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.