Upload folder using huggingface_hub
Browse filesFiles changed (4)
9 unmodified lines10111213141516171819161 unmodified lines18118218318418518618718818919019119274 unmodified lines26726826927027127227327427527627727827928028128228328428528628728828929029129264 unmodified lines3573583593603613623639 unmodified lines> scene-normalized supervision:pose translation、box center、box size 必须除以同一个固定> `scene_scale_m`。旧 metadata、旧 trainer 和旧 metric overfit 结果不得与当前版本混用。> 2026-08-26 固定显存修订:正式 trainer 现在把所有原始 N=1/2/4/6/8 QA/SFT 行在> runtime 重复最后一个视角补齐到 N=128,所有任务每卡 micro-batch 固定为 1。原始有效视角> 始终排在前面;joint QA 同步补齐 camera matrix/intrinsic,但重复位置由 supervision mask> 排除出 pose loss。该修订不改 JSONL 样本配额,也不引入生成答案时未见过的新视角。## 1. 一句话结论161 unmodified linespose-only 训练启用同一序列共享参数的 ColorJitter;validation 和 overfit 禁用增强。jointcategory detection 保持生成时的 N=2/4/6/8 有效图片集合、canonical image 0 和固定 scenescale,不动态 re-anchor。正式 loader 在 encode 前重复最后一个 image/camera matrix/intrinsic补齐到 N=128;重复位置参与完整 128-view 计算,但不参与 joint pose loss。注意:正式训练现在对 pose、joint、QA-only、VSI image/video 全部使用 N=128 runtime shape。N、`max_pixels` 和显存/上下文长度共同决定峰值开销;如果需要固定 N=32,应作为明确的Cambrian-P-32f 对齐实验单独启动,而不是在同一训练中混合 N。## 7. 训练方式的改动74 unmodified lines- cosine scheduler,3% warm-up,gradient clip 1.0;- 4 卡 launcher 的默认 effective global batch 仍是 256,每卡每个 optimizer step精确累计 64 条样本;`--gradient-accumulation-steps=64` 在 cost-aware 模式中表示“每卡样本预算”。所有 runtime sample 都是 N=128、micro-batch 1,因此每个完整 optimizerstep 固定为每卡 64 次 forward;- 原始 N=1/2/4/6/8 只保留为数据配额和审计桶。loader 通过 `--qa-target-num-views=128`重复末视角补齐 QA;pose-only、VSI rec/video 本身已经是 128。所有正式 stream 每卡micro-batch 均为 1,不再把多条低 N QA 合入同一次 forward;- 13,754 个 optimizer steps 中 13,749 个是 rank 同步的单任务/原始视图桶,只有 5 个不可整除尾数 step 混合。固定 128-view 后完整 run 每卡为 880,256 次 forward;- existing QA-only 先按原始行数为 N=1/2/4/6 桶分配精确整数 quota,再在同 N 的物理shards 内按行数采样;VSI QA-only 拆成 N=1 image 与 N=128 video 两个调度桶。所有302,005 条唯一 VSI QA 仍先完整访问,再做原定的 183 条 batch-alignment repeat;- 所有任务现在都保持 N=128、micro-batch 1,消除由原始 N=1/2/4/6/8/128 切换造成的view-count 显存跳变。图片实际分辨率、文本长度以及 QA-only 是否经过 pose head 仍会带来小幅差异;正式训练已启用 backbone gradient checkpointing。若 N=128 OOM,应降低单图`max_pixels` 或实现 vision-tower chunking;- trajectory balance 在真实 batch 内按样本分别除以各自轨迹长度再取平均,避免合批后用 batch 平均轨迹长度改变原先 batch=1 的 pose-loss 语义。QA 补齐视角的 camera target由显式 valid mask 排除,���始 N-view pose 监督权重不变;- DDP 混合 SFT 时启用 `find_unused_parameters=True`,因为普通 SFT batch 不走 pose head;- pose validation 使用 scene-disjoint ScanNet++ val shard;- QA validation 同样在 runtime 补齐到 128 views,使用 15 个 held-out 物理 shard,覆盖9 个逻辑任务族;默认每 250 step按任务族等权抽 32 条/每 rank,同一 single-view 任务的 4 个 part 再按行数分权,记录teacher-forced LM loss、perplexity、joint loss、以及仅在带64 unmodified lines- [ ] 正式训练使用 scene indexes 和 `--strict-scene-level`;- [ ] `--val-sft-shards` 已指向 15 个 held-out QA part,并通过`--val-sft-source-weights` 对 9 个逻辑任务族等权,日志同时出现 `eval` 与 `eval_sft`;- [ ] 确认 pose 与所有 QA stream 日志中的 runtime N 都为 128、local micro-batch 都为 1;- [ ] 根据显存确定 `max_pixels`,必要时启用 vision-tower chunking;- [ ] checkpoint 同时保留 `qwen35/` 和 `training_aux/pose_head.pt`;- [ ] 实验记录注明是 scratch、pose-init,还是未来实现的 full resume。9 unmodified lines101112131415161718161 unmodified lines18018118218318418518618718818919074 unmodified lines26526626726826927027127227327427527627727827928028128228328428528628728828929064 unmodified lines3553563573583593603613629 unmodified lines> scene-normalized supervision:pose translation、box center、box size 必须除以同一个固定> `scene_scale_m`。旧 metadata、旧 trainer 和旧 metric overfit 结果不得与当前版本混用。> 2026-08-26 显存预算修订:正式 trainer 保留 QA/SFT 的原始 N,不再重复图片补到128。> 每卡每次 forward 按约128个总视角合批:N=2/4/6/8/128 对应> batch=64/32/21或22/16/1。该修订不改 JSONL、样本配额或答案监督。## 1. 一句话结论161 unmodified linespose-only 训练启用同一序列共享参数的 ColorJitter;validation 和 overfit 禁用增强。jointcategory detection 保持生成时的 N=2/4/6/8 有效图片集合、canonical image 0 和固定 scenescale,不动态 re-anchor,也不补图。正式 loader 把相同 N 的多条样本合入一个 forward,通过 local batch 调到约128个总视角;camera pose 对每条样本的原始 N 个位置正常监督。注意:约128个总视角只是 vision 输入预算;图片分辨率、batch 后文本 padding、是否执行pose head 等仍会影响实际峰值显存。## 7. 训练方式的改动74 unmodified lines- cosine scheduler,3% warm-up,gradient clip 1.0;- 4 卡 launcher 的默认 effective global batch 仍是 256,每卡每个 optimizer step精确累计 64 条样本;`--gradient-accumulation-steps=64` 在 cost-aware 模式中表示“每卡样本预算”。N=2/4/6/8/128 的正常 forward 分别使用 local batch64/32/21或22/16/1,对应总视角 128/128/126或132/128/128;- loader 通过 `--target-views-per-forward=128` 计算 micro-batch,不改原始 QA 图片、prompt或 camera target。pose-only、VSI rec/video 本身为 N=128、batch=1;- N=1 因每卡 optimizer 样本预算只有64而封顶为 batch=64;若强行使用128会把 effectiveglobal batch 从256改成512;- 13,754 个 optimizer steps 中 13,750 个是 rank 同步的单任务/原始视图桶,只有 4 个不可整除尾数 step 混合。完整 run 每卡为 274,021 次 forward;- existing QA-only 先按原始行数为 N=1/2/4/6 桶分配精确整数 quota,再在同 N 的物理shards 内按行数采样;VSI QA-only 拆成 N=1 image 与 N=128 video 两个调度桶。所有302,005 条唯一 VSI QA 仍先完整访问,再做原定的 183 条 batch-alignment repeat;- 正常 N=2/4/6/8/128 forward 都保持约128个总视角。N=1 和少量精确配额尾 batch 较低;图片实际分辨率、文本 padding、batch 维度以及 QA-only 是否经过 pose head 仍会带来差异。正式训练已启用 backbone gradient checkpointing;若该预算 OOM,应降低单图`max_pixels` 或降低 `--target-views-per-forward`;- trajectory balance 在真实 batch 内按样本分别除以各自轨迹长度再取平均,避免合批后用 batch 平均轨迹长度改变原先 batch=1 的 pose-loss 语义;- DDP 混合 SFT 时启用 `find_unused_parameters=True`,因为普通 SFT batch 不走 pose head;- pose validation 使用 scene-disjoint ScanNet++ val shard;- QA validation 保留原始视角,使用 15 个 held-out 物理 shard,覆盖9 个逻辑任务族;默认每 250 step按任务族等权抽 32 条/每 rank,同一 single-view 任务的 4 个 part 再按行数分权,记录teacher-forced LM loss、perplexity、joint loss、以及仅在带64 unmodified lines- [ ] 正式训练使用 scene indexes 和 `--strict-scene-level`;- [ ] `--val-sft-shards` 已指向 15 个 held-out QA part,并通过`--val-sft-source-weights` 对 9 个逻辑任务族等权,日志同时出现 `eval` 与 `eval_sft`;- [ ] 确认 N=2/4/6/8/128 stream 的常规 local micro-batch 分别为64/32/21或22/16/1,并检查日志中的总视角接近128;- [ ] 根据显存确定 `max_pixels`,必要时启用 vision-tower chunking;- [ ] checkpoint 同时保留 `qwen35/` 和 `training_aux/pose_head.pt`;- [ ] 实验记录注明是 scratch、pose-init,还是未来实现的 full resume。
47 unmodified lines48495051525354555657585960616263646550 unmodified lines11611711811912012112212347 unmodified linestrajectory repeats its final selected frame to reach 128. The previous dynamicchoice over 2/4/6/8/16/24/32/64/128 was our extension and is no longer used bythe formal launcher. Joint category-detection rows keep their generatedN=2/4/6/8 effective views and canonical anchor, then repeat their final view atruntime to reach the same N=128 input shape.## 2026-08-26 fixed-128 QA alignmentThe formal four-GPU launcher keeps global batch 256 and runtime-pads everysource N=1/2/4/6/8 QA/SFT row to 128 views by repeating its final image. Jointcamera matrices and intrinsics are repeated in lockstep, while a supervisionmask excludes repeated positions from pose loss. Every stream now usesper-device micro-batch 1, eliminating view-count memory jumps without changingsample quotas or adding unseen scene evidence. The complete run makes 880,256forwards per rank; backbone gradient checkpointing remains enabled.## Layout and extraction50 unmodified linestraining does not repeatedly seek MP4 files. Existing QA-only shards are selectedwith exact row-count-proportional quotas per source N=1/2/4/6 bucket, then sampledin proportion to shard rows inside that bucket. VSI image N=1 and video N=128retain separate accounting buckets, but both execute as runtime N=128,micro-batch 1. Validation is uniform across nine logical task families. Every250 steps it evaluates both held-out camera pose and all 15QA validation parts.47 unmodified lines484950515253545556575859606162636450 unmodified lines11511611711811912012112247 unmodified linestrajectory repeats its final selected frame to reach 128. The previous dynamicchoice over 2/4/6/8/16/24/32/64/128 was our extension and is no longer used bythe formal launcher. Joint category-detection rows keep their generatedN=2/4/6/8 effective views and canonical anchor without runtime view padding.## 2026-08-26 128-total-view QA batchingThe formal four-GPU launcher keeps source QA images unchanged and targets about128 aggregate views per local forward. N=2/4/6/8/128 use micro-batch64/32/21-or-22/16/1, giving 128/128/126-or-132/128/128 total views. N=1 iscapped at batch 64 by the existing 64-sample per-rank optimizer budget, whichpreserves global batch 256. Sample quotas, answers, and camera targets do notchange. The complete run makes 274,021 forwards per rank; backbone gradientcheckpointing remains enabled.## Layout and extraction50 unmodified linestraining does not repeatedly seek MP4 files. Existing QA-only shards are selectedwith exact row-count-proportional quotas per source N=1/2/4/6 bucket, then sampledin proportion to shard rows inside that bucket. VSI image N=1 and video N=128retain separate accounting buckets and use local micro-batch 64 and 1,respectively. Validation is uniform across nine logical task families. Every250 steps it evaluates both held-out camera pose and all 15QA validation parts.
26 unmodified lines272829303126 unmodified linesa66416b1ccd05394675d72bd67d4c460c054d9ec8174c59c0ac8ec4958f7afa6 qwen35_cambrian_3d_training_v0_1-images-026.tarae23312cc106864da8fef202ce22acf0a93c3c775178858d9e742daa873cc77d qwen35_cambrian_3d_training_v0_1-images-027.tar8e38ca199011b2979f3d89430dc4f930c46519e5fbdae6e950483893e0df67dc qwen35_cambrian_3d_training_v0_1-images-028.tar5bb01cd6b464d58610e19144fd63bac22009dbaaf25b95e64e4136792d33fb84 qwen35_cambrian_3d_training_v0_1-metadata-000.tar1f3f2571819c838760cef13d221ae7dd259eea2f5ca6868ef2f5322d7145d9a7 qwen35_cambrian_3d_training_v0_1-model-000.tar26 unmodified lines272829303126 unmodified linesa66416b1ccd05394675d72bd67d4c460c054d9ec8174c59c0ac8ec4958f7afa6 qwen35_cambrian_3d_training_v0_1-images-026.tarae23312cc106864da8fef202ce22acf0a93c3c775178858d9e742daa873cc77d qwen35_cambrian_3d_training_v0_1-images-027.tar8e38ca199011b2979f3d89430dc4f930c46519e5fbdae6e950483893e0df67dc qwen35_cambrian_3d_training_v0_1-images-028.tar51fe8bc3389b05cecdf9a42710282237908cf9099242572cbcd0d6e4e3118b6f qwen35_cambrian_3d_training_v0_1-metadata-000.tar1f3f2571819c838760cef13d221ae7dd259eea2f5ca6868ef2f5322d7145d9a7 qwen35_cambrian_3d_training_v0_1-model-000.tar
123version https://git-lfs.github.com/spec/v1oid sha256:5bb01cd6b464d58610e19144fd63bac22009dbaaf25b95e64e4136792d33fb84size 20289136640123version https://git-lfs.github.com/spec/v1oid sha256:51fe8bc3389b05cecdf9a42710282237908cf9099242572cbcd0d6e4e3118b6fsize 20289136640
qwen35_cambrian_3d_training_v0_1/MODEL_TRAINING_CHANGES.md+23-24
qwen35_cambrian_3d_training_v0_1/README.md+11-12
qwen35_cambrian_3d_training_v0_1/SHA256SUMS+1-1
qwen35_cambrian_3d_training_v0_1/qwen35_cambrian_3d_training_v0_1-metadata-000.tar+1-1