Commit 2c74a0c
committed
review: close what a hostile reader would find first
Adversarial pass over the tree. Nothing sensitive was in it, so this is about
the things someone would pull out to argue the repo is not serious.
Every unsafe block in olmo2.rs now carries a SAFETY justification. There were
thirteen and none of them said why they were sound, which is the first thing a
Rust reviewer looks for.
Fourteen unit tests for the OLMo module's pure logic, so cargo test covers it
rather than only the CLI selftest. They pin the parts that are easy to get
quietly wrong: QK-norm spanning the projection rather than a head, the norm
being sliced with its projection under tensor parallelism, and each rejection
naming its reason.
The docs contradicted the README, which is worse than either being wrong alone.
The roadmap listed real full-depth checkpoint loading through the serving path
as open when it now ships, hardware-support did not list the OLMo gates, and
the sandbox doc said the answers are synthetic without the qualifier that they
are only synthetic by default. All three now agree with what the code does, and
the roadmap says plainly what M6 still lacks: batching, sampling, a prefill
kernel, tensor parallelism, and performance.
just ci claimed to be everything CI runs and had drifted, so it now includes
the OLMo gate. CONTRIBUTING explains how to write a gate that fails when its
claim is false, using the two OLMo gates as the worked example.
README gains what a first-timer actually needs: requirements before they
commit, the model's own licence and the fact that it is a base model rather
than an instruction-tuned one, and a troubleshooting section for the failures
they will really hit.
Also checked and clean: no secrets, no internal paths, no AI attribution, no
emails, no broken links or anchors, no TODO or debug leftovers in shipped
paths, no unescaped model output reaching the DOM in either page, and JSON
escaping that handles the newlines a real model emits.1 parent 37a6869 commit 2c74a0c
7 files changed
Lines changed: 385 additions & 7 deletions
File tree
- crates/mainarch-core/src
- docs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
72 | 89 | | |
73 | 90 | | |
74 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
68 | 81 | | |
69 | 82 | | |
70 | 83 | | |
| |||
428 | 441 | | |
429 | 442 | | |
430 | 443 | | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
431 | 458 | | |
432 | 459 | | |
433 | 460 | | |
| |||
562 | 589 | | |
563 | 590 | | |
564 | 591 | | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
565 | 628 | | |
566 | 629 | | |
567 | 630 | | |
| |||
0 commit comments