Repository navigation
0.3.3a0: block-order loop, sigmoid step size, general 32k tokenizer, task-neutral kernel - #56
Merged
Merged
Conversation
…task-neutral kernel Loop (Torch and MLX): recurrent_order "block", recurrent_later_topk, recurrent_later_groups, lambda_iteration_cluster, lookahead_teacher_scope, recurrent_dt_param "sigmoid", and recommended_dt_init(depth) = min(0.5, 2 / depth) (fixed integration horizon T = depth * dt). Kernel defaults are unchanged. The planner now recommends block order, sigmoid and the horizon init for a looped plan; presets_v3.json is regenerated. Fixes: the MLX clip gradient on dt_min/dt_max is now the Torch clamp gradient; the MLX depth jitter is drawn once per optimizer step under gradient accumulation. Auto-tune: the probe trains on real dataset tokens, and recurrent_order and recurrent_dt_init join the search space. Web UI: new fields and four-language help. Tokenizer: chronos/assets/tokenizers/general_32k (32768 tokens, task-neutral control ids, licences in NOTICE) is the planner default for new plans. Kernel text no longer names a translation task; the translation sections moved to demos/translation. CHANGELOG records the physical mechanism, the measurements (one seed per arm, 15M parameters) and the known limits. Co-Authored-By: Claude Sonnet 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.
0.3.3a0
Release candidate for the 0.3.3a0 pre-release. The full text is in
CHANGELOG.mdunder[0.3.3a0].Loop kernel (Torch and MLX).
recurrent_order="block",recurrent_later_topk,recurrent_later_groups,lambda_iteration_cluster,lookahead_teacher_scope,recurrent_dt_param="sigmoid"andrecommended_dt_init(depth) = min(0.5, 2 / depth). Kernel defaults are unchanged, so existing configs and checkpoints behave as in 0.3.2a3. The planner now recommends block order, sigmoid and the horizon init for a looped plan, andui/presets_v3.jsonis regenerated.Physical mechanism. A shared block applied repeatedly adds nearly parallel vectors, so contributions add constructively (consecutive-call output cosine 0.92 to 0.985 at depth 8). Each iteration multiplies the residual by
g = 1 + dt * lambda_effwithlambda_efflearned; depthRraises it to the powerR - 1.dtalone is a gauge:gstayed 1.067-1.075 fordt0.15-0.5 at depth 8 because the block rescales its output. A fixed horizonT = depth * dt = 2replaces the cubic depth rule, which the depth-8 run refuted.Fixes. The MLX gradient on
dt_minanddt_maxnow equals Torch's clamp. MLX depth jitter is drawn once per optimizer step under gradient accumulation.Auto-tune and Web UI. The probe trains on real dataset tokens;
recurrent_orderandrecurrent_dt_initjoin the search space; new fields and four-language help.Tokenizer and kernel neutrality.
general_32k(32,768 tokens, task-neutral control ids, corpus licences inNOTICE) ships and is the planner default for new plans. The control-token relabel changed its fingerprint (169668b1…to6d4b3b52…); the old value is kept underderived_from. Kernel text no longer names a translation task, and the translation sections moved todemos/translation.Verified. Full suite 732 passed, 4 skipped (three need
playwright, one needs the v2 reference checkpoint); three further runs undernice -n 19also passed.ruff check .is clean (local 0.15.11; CI pins 0.17.4, not yet run locally).Open, and stated in the CHANGELOG.
recurrent_later_groups=2regression is explained only in part: the clamp collapsing the two active layers'dtaccounts for most of it, but the sigmoid arm still trails the full block by 0.013-0.055.test_worker_probes_checkpoint_after_validation_and_monitor_shows_it(preexec_fnerror spawning the probe subprocess) and passed in 6 later runs and 450 isolated spawns; the cause is not found.🤖 Generated with Claude Code