{ "pretrain": { "step": 114442, "source_tokens": 30000000000, "resume_state_complete": true, "scheduler": { "kind": "cosine", "next_step": 114442, "total_steps": 114442, "warmup_steps": 1144, "lr": 0.001, "min_lr_frac": 0.1 }, "data_state": { "next_global_batch": 114442, "stage": "pretrain", "prefetch_replay": "immutable-next-batch" }, "raw_events": [ { "path": "pretrain/tb/events.out.tfevents.1794160308.DESKTOP-OU3A33R.32891.0", "loss_points": 87, "first_step": 20, "last_step": 1737 }, { "path": "pretrain/tb/events.out.tfevents.1794229726.DESKTOP-OU3A33R.35404.0", "loss_points": 5637, "first_step": 1740, "last_step": 114442 } ], "loss_points": 5724, "missing_expected_steps": [], "original_run_metadata": [ { "step": 0, "args": { "stage": "pretrain", "microbatch": 32, "checkpoint_policy": "core", "runtime": "fused", "dtype": "bf16", "optimizer": "muon", "lr": 0.001, "muon_lr": 0.001, "muon_momentum": 0.95, "muon_ns_steps": 5, "muon_adjust_lr": "match_rms_adamw", "weight_decay": 0.1, "betas": [ 0.9, 0.95 ], "grad_clip": 1.0, "warmup_frac": 0.01, "min_lr_frac": 0.1, "compile_pointwise": true, "compile_optimizer": true, "ce_backend": "fla", "ce_chunk": 4096, "prefetch": true, "cpu_threads": 4, "allocator_fraction": 0.95, "seed": 2026, "save_steps": 500, "log_every": 20, "expert_runtime": "sonic", "model_type": "kroha_routed_norm", "mtp": true, "mtp_ce": "tc" }, "model_config": { "routed_output_norm": true, "router_optimizer": "adamw", "transformers_version": "5.17.0", "architectures": [ "KrohaRoutedNormForCausalLM" ], "output_hidden_states": false, "return_dict": true, "dtype": null, "chunk_size_feed_forward": 0, "is_encoder_decoder": false, "id2label": { "0": "LABEL_0", "1": "LABEL_1" }, "label2id": { "LABEL_0": 0, "LABEL_1": 1 }, "problem_type": null, "vocab_size": 69650, "hidden_size": 512, "intermediate_size": 1792, "num_hidden_layers": 18, "num_attention_heads": 8, "num_key_value_heads": 2, "hidden_act": "silu", "max_position_embeddings": 2048, "initializer_range": 0.02, "rms_norm_eps": 1e-05, "use_cache": true, "pad_token_id": 0, "bos_token_id": 1, "eos_token_id": 2, "pretraining_tp": 1, "tie_word_embeddings": true, "rope_parameters": { "rope_type": "default", "rope_theta": 10000.0 }, "attention_bias": false, "attention_dropout": 0.0, "mlp_bias": false, "head_dim": 64, "_name_or_path": "", "num_core_layers": 8, "num_passes": 2, "layer_types": [ "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "full_attention" ], "relaxed": true, "lora_rank": 16, "lora_alpha": 16, "attnres_block_size": 4, "num_experts": 8, "experts_per_token": 2, "expert_intermediate_size": 352, "shared_intermediate_size": 256, "latent_size": 256, "gate_multiplier": 2.0, "qk_norm": true, "attention_scalar_gate": true, "mlp_scalar_gate": true, "shared_expert_gate": true, "router_bias_speed": 0.001, "router_seq_aux_coef": 0.0001, "router_balance_scope": "global", "routed_scaling_factor": 1.0, "swiglu_limit": 10.0, "delta_conv_kernel": 4, "delta_backend": "auto", "expert_backend": "auto", "nope_layers": [], "delta_num_query_heads": 8, "delta_num_value_heads": 2, "moe_budget": "total", "pass2_router": false, "gdn_version": 1, "headwise_attention_gate": true, "decoder_ablation": "headgate_blockattnres", "linear_num_key_heads": 8, "linear_num_value_heads": 8, "linear_key_head_dim": 64, "linear_value_head_dim": 64, "linear_conv_kernel_dim": 4, "layers_block_type": [ "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "attention" ], "auto_map": { "AutoConfig": "configuration_kroha_routed_norm.KrohaRoutedNormConfig", "AutoModel": "modeling_kroha_routed_norm.KrohaRoutedNormModel", "AutoModelForCausalLM": "modeling_kroha_routed_norm.KrohaRoutedNormForCausalLM" }, "training_tokenizer_contract": { "version": 1, "vocab_size": 69650, "backend_sha256": "b7a96ed7050060b1fa1cbcdb25a9c0602d10ea417bb76ed8c844ee15626625aa", "chat_template_sha256": "5a3826a188af44bb579a40a257727bdc815cf91ffcd87ad03f0e7ef012f180dd", "special_ids": { "pad": 0, "bos": 1, "eos": 2, "unk": 3 }, "control_tokens": [ "", "", "", "", "<|im_start|>", "<|im_end|>", "", "", "", "", "<|fim_prefix|>", "<|fim_middle|>", "<|fim_suffix|>", "<|reserved_000|>", "<|reserved_001|>", "<|reserved_002|>", "<|reserved_003|>", "<|reserved_004|>", "<|reserved_005|>", "<|reserved_006|>", "<|reserved_007|>", "<|reserved_008|>", "<|reserved_009|>", "<|reserved_010|>", "<|reserved_011|>", "<|reserved_012|>", "<|reserved_013|>", "<|reserved_014|>", "<|reserved_015|>", "<|reserved_016|>", "<|reserved_017|>", "<|reserved_018|>", "<|reserved_019|>", "<|reserved_020|>", "<|reserved_021|>", "<|reserved_022|>", "<|reserved_023|>", "<|reserved_024|>", "<|reserved_025|>", "<|reserved_026|>", "<|reserved_027|>", "<|reserved_028|>", "<|reserved_029|>", "<|reserved_030|>", "<|reserved_031|>", "<|reserved_032|>", "<|reserved_033|>", "<|reserved_034|>", "<|reserved_035|>", "<|reserved_036|>", "<|reserved_037|>", "<|reserved_038|>", "<|reserved_039|>", "<|reserved_040|>", "<|reserved_041|>", "<|reserved_042|>", "<|reserved_043|>", "<|reserved_044|>", "<|reserved_045|>", "<|reserved_046|>", "<|reserved_047|>", "<|reserved_048|>", "<|reserved_049|>", "<|reserved_050|>", "", "" ], "raw_encoding": "bypass-all-added-token-matchers-v1", "fingerprint": "f3b8d81cae428b64b45bf907b426397d7119ce9fa859d42b58655712ef989336" }, "dna_config": { "version": "b64-dna6-v3", "base_vocabulary_size": 65536, "vocab_size": 69650, "k": 6, "canonical_alphabet": "ACGT", "fallback_alphabet": "ACGTURYSWKMBDHVN", "begin_id": 65536, "end_id": 65537, "kmer_id_start": 65538, "kmer_count": 4096, "base_id_start": 69634, "base_count": 16, "canonical_order": "itertools.product(ACGT, repeat=6), lexicographic", "raw_text_default": true, "auto_detection": false, "normalization": "identity", "fallback": "Each noncanonical six-character block/short tail is encoded character by character; uppercase IUPAC gets DNA symbols; other characters use unchanged raw BPE", "offsets": "Unicode character offsets and IUPAC-base offsets; gaps/layout have zero bp width", "decoder": "Native Tokenizers Replace-per-piece then unchanged ByteLevel; no remote/custom decoder", "encoding_entrypoint": "tiny_llm.dna.DNACodec", "chat": "Same text chat template; DNACodec.encode enables tagged DNA/spans and preserves assistant masks", "reserve": "Original 51 reserved IDs remain unchanged and unconsumed", "FNS": "Not implemented; offsets and DNA ID ranges exposed for future training integration", "future_model_scope": "New vocabulary requires matching embedding/head rows; does not migrate old weights" }, "training_ce_backend": "fla", "packed_attention_backend": "fa4", "training_kroha_runtime": "fused", "training_expert_runtime_contract": { "runtime": "sonic", "activation": "native-compiled-swiglu-bf16-boundaries", "revision": "7396f3e604827d8186c2e16e64b28ee33d3defd0", "sources": { "sonicmoe/__init__.py": "3f3f19d7cc6a743e4553e1e86137f320f310c3e0753d627d23463f95bc85260d", "sonicmoe/enums.py": "2ad1f833809a16ffc6bac4a366bd3bace7cef52c7955cd8054e450b0f04c342d", "sonicmoe/functional/__init__.py": "af41a42d8fe5722615a4a1f2ce4157c992ef1fff4aaadc7fc9adec9097800a35", "sonicmoe/functional/backward.py": "da559f5d342d01bb7f0c3602804d135ccbf273028085795a1f0e1d7e274c2e64", "sonicmoe/functional/forward.py": "ab81bd844e862a200cb89beebac021f73b6347906fe970b95a31456a17d7459a", "sonicmoe/functional/reduction_over_k_gather.py": "7c16136876c74d7a65ee2d9db49d489cd221d0f229c5f13ee889af3e835c39a5", "sonicmoe/functional/topk.py": "c3fcc7e28466a60dd164890ea259bc438a6d4171ec6fa6bdd35f63537fed0fba", "sonicmoe/functional/triton_kernels/__init__.py": "d84e207b63f5b44692e7ddec7b23ecdcaa55f9c104da10200d83b42cf47d9501", "sonicmoe/functional/triton_kernels/bitmatrix.py": "909f9522bd3b9f47b8f3e5d01d28106cb9e671180567dd4cdcd214c4d3788702", "sonicmoe/jit.py": "a64a3b2e4b6d91a6fed180d49176c000ddc8ff232f4e7c3b7768c913ace697e8", "sonicmoe/moe.py": "2433ad3f03619dafdeda8a36a294b38ab738e44e859b83505065e1297bc1493d", "sonicmoe/utils.py": "9a081b4a94981502094f262071c9e0badfd278ad80a897d25cbd7f08c67c5723" }, "quack_patch_sha256": "d800420389640b22322f185ab778df74e9b0ab429dd6c8ff9a393c9176b29e80", "packages": { "torch": "2.11.0+cu128", "transformers": "5.17.0", "triton": "3.6.0", "quack-kernels": "0.6.5", "nvidia-cutlass-dsl": "4.8.0", "sonic-moe": "0.1.2.post1" } }, "training_optimizer_contract": { "version": 1, "algorithm": "muon-expertwise-router-adamw-v1", "partition": [ { "name": "model.embed_tokens.weight", "shape": [ 69650, 512 ], "kind": "adamw_decay" }, { "name": "model.prelude.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.prelude.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.prelude.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.prelude.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.prelude.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.prelude.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.prelude.mlp.gate_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "model.prelude.mlp.up_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "model.prelude.mlp.down_proj.weight", "shape": [ 512, 1792 ], "kind": "muon" }, { "name": "model.prelude.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.prelude.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.self_attn.A_log", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.self_attn.dt_bias", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.z_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.a_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.b_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.conv1d.weight", "shape": [ 768, 1, 4 ], "kind": "adamw_decay" }, { "name": "model.layers.0.self_attn.gated_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.0.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.0.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.0.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.0.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.0.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.0.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.0.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.0.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.0.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.0.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.0.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.0.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.0.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.0.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.1.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.1.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.1.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.1.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.1.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.1.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.1.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.1.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.1.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.1.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.1.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.1.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.1.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.1.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.1.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.1.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.1.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.1.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.1.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.self_attn.A_log", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.self_attn.dt_bias", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.z_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.a_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.b_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.conv1d.weight", "shape": [ 768, 1, 4 ], "kind": "adamw_decay" }, { "name": "model.layers.2.self_attn.gated_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.2.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.2.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.2.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.2.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.2.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.2.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.2.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.2.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.2.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.2.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.2.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.2.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.2.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.2.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.3.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.3.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.3.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.3.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.3.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.3.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.3.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.3.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.3.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.3.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.3.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.3.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.3.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.3.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.3.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.3.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.3.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.3.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.3.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.self_attn.A_log", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.self_attn.dt_bias", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.z_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.a_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.b_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.conv1d.weight", "shape": [ 768, 1, 4 ], "kind": "adamw_decay" }, { "name": "model.layers.4.self_attn.gated_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.4.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.4.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.4.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.4.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.4.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.4.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.4.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.4.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.4.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.4.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.4.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.4.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.4.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.4.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.5.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.5.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.5.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.5.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.5.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.5.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.5.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.5.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.5.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.5.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.5.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.5.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.5.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.5.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.5.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.5.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.5.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.5.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.5.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.self_attn.A_log", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.self_attn.dt_bias", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.z_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.a_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.b_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.conv1d.weight", "shape": [ 768, 1, 4 ], "kind": "adamw_decay" }, { "name": "model.layers.6.self_attn.gated_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.6.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.6.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.6.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.6.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.6.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.6.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.6.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.6.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.6.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.6.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.6.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.6.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.6.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.6.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.7.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.7.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.7.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.7.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.7.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.7.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.7.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.7.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.7.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.7.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.7.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.7.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.7.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.7.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.7.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.7.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.7.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.7.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.7.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.coda.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.coda.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.coda.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.coda.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.coda.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.coda.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.coda.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.coda.mlp.gate_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "model.coda.mlp.up_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "model.coda.mlp.down_proj.weight", "shape": [ 512, 1792 ], "kind": "muon" }, { "name": "model.coda.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.coda.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.output_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.output_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "mtp.hidden_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "mtp.embedding_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "mtp.projection.weight", "shape": [ 512, 1024 ], "kind": "muon" }, { "name": "mtp.attention_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "mtp.attention.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "mtp.attention.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "mtp.attention.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "mtp.attention.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "mtp.attention.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "mtp.attention.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "mtp.attention.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "mtp.attention.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "mtp.mlp_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "mtp.mlp.gate_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "mtp.mlp.up_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "mtp.mlp.down_proj.weight", "shape": [ 512, 1792 ], "kind": "muon" }, { "name": "mtp.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "mtp.output_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" } ], "lr": 0.001, "muon_lr": 0.001, "weight_decay": 0.1, "betas": [ 0.9, 0.95 ], "momentum": 0.95, "ns_steps": 5, "nesterov": true, "eps": 1e-07, "ns_coefficients": [ 3.4445, -4.775, 2.0315 ], "adjust_lr_fn": "match_rms_adamw", "router_parameters": [ "model.layers.0.mlp.router.weight", "model.layers.1.mlp.router.weight", "model.layers.2.mlp.router.weight", "model.layers.3.mlp.router.weight", "model.layers.4.mlp.router.weight", "model.layers.5.mlp.router.weight", "model.layers.6.mlp.router.weight", "model.layers.7.mlp.router.weight" ] }, "training_pretrain_contract": { "data": { "version": 1, "stage": "pretrain", "context": 2048, "global_batch_positions": 262144, "source_tokens": 30000000000, "global_batches": 114442, "ready_sha256": "973a4838667b92494e5fe0c1acf9e22487bd49db5037f157567e03a9caa3a780", "manifest_sha256": "b0dabb90d5dd0a86321370af42de14f5c3f33bc5e92b475a32c5d964766518b4", "tokenizer_sha256": "4e60b1fae62473ac658fea33fe68acfd8aeb3a2b6dc31bca3169356e4c072dd9", "recipe_sha256": "e76fcfb70207ef516cf82d3d15234a4b725da5644aad371a4271c5696bc8c185", "validation_sha256": "5abea73d87a8d95959df1b8cdb672d1ba9ca4751fd71a79f1a4676c6ef92c9c1" }, "profile": { "stage": "pretrain", "microbatch": 32, "checkpoint_policy": "core", "runtime": "fused", "dtype": "bf16", "optimizer": "muon", "lr": 0.001, "muon_lr": 0.001, "muon_momentum": 0.95, "muon_ns_steps": 5, "muon_adjust_lr": "match_rms_adamw", "weight_decay": 0.1, "betas": [ 0.9, 0.95 ], "grad_clip": 1.0, "warmup_frac": 0.01, "min_lr_frac": 0.1, "compile_pointwise": true, "compile_optimizer": true, "ce_backend": "fla", "ce_chunk": 4096, "prefetch": true, "cpu_threads": 4, "allocator_fraction": 0.95, "seed": 2026, "save_steps": 500, "log_every": 20, "expert_runtime": "sonic", "model_type": "kroha_routed_norm", "mtp": true, "mtp_ce": "tc" }, "loss_definition": "CE=sum valid causal token NLL/global valid targets; buffered global LBL=equal microbatch mean; no document-start/padding targets + 0.3 * (sum t+2 NLL/global valid t+2 targets), with document-local teacher forcing" }, "model_type": "kroha_routed_norm", "output_attentions": false }, "parameters": 75625680, "kind": "causal", "torch": "2.11.0+cu128", "python": "3.12.3", "loss_definition": "CE=sum valid causal token NLL/global valid targets; buffered global LBL=equal microbatch mean; no document-start/padding targets + 0.3 * (sum t+2 NLL/global valid t+2 targets), with document-local teacher forcing", "git_commit": "b6d0231ffbd5b6b566df397016b433e2dc8eb6da" }, { "step": 1737, "args": { "stage": "pretrain", "microbatch": 32, "checkpoint_policy": "core", "runtime": "fused", "dtype": "bf16", "optimizer": "muon", "lr": 0.001, "muon_lr": 0.001, "muon_momentum": 0.95, "muon_ns_steps": 5, "muon_adjust_lr": "match_rms_adamw", "weight_decay": 0.1, "betas": [ 0.9, 0.95 ], "grad_clip": 1.0, "warmup_frac": 0.01, "min_lr_frac": 0.1, "compile_pointwise": true, "compile_optimizer": true, "ce_backend": "fla", "ce_chunk": 4096, "prefetch": true, "cpu_threads": 4, "allocator_fraction": 0.95, "seed": 2026, "save_steps": 500, "log_every": 20, "expert_runtime": "sonic", "model_type": "kroha_routed_norm", "mtp": true, "mtp_ce": "tc" }, "model_config": { "routed_output_norm": true, "router_optimizer": "adamw", "transformers_version": "5.17.0", "architectures": [ "KrohaRoutedNormForCausalLM" ], "output_hidden_states": false, "return_dict": true, "dtype": "float32", "chunk_size_feed_forward": 0, "is_encoder_decoder": false, "id2label": { "0": "LABEL_0", "1": "LABEL_1" }, "label2id": { "LABEL_0": 0, "LABEL_1": 1 }, "problem_type": null, "vocab_size": 69650, "hidden_size": 512, "intermediate_size": 1792, "num_hidden_layers": 18, "num_attention_heads": 8, "num_key_value_heads": 2, "hidden_act": "silu", "max_position_embeddings": 2048, "initializer_range": 0.02, "rms_norm_eps": 1e-05, "use_cache": true, "pad_token_id": 0, "bos_token_id": 1, "eos_token_id": 2, "pretraining_tp": 1, "tie_word_embeddings": true, "rope_parameters": { "rope_theta": 10000.0, "rope_type": "default" }, "attention_bias": false, "attention_dropout": 0.0, "mlp_bias": false, "head_dim": 64, "_name_or_path": "/mnt/d/Projects/tiny_llm/runs/kroha-routed-norm-mtp-curriculum-36b-v1/pretrain/checkpoint-last", "decoder_ablation": "headgate_blockattnres", "dna_config": { "FNS": "Not implemented; offsets and DNA ID ranges exposed for future training integration", "auto_detection": false, "base_count": 16, "base_id_start": 69634, "base_vocabulary_size": 65536, "begin_id": 65536, "canonical_alphabet": "ACGT", "canonical_order": "itertools.product(ACGT, repeat=6), lexicographic", "chat": "Same text chat template; DNACodec.encode enables tagged DNA/spans and preserves assistant masks", "decoder": "Native Tokenizers Replace-per-piece then unchanged ByteLevel; no remote/custom decoder", "encoding_entrypoint": "tiny_llm.dna.DNACodec", "end_id": 65537, "fallback": "Each noncanonical six-character block/short tail is encoded character by character; uppercase IUPAC gets DNA symbols; other characters use unchanged raw BPE", "fallback_alphabet": "ACGTURYSWKMBDHVN", "future_model_scope": "New vocabulary requires matching embedding/head rows; does not migrate old weights", "k": 6, "kmer_count": 4096, "kmer_id_start": 65538, "normalization": "identity", "offsets": "Unicode character offsets and IUPAC-base offsets; gaps/layout have zero bp width", "raw_text_default": true, "reserve": "Original 51 reserved IDs remain unchanged and unconsumed", "version": "b64-dna6-v3", "vocab_size": 69650 }, "layers_block_type": [ "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "attention" ], "linear_conv_kernel_dim": 4, "linear_key_head_dim": 64, "linear_num_key_heads": 8, "linear_num_value_heads": 8, "linear_value_head_dim": 64, "packed_attention_backend": "fa4", "training_ce_backend": "fla", "training_expert_runtime_contract": { "runtime": "sonic", "activation": "native-compiled-swiglu-bf16-boundaries", "revision": "7396f3e604827d8186c2e16e64b28ee33d3defd0", "sources": { "sonicmoe/__init__.py": "3f3f19d7cc6a743e4553e1e86137f320f310c3e0753d627d23463f95bc85260d", "sonicmoe/enums.py": "2ad1f833809a16ffc6bac4a366bd3bace7cef52c7955cd8054e450b0f04c342d", "sonicmoe/functional/__init__.py": "af41a42d8fe5722615a4a1f2ce4157c992ef1fff4aaadc7fc9adec9097800a35", "sonicmoe/functional/backward.py": "da559f5d342d01bb7f0c3602804d135ccbf273028085795a1f0e1d7e274c2e64", "sonicmoe/functional/forward.py": "ab81bd844e862a200cb89beebac021f73b6347906fe970b95a31456a17d7459a", "sonicmoe/functional/reduction_over_k_gather.py": "7c16136876c74d7a65ee2d9db49d489cd221d0f229c5f13ee889af3e835c39a5", "sonicmoe/functional/topk.py": "c3fcc7e28466a60dd164890ea259bc438a6d4171ec6fa6bdd35f63537fed0fba", "sonicmoe/functional/triton_kernels/__init__.py": "d84e207b63f5b44692e7ddec7b23ecdcaa55f9c104da10200d83b42cf47d9501", "sonicmoe/functional/triton_kernels/bitmatrix.py": "909f9522bd3b9f47b8f3e5d01d28106cb9e671180567dd4cdcd214c4d3788702", "sonicmoe/jit.py": "a64a3b2e4b6d91a6fed180d49176c000ddc8ff232f4e7c3b7768c913ace697e8", "sonicmoe/moe.py": "2433ad3f03619dafdeda8a36a294b38ab738e44e859b83505065e1297bc1493d", "sonicmoe/utils.py": "9a081b4a94981502094f262071c9e0badfd278ad80a897d25cbd7f08c67c5723" }, "quack_patch_sha256": "d800420389640b22322f185ab778df74e9b0ab429dd6c8ff9a393c9176b29e80", "packages": { "torch": "2.11.0+cu128", "transformers": "5.17.0", "triton": "3.6.0", "quack-kernels": "0.6.5", "nvidia-cutlass-dsl": "4.8.0", "sonic-moe": "0.1.2.post1" } }, "training_kroha_runtime": "fused", "training_optimizer_contract": { "version": 1, "algorithm": "muon-expertwise-router-adamw-v1", "partition": [ { "name": "model.embed_tokens.weight", "shape": [ 69650, 512 ], "kind": "adamw_decay" }, { "name": "model.prelude.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.prelude.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.prelude.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.prelude.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.prelude.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.prelude.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.prelude.mlp.gate_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "model.prelude.mlp.up_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "model.prelude.mlp.down_proj.weight", "shape": [ 512, 1792 ], "kind": "muon" }, { "name": "model.prelude.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.prelude.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.self_attn.A_log", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.self_attn.dt_bias", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.z_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.a_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.b_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.conv1d.weight", "shape": [ 768, 1, 4 ], "kind": "adamw_decay" }, { "name": "model.layers.0.self_attn.gated_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.0.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.0.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.0.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.0.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.0.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.0.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.0.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.0.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.0.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.0.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.0.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.0.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.0.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.0.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.1.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.1.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.1.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.1.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.1.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.1.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.1.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.1.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.1.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.1.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.1.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.1.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.1.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.1.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.1.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.1.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.1.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.1.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.1.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.self_attn.A_log", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.self_attn.dt_bias", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.z_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.a_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.b_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.conv1d.weight", "shape": [ 768, 1, 4 ], "kind": "adamw_decay" }, { "name": "model.layers.2.self_attn.gated_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.2.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.2.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.2.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.2.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.2.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.2.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.2.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.2.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.2.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.2.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.2.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.2.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.2.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.2.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.3.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.3.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.3.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.3.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.3.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.3.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.3.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.3.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.3.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.3.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.3.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.3.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.3.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.3.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.3.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.3.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.3.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.3.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.3.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.self_attn.A_log", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.self_attn.dt_bias", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.z_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.a_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.b_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.conv1d.weight", "shape": [ 768, 1, 4 ], "kind": "adamw_decay" }, { "name": "model.layers.4.self_attn.gated_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.4.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.4.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.4.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.4.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.4.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.4.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.4.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.4.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.4.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.4.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.4.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.4.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.4.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.4.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.5.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.5.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.5.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.5.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.5.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.5.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.5.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.5.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.5.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.5.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.5.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.5.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.5.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.5.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.5.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.5.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.5.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.5.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.5.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.self_attn.A_log", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.self_attn.dt_bias", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.z_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.a_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.b_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.conv1d.weight", "shape": [ 768, 1, 4 ], "kind": "adamw_decay" }, { "name": "model.layers.6.self_attn.gated_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.6.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.6.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.6.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.6.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.6.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.6.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.6.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.6.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.6.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.6.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.6.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.6.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.6.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.6.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.7.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.7.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.7.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.7.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.7.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.7.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.7.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.7.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.7.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.7.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.7.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.7.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.7.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.7.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.7.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.7.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.7.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.7.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.7.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.coda.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.coda.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.coda.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.coda.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.coda.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.coda.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.coda.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.coda.mlp.gate_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "model.coda.mlp.up_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "model.coda.mlp.down_proj.weight", "shape": [ 512, 1792 ], "kind": "muon" }, { "name": "model.coda.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.coda.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.output_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.output_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "mtp.hidden_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "mtp.embedding_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "mtp.projection.weight", "shape": [ 512, 1024 ], "kind": "muon" }, { "name": "mtp.attention_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "mtp.attention.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "mtp.attention.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "mtp.attention.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "mtp.attention.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "mtp.attention.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "mtp.attention.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "mtp.attention.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "mtp.attention.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "mtp.mlp_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "mtp.mlp.gate_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "mtp.mlp.up_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "mtp.mlp.down_proj.weight", "shape": [ 512, 1792 ], "kind": "muon" }, { "name": "mtp.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "mtp.output_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" } ], "lr": 0.001, "muon_lr": 0.001, "weight_decay": 0.1, "betas": [ 0.9, 0.95 ], "momentum": 0.95, "ns_steps": 5, "nesterov": true, "eps": 1e-07, "ns_coefficients": [ 3.4445, -4.775, 2.0315 ], "adjust_lr_fn": "match_rms_adamw", "router_parameters": [ "model.layers.0.mlp.router.weight", "model.layers.1.mlp.router.weight", "model.layers.2.mlp.router.weight", "model.layers.3.mlp.router.weight", "model.layers.4.mlp.router.weight", "model.layers.5.mlp.router.weight", "model.layers.6.mlp.router.weight", "model.layers.7.mlp.router.weight" ] }, "training_pretrain_contract": { "data": { "version": 1, "stage": "pretrain", "context": 2048, "global_batch_positions": 262144, "source_tokens": 30000000000, "global_batches": 114442, "ready_sha256": "973a4838667b92494e5fe0c1acf9e22487bd49db5037f157567e03a9caa3a780", "manifest_sha256": "b0dabb90d5dd0a86321370af42de14f5c3f33bc5e92b475a32c5d964766518b4", "tokenizer_sha256": "4e60b1fae62473ac658fea33fe68acfd8aeb3a2b6dc31bca3169356e4c072dd9", "recipe_sha256": "e76fcfb70207ef516cf82d3d15234a4b725da5644aad371a4271c5696bc8c185", "validation_sha256": "5abea73d87a8d95959df1b8cdb672d1ba9ca4751fd71a79f1a4676c6ef92c9c1" }, "profile": { "stage": "pretrain", "microbatch": 32, "checkpoint_policy": "core", "runtime": "fused", "dtype": "bf16", "optimizer": "muon", "lr": 0.001, "muon_lr": 0.001, "muon_momentum": 0.95, "muon_ns_steps": 5, "muon_adjust_lr": "match_rms_adamw", "weight_decay": 0.1, "betas": [ 0.9, 0.95 ], "grad_clip": 1.0, "warmup_frac": 0.01, "min_lr_frac": 0.1, "compile_pointwise": true, "compile_optimizer": true, "ce_backend": "fla", "ce_chunk": 4096, "prefetch": true, "cpu_threads": 4, "allocator_fraction": 0.95, "seed": 2026, "save_steps": 500, "log_every": 20, "expert_runtime": "sonic", "model_type": "kroha_routed_norm", "mtp": true, "mtp_ce": "tc" }, "loss_definition": "CE=sum valid causal token NLL/global valid targets; buffered global LBL=equal microbatch mean; no document-start/padding targets + 0.3 * (sum t+2 NLL/global valid t+2 targets), with document-local teacher forcing" }, "training_tokenizer_contract": { "backend_sha256": "b7a96ed7050060b1fa1cbcdb25a9c0602d10ea417bb76ed8c844ee15626625aa", "chat_template_sha256": "5a3826a188af44bb579a40a257727bdc815cf91ffcd87ad03f0e7ef012f180dd", "control_tokens": [ "", "", "", "", "<|im_start|>", "<|im_end|>", "", "", "", "", "<|fim_prefix|>", "<|fim_middle|>", "<|fim_suffix|>", "<|reserved_000|>", "<|reserved_001|>", "<|reserved_002|>", "<|reserved_003|>", "<|reserved_004|>", "<|reserved_005|>", "<|reserved_006|>", "<|reserved_007|>", "<|reserved_008|>", "<|reserved_009|>", "<|reserved_010|>", "<|reserved_011|>", "<|reserved_012|>", "<|reserved_013|>", "<|reserved_014|>", "<|reserved_015|>", "<|reserved_016|>", "<|reserved_017|>", "<|reserved_018|>", "<|reserved_019|>", "<|reserved_020|>", "<|reserved_021|>", "<|reserved_022|>", "<|reserved_023|>", "<|reserved_024|>", "<|reserved_025|>", "<|reserved_026|>", "<|reserved_027|>", "<|reserved_028|>", "<|reserved_029|>", "<|reserved_030|>", "<|reserved_031|>", "<|reserved_032|>", "<|reserved_033|>", "<|reserved_034|>", "<|reserved_035|>", "<|reserved_036|>", "<|reserved_037|>", "<|reserved_038|>", "<|reserved_039|>", "<|reserved_040|>", "<|reserved_041|>", "<|reserved_042|>", "<|reserved_043|>", "<|reserved_044|>", "<|reserved_045|>", "<|reserved_046|>", "<|reserved_047|>", "<|reserved_048|>", "<|reserved_049|>", "<|reserved_050|>", "", "" ], "fingerprint": "f3b8d81cae428b64b45bf907b426397d7119ce9fa859d42b58655712ef989336", "raw_encoding": "bypass-all-added-token-matchers-v1", "special_ids": { "bos": 1, "eos": 2, "pad": 0, "unk": 3 }, "version": 1, "vocab_size": 69650 }, "num_core_layers": 8, "num_passes": 2, "layer_types": [ "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "full_attention" ], "relaxed": true, "lora_rank": 16, "lora_alpha": 16, "attnres_block_size": 4, "num_experts": 8, "experts_per_token": 2, "expert_intermediate_size": 352, "shared_intermediate_size": 256, "latent_size": 256, "gate_multiplier": 2.0, "qk_norm": true, "attention_scalar_gate": true, "mlp_scalar_gate": true, "shared_expert_gate": true, "router_bias_speed": 0.001, "router_seq_aux_coef": 0.0001, "router_balance_scope": "global", "routed_scaling_factor": 1.0, "swiglu_limit": 10.0, "delta_conv_kernel": 4, "delta_backend": "auto", "expert_backend": "auto", "nope_layers": [], "delta_num_query_heads": 8, "delta_num_value_heads": 2, "moe_budget": "total", "pass2_router": false, "gdn_version": 1, "headwise_attention_gate": true, "auto_map": { "AutoConfig": "configuration_kroha_routed_norm.KrohaRoutedNormConfig", "AutoModel": "modeling_kroha_routed_norm.KrohaRoutedNormModel", "AutoModelForCausalLM": "modeling_kroha_routed_norm.KrohaRoutedNormForCausalLM" }, "model_type": "kroha_routed_norm", "output_attentions": false }, "parameters": 75625680, "kind": "causal", "torch": "2.11.0+cu128", "python": "3.12.3", "loss_definition": "CE=sum valid causal token NLL/global valid targets; buffered global LBL=equal microbatch mean; no document-start/padding targets + 0.3 * (sum t+2 NLL/global valid t+2 targets), with document-local teacher forcing", "git_commit": "b6d0231ffbd5b6b566df397016b433e2dc8eb6da" } ] }, "powerup_2x": { "step": 11446, "source_tokens": 3000000000, "resume_state_complete": true, "scheduler": { "kind": "cosine", "next_step": 11446, "total_steps": 11446, "warmup_steps": 114, "lr": 0.0001, "min_lr_frac": 0.1 }, "data_state": { "next_global_batch": 11446, "stage": "powerup_2x", "prefetch_replay": "immutable-next-batch" }, "raw_events": [ { "path": "powerup_2x/tb/events.out.tfevents.1795214806.DESKTOP-OU3A33R.1431865.0", "loss_points": 340, "first_step": 20, "last_step": 6782 }, { "path": "powerup_2x/tb/events.out.tfevents.1795295344.DESKTOP-OU3A33R.1440174.0", "loss_points": 234, "first_step": 6800, "last_step": 11446 } ], "loss_points": 574, "missing_expected_steps": [], "original_run_metadata": [ { "step": 0, "args": { "stage": "powerup_2x", "microbatch": 16, "checkpoint_policy": "core", "runtime": "fused", "dtype": "bf16", "optimizer": "muon", "lr": 0.001, "muon_lr": 0.001, "muon_momentum": 0.95, "muon_ns_steps": 5, "muon_adjust_lr": "match_rms_adamw", "weight_decay": 0.1, "betas": [ 0.9, 0.95 ], "grad_clip": 1.0, "warmup_frac": 0.01, "min_lr_frac": 0.1, "compile_pointwise": true, "compile_optimizer": true, "ce_backend": "fla", "ce_chunk": 4096, "prefetch": true, "cpu_threads": 4, "allocator_fraction": 0.95, "seed": 2026, "save_steps": 500, "log_every": 20, "expert_runtime": "sonic", "model_type": "kroha_routed_norm", "schedule_lr": 0.0001, "mtp": true, "mtp_ce": "tc" }, "model_config": { "routed_output_norm": true, "router_optimizer": "adamw", "transformers_version": "5.17.0", "architectures": [ "KrohaRoutedNormForCausalLM" ], "output_hidden_states": false, "return_dict": true, "dtype": "float32", "chunk_size_feed_forward": 0, "is_encoder_decoder": false, "id2label": { "0": "LABEL_0", "1": "LABEL_1" }, "label2id": { "LABEL_0": 0, "LABEL_1": 1 }, "problem_type": null, "vocab_size": 69650, "hidden_size": 512, "intermediate_size": 1792, "num_hidden_layers": 18, "num_attention_heads": 8, "num_key_value_heads": 2, "hidden_act": "silu", "max_position_embeddings": 4096, "initializer_range": 0.02, "rms_norm_eps": 1e-05, "use_cache": true, "pad_token_id": 0, "bos_token_id": 1, "eos_token_id": 2, "pretraining_tp": 1, "tie_word_embeddings": true, "rope_parameters": { "rope_type": "default", "rope_theta": 10000.0 }, "attention_bias": false, "attention_dropout": 0.0, "mlp_bias": false, "head_dim": 64, "_name_or_path": "/mnt/d/Projects/tiny_llm/runs/kroha-routed-norm-mtp-curriculum-36b-v1/pretrain/checkpoint-last", "num_core_layers": 8, "num_passes": 2, "layer_types": [ "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "full_attention" ], "relaxed": true, "lora_rank": 16, "lora_alpha": 16, "attnres_block_size": 4, "num_experts": 8, "experts_per_token": 2, "expert_intermediate_size": 352, "shared_intermediate_size": 256, "latent_size": 256, "gate_multiplier": 2.0, "qk_norm": true, "attention_scalar_gate": true, "mlp_scalar_gate": true, "shared_expert_gate": true, "router_bias_speed": 0.001, "router_seq_aux_coef": 0.0001, "router_balance_scope": "global", "routed_scaling_factor": 1.0, "swiglu_limit": 10.0, "delta_conv_kernel": 4, "delta_backend": "auto", "expert_backend": "auto", "nope_layers": [], "delta_num_query_heads": 8, "delta_num_value_heads": 2, "moe_budget": "total", "pass2_router": false, "gdn_version": 1, "headwise_attention_gate": true, "decoder_ablation": "headgate_blockattnres", "linear_num_key_heads": 8, "linear_num_value_heads": 8, "linear_key_head_dim": 64, "linear_value_head_dim": 64, "linear_conv_kernel_dim": 4, "layers_block_type": [ "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "attention" ], "auto_map": { "AutoConfig": "configuration_kroha_routed_norm.KrohaRoutedNormConfig", "AutoModel": "modeling_kroha_routed_norm.KrohaRoutedNormModel", "AutoModelForCausalLM": "modeling_kroha_routed_norm.KrohaRoutedNormForCausalLM" }, "training_tokenizer_contract": { "version": 1, "vocab_size": 69650, "backend_sha256": "b7a96ed7050060b1fa1cbcdb25a9c0602d10ea417bb76ed8c844ee15626625aa", "chat_template_sha256": "5a3826a188af44bb579a40a257727bdc815cf91ffcd87ad03f0e7ef012f180dd", "special_ids": { "pad": 0, "bos": 1, "eos": 2, "unk": 3 }, "control_tokens": [ "", "", "", "", "<|im_start|>", "<|im_end|>", "", "", "", "", "<|fim_prefix|>", "<|fim_middle|>", "<|fim_suffix|>", "<|reserved_000|>", "<|reserved_001|>", "<|reserved_002|>", "<|reserved_003|>", "<|reserved_004|>", "<|reserved_005|>", "<|reserved_006|>", "<|reserved_007|>", "<|reserved_008|>", "<|reserved_009|>", "<|reserved_010|>", "<|reserved_011|>", "<|reserved_012|>", "<|reserved_013|>", "<|reserved_014|>", "<|reserved_015|>", "<|reserved_016|>", "<|reserved_017|>", "<|reserved_018|>", "<|reserved_019|>", "<|reserved_020|>", "<|reserved_021|>", "<|reserved_022|>", "<|reserved_023|>", "<|reserved_024|>", "<|reserved_025|>", "<|reserved_026|>", "<|reserved_027|>", "<|reserved_028|>", "<|reserved_029|>", "<|reserved_030|>", "<|reserved_031|>", "<|reserved_032|>", "<|reserved_033|>", "<|reserved_034|>", "<|reserved_035|>", "<|reserved_036|>", "<|reserved_037|>", "<|reserved_038|>", "<|reserved_039|>", "<|reserved_040|>", "<|reserved_041|>", "<|reserved_042|>", "<|reserved_043|>", "<|reserved_044|>", "<|reserved_045|>", "<|reserved_046|>", "<|reserved_047|>", "<|reserved_048|>", "<|reserved_049|>", "<|reserved_050|>", "", "" ], "raw_encoding": "bypass-all-added-token-matchers-v1", "fingerprint": "f3b8d81cae428b64b45bf907b426397d7119ce9fa859d42b58655712ef989336" }, "dna_config": { "version": "b64-dna6-v3", "base_vocabulary_size": 65536, "vocab_size": 69650, "k": 6, "canonical_alphabet": "ACGT", "fallback_alphabet": "ACGTURYSWKMBDHVN", "begin_id": 65536, "end_id": 65537, "kmer_id_start": 65538, "kmer_count": 4096, "base_id_start": 69634, "base_count": 16, "canonical_order": "itertools.product(ACGT, repeat=6), lexicographic", "raw_text_default": true, "auto_detection": false, "normalization": "identity", "fallback": "Each noncanonical six-character block/short tail is encoded character by character; uppercase IUPAC gets DNA symbols; other characters use unchanged raw BPE", "offsets": "Unicode character offsets and IUPAC-base offsets; gaps/layout have zero bp width", "decoder": "Native Tokenizers Replace-per-piece then unchanged ByteLevel; no remote/custom decoder", "encoding_entrypoint": "tiny_llm.dna.DNACodec", "chat": "Same text chat template; DNACodec.encode enables tagged DNA/spans and preserves assistant masks", "reserve": "Original 51 reserved IDs remain unchanged and unconsumed", "FNS": "Not implemented; offsets and DNA ID ranges exposed for future training integration", "future_model_scope": "New vocabulary requires matching embedding/head rows; does not migrate old weights" }, "training_ce_backend": "fla", "packed_attention_backend": "fa4", "training_kroha_runtime": "fused", "training_expert_runtime_contract": { "runtime": "sonic", "activation": "native-compiled-swiglu-bf16-boundaries", "revision": "7396f3e604827d8186c2e16e64b28ee33d3defd0", "sources": { "sonicmoe/__init__.py": "3f3f19d7cc6a743e4553e1e86137f320f310c3e0753d627d23463f95bc85260d", "sonicmoe/enums.py": "2ad1f833809a16ffc6bac4a366bd3bace7cef52c7955cd8054e450b0f04c342d", "sonicmoe/functional/__init__.py": "af41a42d8fe5722615a4a1f2ce4157c992ef1fff4aaadc7fc9adec9097800a35", "sonicmoe/functional/backward.py": "da559f5d342d01bb7f0c3602804d135ccbf273028085795a1f0e1d7e274c2e64", "sonicmoe/functional/forward.py": "ab81bd844e862a200cb89beebac021f73b6347906fe970b95a31456a17d7459a", "sonicmoe/functional/reduction_over_k_gather.py": "7c16136876c74d7a65ee2d9db49d489cd221d0f229c5f13ee889af3e835c39a5", "sonicmoe/functional/topk.py": "c3fcc7e28466a60dd164890ea259bc438a6d4171ec6fa6bdd35f63537fed0fba", "sonicmoe/functional/triton_kernels/__init__.py": "d84e207b63f5b44692e7ddec7b23ecdcaa55f9c104da10200d83b42cf47d9501", "sonicmoe/functional/triton_kernels/bitmatrix.py": "909f9522bd3b9f47b8f3e5d01d28106cb9e671180567dd4cdcd214c4d3788702", "sonicmoe/jit.py": "a64a3b2e4b6d91a6fed180d49176c000ddc8ff232f4e7c3b7768c913ace697e8", "sonicmoe/moe.py": "2433ad3f03619dafdeda8a36a294b38ab738e44e859b83505065e1297bc1493d", "sonicmoe/utils.py": "9a081b4a94981502094f262071c9e0badfd278ad80a897d25cbd7f08c67c5723" }, "quack_patch_sha256": "d800420389640b22322f185ab778df74e9b0ab429dd6c8ff9a393c9176b29e80", "packages": { "torch": "2.11.0+cu128", "transformers": "5.17.0", "triton": "3.6.0", "quack-kernels": "0.6.5", "nvidia-cutlass-dsl": "4.8.0", "sonic-moe": "0.1.2.post1" } }, "training_optimizer_contract": { "version": 1, "algorithm": "muon-expertwise-router-adamw-v1", "partition": [ { "name": "model.embed_tokens.weight", "shape": [ 69650, 512 ], "kind": "adamw_decay" }, { "name": "model.prelude.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.prelude.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.prelude.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.prelude.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.prelude.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.prelude.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.prelude.mlp.gate_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "model.prelude.mlp.up_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "model.prelude.mlp.down_proj.weight", "shape": [ 512, 1792 ], "kind": "muon" }, { "name": "model.prelude.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.prelude.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.self_attn.A_log", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.self_attn.dt_bias", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.z_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.a_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.b_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.conv1d.weight", "shape": [ 768, 1, 4 ], "kind": "adamw_decay" }, { "name": "model.layers.0.self_attn.gated_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.0.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.0.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.0.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.0.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.0.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.0.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.0.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.0.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.0.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.0.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.0.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.0.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.0.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.0.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.1.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.1.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.1.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.1.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.1.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.1.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.1.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.1.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.1.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.1.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.1.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.1.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.1.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.1.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.1.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.1.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.1.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.1.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.1.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.self_attn.A_log", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.self_attn.dt_bias", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.z_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.a_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.b_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.conv1d.weight", "shape": [ 768, 1, 4 ], "kind": "adamw_decay" }, { "name": "model.layers.2.self_attn.gated_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.2.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.2.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.2.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.2.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.2.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.2.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.2.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.2.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.2.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.2.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.2.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.2.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.2.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.2.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.3.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.3.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.3.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.3.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.3.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.3.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.3.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.3.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.3.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.3.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.3.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.3.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.3.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.3.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.3.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.3.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.3.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.3.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.3.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.self_attn.A_log", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.self_attn.dt_bias", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.z_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.a_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.b_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.conv1d.weight", "shape": [ 768, 1, 4 ], "kind": "adamw_decay" }, { "name": "model.layers.4.self_attn.gated_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.4.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.4.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.4.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.4.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.4.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.4.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.4.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.4.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.4.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.4.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.4.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.4.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.4.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.4.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.5.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.5.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.5.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.5.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.5.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.5.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.5.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.5.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.5.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.5.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.5.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.5.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.5.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.5.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.5.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.5.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.5.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.5.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.5.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.self_attn.A_log", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.self_attn.dt_bias", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.z_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.a_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.b_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.conv1d.weight", "shape": [ 768, 1, 4 ], "kind": "adamw_decay" }, { "name": "model.layers.6.self_attn.gated_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.6.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.6.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.6.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.6.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.6.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.6.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.6.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.6.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.6.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.6.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.6.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.6.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.6.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.6.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.7.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.7.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.7.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.7.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.7.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.7.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.7.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.7.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.7.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.7.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.7.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.7.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.7.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.7.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.7.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.7.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.7.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.7.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.7.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.coda.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.coda.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.coda.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.coda.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.coda.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.coda.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.coda.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.coda.mlp.gate_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "model.coda.mlp.up_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "model.coda.mlp.down_proj.weight", "shape": [ 512, 1792 ], "kind": "muon" }, { "name": "model.coda.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.coda.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.output_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.output_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "mtp.hidden_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "mtp.embedding_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "mtp.projection.weight", "shape": [ 512, 1024 ], "kind": "muon" }, { "name": "mtp.attention_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "mtp.attention.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "mtp.attention.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "mtp.attention.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "mtp.attention.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "mtp.attention.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "mtp.attention.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "mtp.attention.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "mtp.attention.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "mtp.mlp_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "mtp.mlp.gate_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "mtp.mlp.up_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "mtp.mlp.down_proj.weight", "shape": [ 512, 1792 ], "kind": "muon" }, { "name": "mtp.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "mtp.output_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" } ], "lr": 0.001, "muon_lr": 0.001, "weight_decay": 0.1, "betas": [ 0.9, 0.95 ], "momentum": 0.95, "ns_steps": 5, "nesterov": true, "eps": 1e-07, "ns_coefficients": [ 3.4445, -4.775, 2.0315 ], "adjust_lr_fn": "match_rms_adamw", "router_parameters": [ "model.layers.0.mlp.router.weight", "model.layers.1.mlp.router.weight", "model.layers.2.mlp.router.weight", "model.layers.3.mlp.router.weight", "model.layers.4.mlp.router.weight", "model.layers.5.mlp.router.weight", "model.layers.6.mlp.router.weight", "model.layers.7.mlp.router.weight" ] }, "training_pretrain_contract": { "data": { "version": 1, "stage": "powerup_2x", "context": 4096, "global_batch_positions": 262144, "source_tokens": 3000000000, "global_batches": 11446, "ready_sha256": "973a4838667b92494e5fe0c1acf9e22487bd49db5037f157567e03a9caa3a780", "manifest_sha256": "b1dbb6907d479e1643f08ff6d2db3c83e6accfc20c620e4355e2bae35a33570c", "tokenizer_sha256": "4e60b1fae62473ac658fea33fe68acfd8aeb3a2b6dc31bca3169356e4c072dd9", "recipe_sha256": "e76fcfb70207ef516cf82d3d15234a4b725da5644aad371a4271c5696bc8c185", "validation_sha256": "5abea73d87a8d95959df1b8cdb672d1ba9ca4751fd71a79f1a4676c6ef92c9c1" }, "profile": { "stage": "powerup_2x", "microbatch": 16, "checkpoint_policy": "core", "runtime": "fused", "dtype": "bf16", "optimizer": "muon", "lr": 0.001, "muon_lr": 0.001, "muon_momentum": 0.95, "muon_ns_steps": 5, "muon_adjust_lr": "match_rms_adamw", "weight_decay": 0.1, "betas": [ 0.9, 0.95 ], "grad_clip": 1.0, "warmup_frac": 0.01, "min_lr_frac": 0.1, "compile_pointwise": true, "compile_optimizer": true, "ce_backend": "fla", "ce_chunk": 4096, "prefetch": true, "cpu_threads": 4, "allocator_fraction": 0.95, "seed": 2026, "save_steps": 500, "log_every": 20, "expert_runtime": "sonic", "model_type": "kroha_routed_norm", "schedule_lr": 0.0001, "mtp": true, "mtp_ce": "tc" }, "loss_definition": "CE=sum valid causal token NLL/global valid targets; buffered global LBL=equal microbatch mean; no document-start/padding targets + 0.3 * (sum t+2 NLL/global valid t+2 targets), with document-local teacher forcing" }, "training_stage_parent": { "stage": "pretrain", "step": 114442, "source_tokens": 30000000000, "train_state_sha256": "475b4ecf1d3f247daf762a89cd1335e39b897dc864c1dff421bc6d9f8e422bfa", "weights_sha256": { "model.safetensors": "0d60d14880d08c7cdd7609d2d38b6c752a2f6f0c322aa56869e8a910826a6803" } }, "model_type": "kroha_routed_norm", "output_attentions": false }, "parameters": 75625680, "kind": "causal", "torch": "2.11.0+cu128", "python": "3.12.3", "loss_definition": "CE=sum valid causal token NLL/global valid targets; buffered global LBL=equal microbatch mean; no document-start/padding targets + 0.3 * (sum t+2 NLL/global valid t+2 targets), with document-local teacher forcing", "git_commit": "f3c41635b70991b5a97d426b9ce3caa7011deae4" }, { "step": 6782, "args": { "stage": "powerup_2x", "microbatch": 16, "checkpoint_policy": "core", "runtime": "fused", "dtype": "bf16", "optimizer": "muon", "lr": 0.001, "muon_lr": 0.001, "muon_momentum": 0.95, "muon_ns_steps": 5, "muon_adjust_lr": "match_rms_adamw", "weight_decay": 0.1, "betas": [ 0.9, 0.95 ], "grad_clip": 1.0, "warmup_frac": 0.01, "min_lr_frac": 0.1, "compile_pointwise": true, "compile_optimizer": true, "ce_backend": "fla", "ce_chunk": 4096, "prefetch": true, "cpu_threads": 4, "allocator_fraction": 0.95, "seed": 2026, "save_steps": 500, "log_every": 20, "expert_runtime": "sonic", "model_type": "kroha_routed_norm", "schedule_lr": 0.0001, "mtp": true, "mtp_ce": "tc" }, "model_config": { "routed_output_norm": true, "router_optimizer": "adamw", "transformers_version": "5.17.0", "architectures": [ "KrohaRoutedNormForCausalLM" ], "output_hidden_states": false, "return_dict": true, "dtype": "float32", "chunk_size_feed_forward": 0, "is_encoder_decoder": false, "id2label": { "0": "LABEL_0", "1": "LABEL_1" }, "label2id": { "LABEL_0": 0, "LABEL_1": 1 }, "problem_type": null, "vocab_size": 69650, "hidden_size": 512, "intermediate_size": 1792, "num_hidden_layers": 18, "num_attention_heads": 8, "num_key_value_heads": 2, "hidden_act": "silu", "max_position_embeddings": 4096, "initializer_range": 0.02, "rms_norm_eps": 1e-05, "use_cache": true, "pad_token_id": 0, "bos_token_id": 1, "eos_token_id": 2, "pretraining_tp": 1, "tie_word_embeddings": true, "rope_parameters": { "rope_theta": 10000.0, "rope_type": "default" }, "attention_bias": false, "attention_dropout": 0.0, "mlp_bias": false, "head_dim": 64, "_name_or_path": "/mnt/d/Projects/tiny_llm/runs/kroha-routed-norm-mtp-curriculum-36b-v1/powerup_2x/checkpoint-last", "decoder_ablation": "headgate_blockattnres", "dna_config": { "FNS": "Not implemented; offsets and DNA ID ranges exposed for future training integration", "auto_detection": false, "base_count": 16, "base_id_start": 69634, "base_vocabulary_size": 65536, "begin_id": 65536, "canonical_alphabet": "ACGT", "canonical_order": "itertools.product(ACGT, repeat=6), lexicographic", "chat": "Same text chat template; DNACodec.encode enables tagged DNA/spans and preserves assistant masks", "decoder": "Native Tokenizers Replace-per-piece then unchanged ByteLevel; no remote/custom decoder", "encoding_entrypoint": "tiny_llm.dna.DNACodec", "end_id": 65537, "fallback": "Each noncanonical six-character block/short tail is encoded character by character; uppercase IUPAC gets DNA symbols; other characters use unchanged raw BPE", "fallback_alphabet": "ACGTURYSWKMBDHVN", "future_model_scope": "New vocabulary requires matching embedding/head rows; does not migrate old weights", "k": 6, "kmer_count": 4096, "kmer_id_start": 65538, "normalization": "identity", "offsets": "Unicode character offsets and IUPAC-base offsets; gaps/layout have zero bp width", "raw_text_default": true, "reserve": "Original 51 reserved IDs remain unchanged and unconsumed", "version": "b64-dna6-v3", "vocab_size": 69650 }, "layers_block_type": [ "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "attention" ], "linear_conv_kernel_dim": 4, "linear_key_head_dim": 64, "linear_num_key_heads": 8, "linear_num_value_heads": 8, "linear_value_head_dim": 64, "packed_attention_backend": "fa4", "training_ce_backend": "fla", "training_expert_runtime_contract": { "runtime": "sonic", "activation": "native-compiled-swiglu-bf16-boundaries", "revision": "7396f3e604827d8186c2e16e64b28ee33d3defd0", "sources": { "sonicmoe/__init__.py": "3f3f19d7cc6a743e4553e1e86137f320f310c3e0753d627d23463f95bc85260d", "sonicmoe/enums.py": "2ad1f833809a16ffc6bac4a366bd3bace7cef52c7955cd8054e450b0f04c342d", "sonicmoe/functional/__init__.py": "af41a42d8fe5722615a4a1f2ce4157c992ef1fff4aaadc7fc9adec9097800a35", "sonicmoe/functional/backward.py": "da559f5d342d01bb7f0c3602804d135ccbf273028085795a1f0e1d7e274c2e64", "sonicmoe/functional/forward.py": "ab81bd844e862a200cb89beebac021f73b6347906fe970b95a31456a17d7459a", "sonicmoe/functional/reduction_over_k_gather.py": "7c16136876c74d7a65ee2d9db49d489cd221d0f229c5f13ee889af3e835c39a5", "sonicmoe/functional/topk.py": "c3fcc7e28466a60dd164890ea259bc438a6d4171ec6fa6bdd35f63537fed0fba", "sonicmoe/functional/triton_kernels/__init__.py": "d84e207b63f5b44692e7ddec7b23ecdcaa55f9c104da10200d83b42cf47d9501", "sonicmoe/functional/triton_kernels/bitmatrix.py": "909f9522bd3b9f47b8f3e5d01d28106cb9e671180567dd4cdcd214c4d3788702", "sonicmoe/jit.py": "a64a3b2e4b6d91a6fed180d49176c000ddc8ff232f4e7c3b7768c913ace697e8", "sonicmoe/moe.py": "2433ad3f03619dafdeda8a36a294b38ab738e44e859b83505065e1297bc1493d", "sonicmoe/utils.py": "9a081b4a94981502094f262071c9e0badfd278ad80a897d25cbd7f08c67c5723" }, "quack_patch_sha256": "d800420389640b22322f185ab778df74e9b0ab429dd6c8ff9a393c9176b29e80", "packages": { "torch": "2.11.0+cu128", "transformers": "5.17.0", "triton": "3.6.0", "quack-kernels": "0.6.5", "nvidia-cutlass-dsl": "4.8.0", "sonic-moe": "0.1.2.post1" } }, "training_kroha_runtime": "fused", "training_optimizer_contract": { "version": 1, "algorithm": "muon-expertwise-router-adamw-v1", "partition": [ { "name": "model.embed_tokens.weight", "shape": [ 69650, 512 ], "kind": "adamw_decay" }, { "name": "model.prelude.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.prelude.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.prelude.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.prelude.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.prelude.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.prelude.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.prelude.mlp.gate_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "model.prelude.mlp.up_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "model.prelude.mlp.down_proj.weight", "shape": [ 512, 1792 ], "kind": "muon" }, { "name": "model.prelude.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.prelude.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.self_attn.A_log", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.self_attn.dt_bias", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.z_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.a_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.b_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.conv1d.weight", "shape": [ 768, 1, 4 ], "kind": "adamw_decay" }, { "name": "model.layers.0.self_attn.gated_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.0.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.0.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.0.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.0.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.0.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.0.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.0.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.0.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.0.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.0.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.0.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.0.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.0.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.0.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.1.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.1.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.1.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.1.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.1.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.1.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.1.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.1.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.1.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.1.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.1.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.1.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.1.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.1.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.1.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.1.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.1.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.1.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.1.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.self_attn.A_log", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.self_attn.dt_bias", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.z_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.a_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.b_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.conv1d.weight", "shape": [ 768, 1, 4 ], "kind": "adamw_decay" }, { "name": "model.layers.2.self_attn.gated_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.2.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.2.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.2.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.2.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.2.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.2.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.2.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.2.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.2.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.2.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.2.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.2.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.2.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.2.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.3.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.3.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.3.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.3.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.3.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.3.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.3.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.3.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.3.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.3.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.3.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.3.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.3.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.3.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.3.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.3.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.3.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.3.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.3.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.self_attn.A_log", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.self_attn.dt_bias", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.z_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.a_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.b_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.conv1d.weight", "shape": [ 768, 1, 4 ], "kind": "adamw_decay" }, { "name": "model.layers.4.self_attn.gated_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.4.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.4.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.4.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.4.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.4.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.4.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.4.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.4.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.4.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.4.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.4.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.4.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.4.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.4.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.5.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.5.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.5.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.5.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.5.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.5.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.5.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.5.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.5.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.5.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.5.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.5.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.5.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.5.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.5.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.5.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.5.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.5.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.5.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.self_attn.A_log", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.self_attn.dt_bias", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.z_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.a_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.b_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.conv1d.weight", "shape": [ 768, 1, 4 ], "kind": "adamw_decay" }, { "name": "model.layers.6.self_attn.gated_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.6.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.6.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.6.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.6.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.6.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.6.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.6.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.6.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.6.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.6.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.6.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.6.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.6.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.6.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.7.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.7.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.7.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.7.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.7.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.7.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.7.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.7.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.7.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.7.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.7.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.7.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.7.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.7.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.7.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.7.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.7.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.7.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.7.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.coda.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.coda.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.coda.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.coda.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.coda.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.coda.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.coda.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.coda.mlp.gate_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "model.coda.mlp.up_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "model.coda.mlp.down_proj.weight", "shape": [ 512, 1792 ], "kind": "muon" }, { "name": "model.coda.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.coda.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.output_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.output_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "mtp.hidden_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "mtp.embedding_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "mtp.projection.weight", "shape": [ 512, 1024 ], "kind": "muon" }, { "name": "mtp.attention_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "mtp.attention.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "mtp.attention.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "mtp.attention.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "mtp.attention.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "mtp.attention.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "mtp.attention.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "mtp.attention.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "mtp.attention.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "mtp.mlp_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "mtp.mlp.gate_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "mtp.mlp.up_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "mtp.mlp.down_proj.weight", "shape": [ 512, 1792 ], "kind": "muon" }, { "name": "mtp.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "mtp.output_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" } ], "lr": 0.001, "muon_lr": 0.001, "weight_decay": 0.1, "betas": [ 0.9, 0.95 ], "momentum": 0.95, "ns_steps": 5, "nesterov": true, "eps": 1e-07, "ns_coefficients": [ 3.4445, -4.775, 2.0315 ], "adjust_lr_fn": "match_rms_adamw", "router_parameters": [ "model.layers.0.mlp.router.weight", "model.layers.1.mlp.router.weight", "model.layers.2.mlp.router.weight", "model.layers.3.mlp.router.weight", "model.layers.4.mlp.router.weight", "model.layers.5.mlp.router.weight", "model.layers.6.mlp.router.weight", "model.layers.7.mlp.router.weight" ] }, "training_pretrain_contract": { "data": { "version": 1, "stage": "powerup_2x", "context": 4096, "global_batch_positions": 262144, "source_tokens": 3000000000, "global_batches": 11446, "ready_sha256": "973a4838667b92494e5fe0c1acf9e22487bd49db5037f157567e03a9caa3a780", "manifest_sha256": "b1dbb6907d479e1643f08ff6d2db3c83e6accfc20c620e4355e2bae35a33570c", "tokenizer_sha256": "4e60b1fae62473ac658fea33fe68acfd8aeb3a2b6dc31bca3169356e4c072dd9", "recipe_sha256": "e76fcfb70207ef516cf82d3d15234a4b725da5644aad371a4271c5696bc8c185", "validation_sha256": "5abea73d87a8d95959df1b8cdb672d1ba9ca4751fd71a79f1a4676c6ef92c9c1" }, "profile": { "stage": "powerup_2x", "microbatch": 16, "checkpoint_policy": "core", "runtime": "fused", "dtype": "bf16", "optimizer": "muon", "lr": 0.001, "muon_lr": 0.001, "muon_momentum": 0.95, "muon_ns_steps": 5, "muon_adjust_lr": "match_rms_adamw", "weight_decay": 0.1, "betas": [ 0.9, 0.95 ], "grad_clip": 1.0, "warmup_frac": 0.01, "min_lr_frac": 0.1, "compile_pointwise": true, "compile_optimizer": true, "ce_backend": "fla", "ce_chunk": 4096, "prefetch": true, "cpu_threads": 4, "allocator_fraction": 0.95, "seed": 2026, "save_steps": 500, "log_every": 20, "expert_runtime": "sonic", "model_type": "kroha_routed_norm", "schedule_lr": 0.0001, "mtp": true, "mtp_ce": "tc" }, "loss_definition": "CE=sum valid causal token NLL/global valid targets; buffered global LBL=equal microbatch mean; no document-start/padding targets + 0.3 * (sum t+2 NLL/global valid t+2 targets), with document-local teacher forcing" }, "training_stage_parent": { "stage": "pretrain", "step": 114442, "source_tokens": 30000000000, "train_state_sha256": "475b4ecf1d3f247daf762a89cd1335e39b897dc864c1dff421bc6d9f8e422bfa", "weights_sha256": { "model.safetensors": "0d60d14880d08c7cdd7609d2d38b6c752a2f6f0c322aa56869e8a910826a6803" } }, "training_tokenizer_contract": { "backend_sha256": "b7a96ed7050060b1fa1cbcdb25a9c0602d10ea417bb76ed8c844ee15626625aa", "chat_template_sha256": "5a3826a188af44bb579a40a257727bdc815cf91ffcd87ad03f0e7ef012f180dd", "control_tokens": [ "", "", "", "", "<|im_start|>", "<|im_end|>", "", "", "", "", "<|fim_prefix|>", "<|fim_middle|>", "<|fim_suffix|>", "<|reserved_000|>", "<|reserved_001|>", "<|reserved_002|>", "<|reserved_003|>", "<|reserved_004|>", "<|reserved_005|>", "<|reserved_006|>", "<|reserved_007|>", "<|reserved_008|>", "<|reserved_009|>", "<|reserved_010|>", "<|reserved_011|>", "<|reserved_012|>", "<|reserved_013|>", "<|reserved_014|>", "<|reserved_015|>", "<|reserved_016|>", "<|reserved_017|>", "<|reserved_018|>", "<|reserved_019|>", "<|reserved_020|>", "<|reserved_021|>", "<|reserved_022|>", "<|reserved_023|>", "<|reserved_024|>", "<|reserved_025|>", "<|reserved_026|>", "<|reserved_027|>", "<|reserved_028|>", "<|reserved_029|>", "<|reserved_030|>", "<|reserved_031|>", "<|reserved_032|>", "<|reserved_033|>", "<|reserved_034|>", "<|reserved_035|>", "<|reserved_036|>", "<|reserved_037|>", "<|reserved_038|>", "<|reserved_039|>", "<|reserved_040|>", "<|reserved_041|>", "<|reserved_042|>", "<|reserved_043|>", "<|reserved_044|>", "<|reserved_045|>", "<|reserved_046|>", "<|reserved_047|>", "<|reserved_048|>", "<|reserved_049|>", "<|reserved_050|>", "", "" ], "fingerprint": "f3b8d81cae428b64b45bf907b426397d7119ce9fa859d42b58655712ef989336", "raw_encoding": "bypass-all-added-token-matchers-v1", "special_ids": { "bos": 1, "eos": 2, "pad": 0, "unk": 3 }, "version": 1, "vocab_size": 69650 }, "num_core_layers": 8, "num_passes": 2, "layer_types": [ "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "full_attention" ], "relaxed": true, "lora_rank": 16, "lora_alpha": 16, "attnres_block_size": 4, "num_experts": 8, "experts_per_token": 2, "expert_intermediate_size": 352, "shared_intermediate_size": 256, "latent_size": 256, "gate_multiplier": 2.0, "qk_norm": true, "attention_scalar_gate": true, "mlp_scalar_gate": true, "shared_expert_gate": true, "router_bias_speed": 0.001, "router_seq_aux_coef": 0.0001, "router_balance_scope": "global", "routed_scaling_factor": 1.0, "swiglu_limit": 10.0, "delta_conv_kernel": 4, "delta_backend": "auto", "expert_backend": "auto", "nope_layers": [], "delta_num_query_heads": 8, "delta_num_value_heads": 2, "moe_budget": "total", "pass2_router": false, "gdn_version": 1, "headwise_attention_gate": true, "auto_map": { "AutoConfig": "configuration_kroha_routed_norm.KrohaRoutedNormConfig", "AutoModel": "modeling_kroha_routed_norm.KrohaRoutedNormModel", "AutoModelForCausalLM": "modeling_kroha_routed_norm.KrohaRoutedNormForCausalLM" }, "model_type": "kroha_routed_norm", "output_attentions": false }, "parameters": 75625680, "kind": "causal", "torch": "2.11.0+cu128", "python": "3.12.3", "loss_definition": "CE=sum valid causal token NLL/global valid targets; buffered global LBL=equal microbatch mean; no document-start/padding targets + 0.3 * (sum t+2 NLL/global valid t+2 targets), with document-local teacher forcing", "git_commit": "386f258e694158c9138f043cd9d9b8ba8e92c96a" } ] }, "powerup_8x": { "step": 11448, "source_tokens": 3000000000, "resume_state_complete": true, "scheduler": { "kind": "cosine", "next_step": 11448, "total_steps": 11448, "warmup_steps": 114, "lr": 0.0001, "min_lr_frac": 0.1 }, "data_state": { "next_global_batch": 11448, "stage": "powerup_8x", "prefetch_replay": "immutable-next-batch" }, "raw_events": [ { "path": "powerup_8x/tb/events.out.tfevents.1795346043.DESKTOP-OU3A33R.1451003.0", "loss_points": 573, "first_step": 20, "last_step": 11448 } ], "loss_points": 573, "missing_expected_steps": [], "original_run_metadata": [ { "step": 0, "args": { "stage": "powerup_8x", "microbatch": 4, "checkpoint_policy": "core", "runtime": "fused", "dtype": "bf16", "optimizer": "muon", "lr": 0.001, "muon_lr": 0.001, "muon_momentum": 0.95, "muon_ns_steps": 5, "muon_adjust_lr": "match_rms_adamw", "weight_decay": 0.1, "betas": [ 0.9, 0.95 ], "grad_clip": 1.0, "warmup_frac": 0.01, "min_lr_frac": 0.1, "compile_pointwise": true, "compile_optimizer": true, "ce_backend": "fla", "ce_chunk": 4096, "prefetch": true, "cpu_threads": 4, "allocator_fraction": 0.95, "seed": 2026, "save_steps": 500, "log_every": 20, "expert_runtime": "sonic", "model_type": "kroha_routed_norm", "schedule_lr": 0.0001, "mtp": true, "mtp_ce": "tc" }, "model_config": { "routed_output_norm": true, "router_optimizer": "adamw", "transformers_version": "5.17.0", "architectures": [ "KrohaRoutedNormForCausalLM" ], "output_hidden_states": false, "return_dict": true, "dtype": "float32", "chunk_size_feed_forward": 0, "is_encoder_decoder": false, "id2label": { "0": "LABEL_0", "1": "LABEL_1" }, "label2id": { "LABEL_0": 0, "LABEL_1": 1 }, "problem_type": null, "vocab_size": 69650, "hidden_size": 512, "intermediate_size": 1792, "num_hidden_layers": 18, "num_attention_heads": 8, "num_key_value_heads": 2, "hidden_act": "silu", "max_position_embeddings": 16384, "initializer_range": 0.02, "rms_norm_eps": 1e-05, "use_cache": true, "pad_token_id": 0, "bos_token_id": 1, "eos_token_id": 2, "pretraining_tp": 1, "tie_word_embeddings": true, "rope_parameters": { "rope_type": "default", "rope_theta": 10000.0 }, "attention_bias": false, "attention_dropout": 0.0, "mlp_bias": false, "head_dim": 64, "_name_or_path": "/mnt/d/Projects/tiny_llm/runs/kroha-routed-norm-mtp-curriculum-36b-v1/powerup_2x/checkpoint-last", "num_core_layers": 8, "num_passes": 2, "layer_types": [ "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "linear_attention", "full_attention", "full_attention" ], "relaxed": true, "lora_rank": 16, "lora_alpha": 16, "attnres_block_size": 4, "num_experts": 8, "experts_per_token": 2, "expert_intermediate_size": 352, "shared_intermediate_size": 256, "latent_size": 256, "gate_multiplier": 2.0, "qk_norm": true, "attention_scalar_gate": true, "mlp_scalar_gate": true, "shared_expert_gate": true, "router_bias_speed": 0.001, "router_seq_aux_coef": 0.0001, "router_balance_scope": "global", "routed_scaling_factor": 1.0, "swiglu_limit": 10.0, "delta_conv_kernel": 4, "delta_backend": "auto", "expert_backend": "auto", "nope_layers": [], "delta_num_query_heads": 8, "delta_num_value_heads": 2, "moe_budget": "total", "pass2_router": false, "gdn_version": 1, "headwise_attention_gate": true, "decoder_ablation": "headgate_blockattnres", "linear_num_key_heads": 8, "linear_num_value_heads": 8, "linear_key_head_dim": 64, "linear_value_head_dim": 64, "linear_conv_kernel_dim": 4, "layers_block_type": [ "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "mamba", "attention", "attention" ], "auto_map": { "AutoConfig": "configuration_kroha_routed_norm.KrohaRoutedNormConfig", "AutoModel": "modeling_kroha_routed_norm.KrohaRoutedNormModel", "AutoModelForCausalLM": "modeling_kroha_routed_norm.KrohaRoutedNormForCausalLM" }, "training_tokenizer_contract": { "version": 1, "vocab_size": 69650, "backend_sha256": "b7a96ed7050060b1fa1cbcdb25a9c0602d10ea417bb76ed8c844ee15626625aa", "chat_template_sha256": "5a3826a188af44bb579a40a257727bdc815cf91ffcd87ad03f0e7ef012f180dd", "special_ids": { "pad": 0, "bos": 1, "eos": 2, "unk": 3 }, "control_tokens": [ "", "", "", "", "<|im_start|>", "<|im_end|>", "", "", "", "", "<|fim_prefix|>", "<|fim_middle|>", "<|fim_suffix|>", "<|reserved_000|>", "<|reserved_001|>", "<|reserved_002|>", "<|reserved_003|>", "<|reserved_004|>", "<|reserved_005|>", "<|reserved_006|>", "<|reserved_007|>", "<|reserved_008|>", "<|reserved_009|>", "<|reserved_010|>", "<|reserved_011|>", "<|reserved_012|>", "<|reserved_013|>", "<|reserved_014|>", "<|reserved_015|>", "<|reserved_016|>", "<|reserved_017|>", "<|reserved_018|>", "<|reserved_019|>", "<|reserved_020|>", "<|reserved_021|>", "<|reserved_022|>", "<|reserved_023|>", "<|reserved_024|>", "<|reserved_025|>", "<|reserved_026|>", "<|reserved_027|>", "<|reserved_028|>", "<|reserved_029|>", "<|reserved_030|>", "<|reserved_031|>", "<|reserved_032|>", "<|reserved_033|>", "<|reserved_034|>", "<|reserved_035|>", "<|reserved_036|>", "<|reserved_037|>", "<|reserved_038|>", "<|reserved_039|>", "<|reserved_040|>", "<|reserved_041|>", "<|reserved_042|>", "<|reserved_043|>", "<|reserved_044|>", "<|reserved_045|>", "<|reserved_046|>", "<|reserved_047|>", "<|reserved_048|>", "<|reserved_049|>", "<|reserved_050|>", "", "" ], "raw_encoding": "bypass-all-added-token-matchers-v1", "fingerprint": "f3b8d81cae428b64b45bf907b426397d7119ce9fa859d42b58655712ef989336" }, "dna_config": { "version": "b64-dna6-v3", "base_vocabulary_size": 65536, "vocab_size": 69650, "k": 6, "canonical_alphabet": "ACGT", "fallback_alphabet": "ACGTURYSWKMBDHVN", "begin_id": 65536, "end_id": 65537, "kmer_id_start": 65538, "kmer_count": 4096, "base_id_start": 69634, "base_count": 16, "canonical_order": "itertools.product(ACGT, repeat=6), lexicographic", "raw_text_default": true, "auto_detection": false, "normalization": "identity", "fallback": "Each noncanonical six-character block/short tail is encoded character by character; uppercase IUPAC gets DNA symbols; other characters use unchanged raw BPE", "offsets": "Unicode character offsets and IUPAC-base offsets; gaps/layout have zero bp width", "decoder": "Native Tokenizers Replace-per-piece then unchanged ByteLevel; no remote/custom decoder", "encoding_entrypoint": "tiny_llm.dna.DNACodec", "chat": "Same text chat template; DNACodec.encode enables tagged DNA/spans and preserves assistant masks", "reserve": "Original 51 reserved IDs remain unchanged and unconsumed", "FNS": "Not implemented; offsets and DNA ID ranges exposed for future training integration", "future_model_scope": "New vocabulary requires matching embedding/head rows; does not migrate old weights" }, "training_ce_backend": "fla", "packed_attention_backend": "fa4", "training_kroha_runtime": "fused", "training_expert_runtime_contract": { "runtime": "sonic", "activation": "native-compiled-swiglu-bf16-boundaries", "revision": "7396f3e604827d8186c2e16e64b28ee33d3defd0", "sources": { "sonicmoe/__init__.py": "3f3f19d7cc6a743e4553e1e86137f320f310c3e0753d627d23463f95bc85260d", "sonicmoe/enums.py": "2ad1f833809a16ffc6bac4a366bd3bace7cef52c7955cd8054e450b0f04c342d", "sonicmoe/functional/__init__.py": "af41a42d8fe5722615a4a1f2ce4157c992ef1fff4aaadc7fc9adec9097800a35", "sonicmoe/functional/backward.py": "da559f5d342d01bb7f0c3602804d135ccbf273028085795a1f0e1d7e274c2e64", "sonicmoe/functional/forward.py": "ab81bd844e862a200cb89beebac021f73b6347906fe970b95a31456a17d7459a", "sonicmoe/functional/reduction_over_k_gather.py": "7c16136876c74d7a65ee2d9db49d489cd221d0f229c5f13ee889af3e835c39a5", "sonicmoe/functional/topk.py": "c3fcc7e28466a60dd164890ea259bc438a6d4171ec6fa6bdd35f63537fed0fba", "sonicmoe/functional/triton_kernels/__init__.py": "d84e207b63f5b44692e7ddec7b23ecdcaa55f9c104da10200d83b42cf47d9501", "sonicmoe/functional/triton_kernels/bitmatrix.py": "909f9522bd3b9f47b8f3e5d01d28106cb9e671180567dd4cdcd214c4d3788702", "sonicmoe/jit.py": "a64a3b2e4b6d91a6fed180d49176c000ddc8ff232f4e7c3b7768c913ace697e8", "sonicmoe/moe.py": "2433ad3f03619dafdeda8a36a294b38ab738e44e859b83505065e1297bc1493d", "sonicmoe/utils.py": "9a081b4a94981502094f262071c9e0badfd278ad80a897d25cbd7f08c67c5723" }, "quack_patch_sha256": "d800420389640b22322f185ab778df74e9b0ab429dd6c8ff9a393c9176b29e80", "packages": { "torch": "2.11.0+cu128", "transformers": "5.17.0", "triton": "3.6.0", "quack-kernels": "0.6.5", "nvidia-cutlass-dsl": "4.8.0", "sonic-moe": "0.1.2.post1" } }, "training_optimizer_contract": { "version": 1, "algorithm": "muon-expertwise-router-adamw-v1", "partition": [ { "name": "model.embed_tokens.weight", "shape": [ 69650, 512 ], "kind": "adamw_decay" }, { "name": "model.prelude.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.prelude.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.prelude.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.prelude.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.prelude.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.prelude.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.prelude.mlp.gate_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "model.prelude.mlp.up_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "model.prelude.mlp.down_proj.weight", "shape": [ 512, 1792 ], "kind": "muon" }, { "name": "model.prelude.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.prelude.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.prelude.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.self_attn.A_log", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.self_attn.dt_bias", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.z_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.a_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.b_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.0.self_attn.conv1d.weight", "shape": [ 768, 1, 4 ], "kind": "adamw_decay" }, { "name": "model.layers.0.self_attn.gated_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.0.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.0.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.0.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.0.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.0.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.0.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.0.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.0.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.0.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.0.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.0.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.0.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.0.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.0.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.0.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.1.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.1.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.1.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.1.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.1.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.1.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.1.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.1.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.1.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.1.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.1.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.1.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.1.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.1.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.1.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.1.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.1.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.1.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.1.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.1.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.self_attn.A_log", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.self_attn.dt_bias", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.z_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.a_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.b_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.2.self_attn.conv1d.weight", "shape": [ 768, 1, 4 ], "kind": "adamw_decay" }, { "name": "model.layers.2.self_attn.gated_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.2.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.2.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.2.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.2.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.2.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.2.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.2.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.2.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.2.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.2.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.2.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.2.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.2.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.2.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.2.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.3.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.3.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.3.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.3.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.3.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.3.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.3.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.3.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.3.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.3.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.3.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.3.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.3.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.3.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.3.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.3.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.3.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.3.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.3.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.3.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.self_attn.A_log", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.self_attn.dt_bias", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.z_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.a_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.b_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.4.self_attn.conv1d.weight", "shape": [ 768, 1, 4 ], "kind": "adamw_decay" }, { "name": "model.layers.4.self_attn.gated_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.4.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.4.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.4.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.4.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.4.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.4.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.4.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.4.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.4.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.4.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.4.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.4.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.4.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.4.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.4.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.5.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.5.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.5.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.5.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.5.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.5.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.5.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.5.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.5.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.5.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.5.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.5.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.5.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.5.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.5.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.5.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.5.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.5.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.5.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.5.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.self_attn.A_log", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.self_attn.dt_bias", "shape": [ 8 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.z_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.a_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.b_proj.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.6.self_attn.conv1d.weight", "shape": [ 768, 1, 4 ], "kind": "adamw_decay" }, { "name": "model.layers.6.self_attn.gated_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.6.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.6.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.6.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.6.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.6.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.6.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.6.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.6.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.6.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.6.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.6.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.6.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.6.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.6.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.6.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.residual_gains", "shape": [ 2 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.7.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.7.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.layers.7.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.7.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.7.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.layers.7.mlp.gate_up", "shape": [ 8, 704, 256 ], "kind": "muon" }, { "name": "model.layers.7.mlp.down", "shape": [ 8, 256, 352 ], "kind": "muon" }, { "name": "model.layers.7.mlp.router.weight", "shape": [ 8, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.7.mlp.latent_down.weight", "shape": [ 256, 512 ], "kind": "muon" }, { "name": "model.layers.7.mlp.routed_norm.weight", "shape": [ 256 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.mlp.latent_up.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.7.mlp.shared_gate_up.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.layers.7.mlp.shared_down.weight", "shape": [ 512, 256 ], "kind": "muon" }, { "name": "model.layers.7.mlp.shared_expert_gate.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.7.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.layers.7.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.q_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.7.q_adapter.b.weight", "shape": [ 512, 16 ], "kind": "muon" }, { "name": "model.layers.7.v_adapter.a.weight", "shape": [ 16, 512 ], "kind": "muon" }, { "name": "model.layers.7.v_adapter.b.weight", "shape": [ 128, 16 ], "kind": "muon" }, { "name": "model.layers.7.second_input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.second_post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.layers.7.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.self_attn.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.coda.self_attn.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.coda.self_attn.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "model.coda.self_attn.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "model.coda.self_attn.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.coda.self_attn.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "model.coda.self_attn.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.coda.self_attn.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "model.coda.mlp.gate_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "model.coda.mlp.up_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "model.coda.mlp.down_proj.weight", "shape": [ 512, 1792 ], "kind": "muon" }, { "name": "model.coda.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "model.coda.input_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.post_attention_layernorm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.attn_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.attn_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.mlp_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.coda.mlp_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.output_res.query", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "model.output_res.key_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "mtp.hidden_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "mtp.embedding_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "mtp.projection.weight", "shape": [ 512, 1024 ], "kind": "muon" }, { "name": "mtp.attention_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "mtp.attention.q_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "mtp.attention.k_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "mtp.attention.v_proj.weight", "shape": [ 128, 512 ], "kind": "muon" }, { "name": "mtp.attention.o_proj.weight", "shape": [ 512, 512 ], "kind": "muon" }, { "name": "mtp.attention.q_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "mtp.attention.k_norm.weight", "shape": [ 64 ], "kind": "adamw_no_decay" }, { "name": "mtp.attention.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "mtp.attention.head_gate.weight", "shape": [ 8, 512 ], "kind": "muon" }, { "name": "mtp.mlp_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" }, { "name": "mtp.mlp.gate_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "mtp.mlp.up_proj.weight", "shape": [ 1792, 512 ], "kind": "muon" }, { "name": "mtp.mlp.down_proj.weight", "shape": [ 512, 1792 ], "kind": "muon" }, { "name": "mtp.mlp.output_gate.projection.weight", "shape": [ 1, 512 ], "kind": "adamw_decay" }, { "name": "mtp.output_norm.weight", "shape": [ 512 ], "kind": "adamw_no_decay" } ], "lr": 0.001, "muon_lr": 0.001, "weight_decay": 0.1, "betas": [ 0.9, 0.95 ], "momentum": 0.95, "ns_steps": 5, "nesterov": true, "eps": 1e-07, "ns_coefficients": [ 3.4445, -4.775, 2.0315 ], "adjust_lr_fn": "match_rms_adamw", "router_parameters": [ "model.layers.0.mlp.router.weight", "model.layers.1.mlp.router.weight", "model.layers.2.mlp.router.weight", "model.layers.3.mlp.router.weight", "model.layers.4.mlp.router.weight", "model.layers.5.mlp.router.weight", "model.layers.6.mlp.router.weight", "model.layers.7.mlp.router.weight" ] }, "training_pretrain_contract": { "data": { "version": 1, "stage": "powerup_8x", "context": 16384, "global_batch_positions": 262144, "source_tokens": 3000000000, "global_batches": 11448, "ready_sha256": "973a4838667b92494e5fe0c1acf9e22487bd49db5037f157567e03a9caa3a780", "manifest_sha256": "2941274fa7d5af0b7dc9764a735074aaaf31e1704199f7c34f1af767f3a992d3", "tokenizer_sha256": "4e60b1fae62473ac658fea33fe68acfd8aeb3a2b6dc31bca3169356e4c072dd9", "recipe_sha256": "e76fcfb70207ef516cf82d3d15234a4b725da5644aad371a4271c5696bc8c185", "validation_sha256": "5abea73d87a8d95959df1b8cdb672d1ba9ca4751fd71a79f1a4676c6ef92c9c1" }, "profile": { "stage": "powerup_8x", "microbatch": 4, "checkpoint_policy": "core", "runtime": "fused", "dtype": "bf16", "optimizer": "muon", "lr": 0.001, "muon_lr": 0.001, "muon_momentum": 0.95, "muon_ns_steps": 5, "muon_adjust_lr": "match_rms_adamw", "weight_decay": 0.1, "betas": [ 0.9, 0.95 ], "grad_clip": 1.0, "warmup_frac": 0.01, "min_lr_frac": 0.1, "compile_pointwise": true, "compile_optimizer": true, "ce_backend": "fla", "ce_chunk": 4096, "prefetch": true, "cpu_threads": 4, "allocator_fraction": 0.95, "seed": 2026, "save_steps": 500, "log_every": 20, "expert_runtime": "sonic", "model_type": "kroha_routed_norm", "schedule_lr": 0.0001, "mtp": true, "mtp_ce": "tc" }, "loss_definition": "CE=sum valid causal token NLL/global valid targets; buffered global LBL=equal microbatch mean; no document-start/padding targets + 0.3 * (sum t+2 NLL/global valid t+2 targets), with document-local teacher forcing" }, "training_stage_parent": { "stage": "powerup_2x", "step": 11446, "source_tokens": 3000000000, "train_state_sha256": "357a2e0f395fcefa4a1fdf43a8cbf11c11146a07b61b2205c4045a1ad94bed38", "weights_sha256": { "model.safetensors": "396dd0d729f159c28e33417755e8a4c00995137b37371d2cb10a7954a5c8105a" } }, "model_type": "kroha_routed_norm", "output_attentions": false }, "parameters": 75625680, "kind": "causal", "torch": "2.11.0+cu128", "python": "3.12.3", "loss_definition": "CE=sum valid causal token NLL/global valid targets; buffered global LBL=equal microbatch mean; no document-start/padding targets + 0.3 * (sum t+2 NLL/global valid t+2 targets), with document-local teacher forcing", "git_commit": "17ffbadb6abd228544ea8cac5f6ec5ad61ecbc6b" } ] } }