Skip to content

train 1120011625: #3719 #4012 (CI only) - #4121

Closed
ashhart wants to merge 4 commits into
mainfrom
lead/train-1120011625
Closed

ashhart wants to merge 4 commits into
mainfrom
lead/train-1120011625

Conversation

@ashhart

@ashhart ashhart commented Nov 20, 2026

Copy link
Copy Markdown
Owner

CI for a landing train: #3719 #4012 stacked on main in that order. Nothing merges from this PR: each PR above lands on its own once this tip is green, and this PR is then closed.

BobClawblaw and others added 4 commits November 20, 2026 01:16
…h, torch_zip, wav)

The reader also takes nested state dicts, named by their keys, and its zip container is its own file. Drama 3 reads
its codec through core.torch_pth as before.
The retained tests cover the flat readF32 path only. torch_pth_test.zig builds
torch.save archives in the test (stored zip members, a protocol-2 pickle written
opcode by opcode) and checks:

- openNested: tensors named by their keys joined with '/', through state dicts
  that carry a _metadata BUILD; plain values (ints, strings, floats, lists) and
  the metadata are not tensors.
- readRaw: offset views of one shared storage at fp32 and bf16 widths, and the
  refusals of a view past its storage, a strided view, a storage member of the
  wrong size, a missing storage and the wrong dtype.
- Flat-mode refusal of a nested root; a name reached twice and a root nested
  past eight levels are refused.
- Damage: a storage byte changed after its CRC, a pickle with a bad CRC, a
  missing end record, a file too short, no or two data.pkl, a big-endian
  byteorder, a pickle without STOP, a member whose header lies past the end.

Each check fails when its guard is removed from the reader.
…probe (#3468)

- Rule.depth keeps the depth it priced until another beats it by depth_margin, like plain_margin, so one noisy round no longer drops a one-stream reply to one draft for the rest of it; a depth that keeps losing still gives way.
- A depth probe's rows are kept by a lone window instead of trimmed back to the priced width, so the deeper depth's acceptance and round time are observed and a dropped stream can recover.
- Host tests feed the reported 18.1/20.8 ms costs and the probe's rows; three lone-copy pins move by 1-2 drafted rows, their replies unchanged.

Fixes #3468
@ashhart ashhart closed this Nov 20, 2026
@ashhart ashhart reopened this Nov 20, 2026
@ashhart

ashhart commented Nov 20, 2026

Copy link
Copy Markdown
Owner Author

CI wait on this tip (no result in 240 min); the PRs land the usual way.

@ashhart ashhart closed this Nov 20, 2026
@ashhart
ashhart deleted the lead/train-1120011625 branch November 20, 2026 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants