Fix seed1 dispatch to select actually idle eligible GPUs before assignment

This commit is contained in:
MeltAstra committed 2026-11-18 14:38:42 +08:00
1 parent c0f89a5e95
commit 8c5020c5cb
27 files changed
+4310 -27

No files matched your search

@@ -638,3 +638,7 @@ Track A训练入口轻审/启动:Assist1794975952实际PASS1fa923f8,执行
item1唯一恢复COMPLETE,Claude1794983276采用原分类UNIDENTIFIED_OR_OVERFIT_SIGNS,但其初次把负g解释成更多updates降低误差。Melt1794983333已立即用冻结statistics与实际端点纠正:g=error(U)−error(2U),负g是2U误差更高;s以log2实际嵌套组件数比归一化,正s才数据收益。原结果/判据不变,不重算;不将此结果当作长程训练获益、更多数据无效或过拟合的因果证明。Track D数据瓶颈触发未满足;新长程候选只能纸面且不能建立在错误符号上,后续解释须由Claude订正。Track A继续原训练,postfit实际新PASS983bba99待执行方采用,五训练全终态前不得预测。seed1按2860/3024原五fold/seed1/200epochs,118800总GPU秒及动态闲卡分发准备轻审;不重训seed0、不跑seed2/ensemble或自动扩展科学范围。
Claude1794983369已明确撤回初次g方向误读并订正设计记录3c05a46:负g表示2U更高误差;数据validation信号不等于test确认,原分类不变。长程候选请求撤回,仅将未来纸面方向改为过拟合控制,仍在seed1后按阶段机制讨论,不授权新训练。Melt报告摘要的s使用log2实际嵌套组件数比,g明确U−2U;原raw结果保持。
## Phase3后续顺序:seed1之后1b(2026-11-18)
已实读Claude1794983598.749809:接受Mold55ffc6f9作为未来item1b,seed1结果后才开展。原H2/100%池/seed0/末轮,100epoch完整日程(5warmup+95cosine到原最小LR),不是200epoch中途checkpoint;更新预算与schedule共同变化。先fold1 validation场差≤−.001且点效应绝对值大于同域seed1−seed0,再补四fold;test确认场CI上界<−.001且超过pooled种子差,末点/τ/负值另报。3.3/16.4GPUh为成本估计,仍需具体合同与首epoch投影;本会话未独立读取规格全文或实现运行。新顺序seed1→1b screen→c→Track B→b→ensemble;seed1结束前无1b计算,Track D触发仍未满足。现有seed1待审源及Track A训练不改。
+8
View File
@@ -1,3 +1,11 @@
## 最新 seed1同次轻审空闲分配修复待回(2026-11-18)
旧d2f552d1获BLOCKED ba4c62e8(唯一S1-DISPATCH-IDLE),原件/evidence308003c7/原源码与合同全部保留于artifacts/phase3-seed1-idle-fix-2026-11-18。只改common/queue/test三文件:eligible先实测显存≤128MiB且util0,再分配/写hash assignment/消费pending;busy未分配不算attempt,guard三polls/锁和分配后竞态STOP不变。18CPU合成PASS(busy0/idle1、全busy不分配等),科学worker/guard及预算不变。新implementationac45e2de82f1c336aba75c2d6908ce3776603fec/contract95d23536a653ef2d2598127cabe29c3b4bcab40bcc0f2fafee0a2931893395ff/proof04592d0fd72cc8a71201e5dea145bc8c618ff05d15a78b257f0d2dc60ab54431,comparisoncba51291和38map,待同次Assist复核;尚无review/started/fit,旧BLOCKED入口不得启动。item1已COMPLETE不重跑,Track A原训练和已采用postfit PASS983bba99不动。
## Phase3后续顺序:seed1之后1b(2026-11-18)
已实读Claude1794983598.749809:接受Mold55ffc6f9作为未来item1b,seed1结果后才开展。原H2/100%池/seed0/末轮,100epoch完整日程(5warmup+95cosine到原最小LR),不是200epoch中途checkpoint;更新预算与schedule共同变化。先fold1 validation场差≤−.001且点效应绝对值大于同域seed1−seed0,再补四fold;test确认场CI上界<−.001且超过pooled种子差,末点/τ/负值另报。3.3/16.4GPUh为成本估计,仍需具体合同与首epoch投影;本会话未独立读取规格全文或实现运行。新顺序seed1→1b screen→c→Track B→b→ensemble;seed1结束前无1b计算,Track D触发仍未满足。现有seed1待审源及Track A训练不改。
## 最新 seed1入口已固定待轻审;Track A postfit PASS已采用(2026-11-18)
seed1根/home/frank14f/MeltMind-runs/phase3-seed1-2026-11-18,implementationd2f552d1aa54a107b935c9614ded2c5d7157f693/contract4036fd7a58412c775a57a7a8fadf727b9b440b812c2188062556c12bcb735dd8/proofd9a80bf680727669d8e5ca05c68eb99ca89704b79a2d39c28c8da5baaf2f3ba7,38codes;原S2科学epoch AST只shuffle种子/等待hook不同,15CPU检查PASS,旧fixture失败保留。按Claude2860/3024,动态next-pending→首个已释放GPU,GPU2给Track A postfit优先;GPU0/1先行、3待原训练退出、2待原评估退出。118800GPU总/111600训练/22320每fold+7200postfit,phase3原item账72421.315999一次;无review/started/训练,须本次轻审。报告docs/phase3-seed1-entry-2026-11-18.md。
+2 -2
View File
@@ -6,10 +6,10 @@ New root `/home/frank14f/MeltMind-runs/phase3-seed1-2026-11-18`. Five fresh seed
Worker derives from immutable S2 worker. Scientific epoch-loop AST is identical after normalizing only the shuffle-seed literal and the first-epoch wait hook. Initialization seeds Python/NumPy/Torch/allCUDA to1; epoch shuffle is SeedSequence([1,epoch]); checkpoint records seed1. The original S2 helper disallowed fold0 and waited for all four folds at once, so the new helper admits exactly original folds0–4 and releases each fold after its own cost gate.
GPU0 is initially available. GPU1 becomes eligible after item1 recovery terminal and processes exit. GPU3 becomes eligible after all Track A training ends and exits. GPU2 is held for the higher-priority Track A postfit until that process has also terminated. Each next pending fold gets the first eligible idle card; actual assignment is written once, hashed and passed unchanged through guard to worker. There is no cross-card retry or reassignment of an attempted fold. All source pins and old failures are retained. Device idle polls and per-GPU locks remain required. A busy unrelated GPU causes a recorded STOP, not preemption.
GPU0 is initially available. GPU1 becomes eligible after item1 recovery terminal and processes exit. GPU3 becomes eligible after all Track A training ends and exits. GPU2 is held for the higher-priority Track A postfit until that process has also terminated. Each next pending fold gets the first eligible idle card; actual assignment is written once, hashed and passed unchanged through guard to worker. There is no cross-card retry or reassignment of an attempted fold. All source pins and old failures are retained. Device idle polls and per-GPU locks remain required. Before assigning any fold, actual eligible GPU memory/utilization is sampled; busy cards remain unassigned, consume no attempt and may be bypassed for another eligible idle card. Eligibility and idle observations are recorded in the hash-bound assignment. The guard still takes its lock and three idle polls; an occupancy race after assignment causes a recorded STOP, with no cross-card retry or preemption.
Each running fold reprojects after every full epoch:1.25 times remaining training plus remaining every10epoch validation, using the greater of measured validation and its original same-fold maximum, with setup/elapsed costs and terminal allowance. Unmeasured folds keep their full22320s reservation; terminal actual costs replace it. This is a hard resource gate: the25% margin can stop a run even when an unpadded estimate is below the cap. No silent cap or margin relaxation. Track A has its separate45GPUh budget. Phase3's item1 settled72421.31599938683 GPU-s is included once; no previous S2 training cost is charged as new phase3 work.
Per fold15GiB VRAM/16GiB RSS/20GiB output; at most4 workers, aggregate64GiB/100GiB. One-time startup must check actual available memory/disk; when later GPUs become eligible, aggregate guards remain active. Limits are sampled, so overshoot/failures remain evidence. Training entry freezes models and stops; it never launches predictions or another stage.
Fifteen CPU synthetic tests PASS, including original five-fold roles/learning normalization, rejected test access, unchanged scientific epoch AST, all RNG and checkpoint seeds, fold-local cost barrier, full pending reserves/once-only prior ledger, validation costs, overrun STOP, dynamic dispatch and Track A GPU2 priority, hash-bound assignments, clean guard and rejection of monitor errors/recorded excess peaks. First test attempt failed because fixtures omitted parent directories before atomic writes (3 failures/2 errors); original fixture and receipt are retained, production science did not run. Metadata preparation read no scientific arrays, weights or targets. Exact light training-entry review is pending; test PASS does not substitute for independent review or launch evidence.
Eighteen CPU synthetic tests PASS after the same-review S1-DISPATCH-IDLE repair; the original15-test passing fixture did not cover actual idle filtering. The original BLOCKED review ba4c62e8 and all prior sources/proofs are retained. Checks include actual busy-first/idle-second dispatch without consuming the pending fold, all-busy no assignment, invalid probe rejection, and ineligible GPU exclusion. Original tests PASS, including original five-fold roles/learning normalization, rejected test access, unchanged scientific epoch AST, all RNG and checkpoint seeds, fold-local cost barrier, full pending reserves/once-only prior ledger, validation costs, overrun STOP, dynamic dispatch and Track A GPU2 priority, hash-bound assignments, clean guard and rejection of monitor errors/recorded excess peaks. First test attempt failed because fixtures omitted parent directories before atomic writes (3 failures/2 errors); original fixture and receipt are retained, production science did not run. Metadata preparation read no scientific arrays, weights or targets. Exact light training-entry review is pending; test PASS does not substitute for independent review or launch evidence.