Repository navigation
Training: start a run from another run's network (init_from) - #7
Merged
Merged
Conversation
The network's weights do not depend on the board size, so a network trained on 9x9 can start a run on 13x13. init_from names the checkpoint; the new run takes the weights and nothing else (own optimizer state, learning-rate schedule, replay window and rating ladder). - loop refuses a missing checkpoint, or one of another network size, before the run directory is created - champion.json and release notes name the starting checkpoint, because the game counts there cover only the new run - docs: "Moving to a larger board" Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
An ONNX file plays one board size, so measuring a 13x13 run's network on 9x9 needs its checkpoint exported for 9x9. The docs said `gofer arena -size 9` was enough; it is not. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This branch was successfully deployed
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.
What
A training run can now start from another run's network instead of random weights, on any board size:
No weight of
GoferNetdepends on the board size (convolutions and board-wide pooling), so this needs no change to the network. The new run takes the weights and nothing else: its own optimizer state, learning-rate schedule, replay window and rating ladder.Why
The 9×9 run levels off within hours on a 32-vCPU machine. This is the first step towards one network for several board sizes: move the 9×9 network to 13×13 instead of starting 13×13 from random play.
Details
LoopConfig.init_from(empty by default: random weights, as before).blocks/channelsdiffer from the run's, before the run directory is created. Resuming does not need the checkpoint.champion.jsonand release notes name the starting checkpoint, because the game counts there cover only the new run.docs/training.md.Tested
Not covered here: keeping the old board size in the training mix. A network trained only on the new size afterwards is not trained on the old one any more; the docs say to measure it there before calling it a network for both.
🤖 Generated with Claude Code