|
3 | 3 | ## Unreleased |
4 | 4 |
|
5 | 5 | ### 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. |
6 | 23 | - Rust library gap-filling (oxideon-core), each module with tests; several checked against external references |
7 | 24 | (llama.cpp, onnxruntime, NumPy): |
8 | 25 | - `special`: erfc, erfinv, lgamma, digamma, polygamma, zeta, igamma/igammac, ndtr/log_ndtr/ndtri, entr, xlog1py, |
|
0 commit comments