feat(task): use MetaMathQA (exp_metamath_p02) as the default expert group - #193
Open
isabella618033 wants to merge 1 commit into
Open
feat(task): use MetaMathQA (exp_metamath_p02) as the default expert group#193isabella618033 wants to merge 1 commit into
isabella618033 wants to merge 1 commit into
Conversation
… group Switch the locked default `TaskCfg.expert_group_name` from `exp_math` to `exp_metamath_p02` (dataset `meta-math/MetaMathQA`) so both miner and validator train/evaluate the MetaMathQA expert group. Promote that group's `group_id` from the -1 sentinel to its active slot 3 (distinct from exp_math=0 and the exp_c4_p02=2 helper, so no assignment clash). Since expert_group_name is a locked field, this propagates to every miner/validator via check_and_prompt_locked. helper_group_id stays 2 (exp_c4_p02, the frozen 2Fnat helper). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
present42
self-requested a review
July 13, 2026 13:18
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
Switches the default expert group for both miner and validator from
exp_mathtoexp_metamath_p02(datasetmeta-math/MetaMathQA).connito/shared/config.py:TaskCfg.expert_group_namedefaultexp_math→exp_metamath_p02.expert_groups/exp_metamath_p02/config.yaml:group_id-1(sentinel) →3(active slot; distinct fromexp_math=0and helperexp_c4_p02=2, so no assignment clash). Group already ships anexpert_assignment.json(26 layers, 146 experts).Why it applies to miner + validator
expert_group_nameis a locked field (TaskCfg._LOCKED_FIELDS), socheck_and_prompt_lockedenforces it against the default on every worker — changing the default propagates to all miners/validators. Run configs still pinningexp_mathwill be prompted/reset toexp_metamath_p02.helper_group_idstays 2 (exp_c4_p02) — the frozen 2Fnat helper is dataset-agnostic.exp_metamath_p02pinssequence_length: 4096, whereasexp_mathis1024. So this switch also raises the effective seq length 1024 → 4096. Per the earlier VRAM analysis, fp32torch.optim.AdamWOOMs at seq 4096 on a 47 GB A6000 at this model size — miners on default fp32 Adam would need either 8-bit AdamW orsequence_length: 1024. If we want the memory-safe path, drop metamath'ssequence_lengthto 1024 in this PR — say the word and I'll add it.Test
TaskCfg()resolvesexpert_group_name=exp_metamath_p02,helper_group_id=2, locked set intact.exp_metamath_p02/config.yamlparses;expert_assignment.jsonpresent (26 layers).🤖 Generated with Claude Code