Support random.get_state(), random.set_state().
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- numpy, python
調査の方向性
まず PR #253 の議論と、ここで説明されている numpy.random get_state() および set_state() の動作を読みます。通信コストが過大にならないように、エンジンごとのジェネレーター状態のリストを保存および復元する方法を決定します。分散ユーザーが初期の決定論的な seed なしでもグローバルな PRNG 状態を復元できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
It would be nice to support the numpy.random methods get_state() and set_state() for the distributed system. This would let the user save and restore the global prng generator state, even when they did not use a deterministic seed to begin with.
For the distributed system, this would presumably work with a list of generator states, one per engine, since these are in general different. I started to try an implement this in PR #253, but the data being communicated is fairly large (about 624 integers per engine), which was slow. This specific usage was considered less important than what #253 provides, so this issue is created to note the desire for later.
- 主要言語
- Python
- スター
- 5
- フォーク
- 1
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
enthought/distarray のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 30/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
enthought/distarray の issue をすべて見る
似ている issue
-
triage/confirmed
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
NousResearch/hermes-agent#118866 ·
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
apache/cloudstack#14222 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100