Push each checkpoint's learner state to runs/ with Git LFS
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Read the run pusher and the code that saves online learner state under $PROLEARN_RUNS/learner/, then trace how batch runs save each checkpoint record. Check .gitattributes and the CI LFS checkout configuration. Decide how the four open questions should be resolved, then make the pusher store each checkpoint's learner state under runs/<setting>/<arm>/seed<N>/step-<t>/learner/; done means figures can load state for every arm and checkpoint from runs/ on main.
由索引模型根据 Issue 内容生成。
描述
Figures that read a learner's predictions, not only its risks, need the learner's state at each checkpoint. R2c in #236 is one: the boundary each learner predicts across the horizon, against the true one. Today runs/ holds only each checkpoint's record. Online runs save their state in learner/ under $PROLEARN_RUNS on the machine that ran them, which no pusher sends anywhere. Batch runs save none, since a batch learner refit with its seed gives back the checkpoint's state.
Git LFS is already set up: .gitattributes sends *.pt, *.npz and the other binary types to LFS, and CI checks out with lfs: true.
Questions:
-
What to push. Each checkpoint's learner state, for every arm, or only for arms a figure needs.
Proposed default: every arm's state at every checkpoint, so any later figure can read it. -
Batch arms. Save their state at each checkpoint too, or refit them from the seed when a figure needs it.
Proposed default: save it, so a figure never depends on refitting matching the run. -
Format and size. A torch
state_dictas.ptand a pickle for the rest, aslearner/holds now, underruns/<setting>/<arm>/seed<N>/step-<t>/learner/. The Transformers have about 100k weights, so a checkpoint is under a megabyte, and a full sweep of 5 seeds and 11 checkpoints per arm is tens of megabytes per setting.
Proposed default: as above, with the pusher committing the LFS pointers beside the step files. -
Pickles.
state.pklis a pickle, which runs code when loaded. Loading only files from this repository's own runs keeps that safe, but a format with no code, such as.npzor safetensors, would not need that rule.
Proposed default: keep the pickle for now, and load state only fromruns/onmain.
Blocks R2c in #236.
- 主要语言
- Python
- 星标
- 0
- 派生
- 0
- 平均合并
- 2 小时 9 分钟
- 30 天内合并 PR
- 164
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
neurodata/prolearn 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 35/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 47/100
维护者通常 1 天内回复
-
Write which page each figure sits on, and what each figure draws可能已有人在做 @jovo 今天认领。 未关闭
neurodata/prolearn#272 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
维护者通常 1 天内回复
查看 neurodata/prolearn 的全部 Issue
相似的 Issue
-
A JSON chat answer blocks the backend event loop for the whole RAG run可能已有人在做 @NopeCharon 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 85/100
The-OpenROAD-Project/ORAssistant#656 ·
维护者通常 1 天内回复
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionError可能已有人在做 @jejjohnson 今天认领。 未关闭type:bug
难度 2/5 1-3 小时 新手友好度 72/100
jejjohnson/integrix#144 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
finos/ai-governance-framework#459 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复