Push each checkpoint's learner state to runs/ with Git LFS
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
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分
- マージ済み PR(30日)
- 164
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
neurodata/prolearn の issue をすべて見る
似ている issue
-
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 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
freelawproject/litigant-portal#1307 ·
メンテナーはふだん 2 日以内に返信
-
type/bug
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
h2oai/h2o-llmstudio#1163 ·
メンテナーはふだん 1 日以内に返信