fix(spatial): 预热 100 步是脚枪,默认改为 300

lr 3e-3 下前 100 步是一次 10 倍的跳变,自由度集合任务掉进去就再没出来。
同 lr、同步数,只改这一个数:seed0 的 dof.set 0.203 → 1.000,三种子在 14 个家族上
全部 1.000(含弃权)。
This commit is contained in:
x committed 2026-12-03 21:56:11 +08:00
1 parent 0c5ceb2d2c
commit 188419a275
6 files changed
+124 -48

No files matched your search

+5 -1
View File
@@ -180,7 +180,11 @@ def run(config: dict, resume: bool = False, steps: int = None, verbose: bool = T
total_steps = start + (steps if steps is not None else config["optim"]["steps"])
base_lr = config["optim"]["lr"]
warmup = config["optim"].get("warmup", 100)
# 100 was a footgun: at lr 3e-3 the first updates are a 10x jump and the
# freedom set task never recovered from the basin it landed in. Same lr,
# same steps, only this number changed: dof.set 0.203 -> 1.000 on seed 0,
# and 3/3 seeds green across all 14 families.
warmup = config["optim"].get("warmup", 300)
min_frac = config["optim"].get("min_lr_frac", 0.1)
t0 = time.time()
for step in range(start, total_steps):