Possible way of using less ram, DASK arrays

Aperta
#289 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
numpy

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
TypeScript
Stelle
5
Fork
2
Merge medio
2g 3h
PR unite (30g)
10

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Nessun Dockerfile né file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DiamondLightSource/davidia

Tutte le issue di DiamondLightSource/davidia

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.