Project-MONAI / Project-MONAI/tutorials

Add tutorial on memory management

オープン
#1,435 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

feature request
主要言語
Jupyter Notebook
スター
2.5k
フォーク
803
平均マージ
6日 22時間
マージ済み PR(30日)
3

説明

See Issue https://github.com/Project-MONAI/MONAI/issues/6626 relating to memory management and interaction with the garbage collector. One solution that we've tried before and had success with was to use the GarbageCollector handler to clean unused references at certain times. This isn't ideal and not particularly Pythonic but without changes to the garbage collector to consider GPU memory there may be little choice. Certain design decisions and good practices can reduce the issue so a tutorial on the problem and how to deal with OOM issues would be really helpful.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、リンクされている issue #6626 を読み、ここで説明されている GarbageCollector handler のアプローチを確認してください。メモリ管理の問題、メモリ不足の問題を減らす設計プラクティス、および handler が未使用の参照のクリーンアップにどのように役立つかを扱うチュートリアルを作成してください。チュートリアルで問題と実践的な対処方法が明確に説明されていれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
documentation
issue の種類
ドキュメント
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。