commits
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: moderation <michael@sooper.org>
Signed-off-by: moderation <michael@sooper.org>
Signed-off-by: moderation <michael@sooper.org>
- Eliminate all @constCast by changing [][]const *Value to [][]*Value
- Add f64 fast-path for inference (doLinearF64, doSoftmaxF64, doRmsnormF64, doGptF64)
- Break up dense Mersenne Twister expressions into readable intermediates
- Use std.mem.swap in mtShuffle
- Inline sum in doLinear to avoid temp allocation per row
- Pre-size ArrayLists (tokens, losses) where lengths are known
- Shrink Value.gen from u64 to u32
- Eliminate all @constCast by changing [][]const *Value to [][]*Value
- Add f64 fast-path for inference (doLinearF64, doSoftmaxF64, doRmsnormF64, doGptF64)
- Break up dense Mersenne Twister expressions into readable intermediates
- Use std.mem.swap in mtShuffle
- Inline sum in doLinear to avoid temp allocation per row
- Pre-size ArrayLists (tokens, losses) where lengths are known
- Shrink Value.gen from u64 to u32