Repository navigation
0.3.2a0: native kernel, compiled MLX step, MLX activation recomputation - #48
Merged
Merged
Conversation
- chronos/model/kernel.py replaces the minimind kernel: no clone, no sys.path changes, offline import; logits bit-identical on the existing checkpoints; one shared FP32 RoPE table (3.50 -> 0.50 MiB at 50M). - Dense GQA mode works on Torch and MLX (both crashed before); BF16 release checkpoints keep their dtype; trainer logs reach the Web UI. - decode_visible keeps <tool_call>/<tools> tags that a custom tokenizer registers as special tokens (serving, workbench, GRPO rewards). - MLX: compiled micro step by default (1.08x SFT, 1.18x pretrain measured on the 50M en->zh config) and activation recomputation with replayed draws and per-dtype packed region outputs (mlx 0.32.4 drops gradients of repeated region outputs; peak 5.62 -> 3.50 GB SFT). - RoPE tables built single-threaded (1-ulp prefix mismatch at 18 threads). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
chronos/model/kernel.py) replaces minimind: no clone, nosys.pathchange, offline import. Logits are bit-identical onout/chronos_256_moe.pthand the 50M en→zh checkpoint (full, padded, prefill+decode). One shared FP32 RoPE table (3.50 → 0.50 MiB at 50M, 216 → 24 MiB at 768H).decode_visiblekeeps<tool_call>/<tools>when a custom HF tokenizer registers them as special tokens.chronos-translatepin). README (en/zh) and CHANGELOG updated.Test plan
HOMEempty: version 0.3.2a0, legacy tokenizer bundled, no minimind, nothing downloaded🤖 Generated with Claude Code