Possible way of using less ram, DASK arrays

Abierto
#289 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 3 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
numpy

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
5
Forks
2
Merge medio
2 d 3 h
PR fusionados (30 d)
10

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

  • Sin Dockerfile ni archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de DiamondLightSource/davidia

Todos los issues de DiamondLightSource/davidia

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.