Possible way of using less ram, DASK arrays

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

メンテナーはふだん 3 日以内に返信

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
numpy

調査の方向性

Start by tracing how the API receives and stores the large arrays, checking whether data arrives all at once or in chunks. Compare that flow with the Dask array and h5py examples linked in the issue, accounting for the noted limitations and task overhead. Done means establishing whether chunked storage would help this use case and defining a concrete follow-up scope.

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

説明

Dask arrays are a way of storing large numpy arrays as chunks in memory, built up of several smaller arrays - i.e., we could use one array per slice.

It doesn't let you use anything with linalg or sort, but it does let you store arrays more efficiently in memory. It adds a 1ms overhead per task according to their site, but it does have examples using h5py so there's precedent for it being used for nexus data.

It depends on how we're using the API - if we're getting in everything at once, or in chunks to begin with, I don't think it'll be worthwhile but if we're getting everything at once it might be useful to store as this, rather than a huge 3d numpy array.

主要言語
TypeScript
スター
5
フォーク
2
平均マージ
2日 3時間
マージ済み PR(30日)
10

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

DiamondLightSource/davidia のほかの issue

DiamondLightSource/davidia の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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