Skip to content

Commit 0510fc3

Browse files
voidstackloopclaude
andcommitted
CHANGELOG: training/serving infrastructure, new dtypes, gradcheck and determinism tests
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
1 parent 2321b5c commit 0510fc3

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,23 @@
33
## Unreleased
44

55
### Added
6+
- Training and serving infrastructure (oxideon-core), each with tests:
7+
- `loader`: `PrefetchLoader` (worker threads, output order independent of the worker count, per-epoch order fixed by
8+
`(seed, epoch)`, resume from any batch), `StreamingLoader` (sharded streaming with a shuffle buffer and per-rank
9+
shard split), `NpyDataset` (rows of `.npy` files read on demand).
10+
- `checkpoint`: full training state (sharded model, optimizer, RNG, epoch/step/batch) written atomically, optional
11+
background writes, `CheckpointManager` (keep last N, find latest). A resumed run is bit-identical.
12+
- `train_loop`: step-based `TrainLoop` (LR schedule function, gradient accumulation and clipping, EMA weights used for
13+
evaluation, callbacks, TensorBoard logger, automatic exact resume).
14+
- `profiler` (operator timings, Chrome trace, NaN/inf anomaly detection), `summary_writer` (TensorBoard event files),
15+
`memory` (live / peak tensor bytes), `hub` (Hugging Face snapshot cache via `curl`, sharded safetensors loading),
16+
`dlpack` (DLManagedTensor export / import).
17+
- `serving`: `PrefixCache` (prompt-prefix KV block reuse, LRU eviction) wired into `ServingEngine`, KV block growth
18+
during generation, regex-constrained requests; `grammar::regex` (linear-time regex matcher and logit masker,
19+
cross-checked against Python `re`).
20+
- dtypes: `U64` (exact above 2^53), `F8E4M3` and `F8E5M2` 8-bit floats (encodings match PyTorch), next to the
21+
earlier `I8`/`I16`/`U16`/`U32`.
22+
- tests: finite-difference gradient checks for 57 linalg and core ops, bit-identical results across thread counts.
623
- Rust library gap-filling (oxideon-core), each module with tests; several checked against external references
724
(llama.cpp, onnxruntime, NumPy):
825
- `special`: erfc, erfinv, lgamma, digamma, polygamma, zeta, igamma/igammac, ndtr/log_ndtr/ndtri, entr, xlog1py,

0 commit comments

Comments
 (0)