AllenNeuralDynamics / AllenNeuralDynamics/aind-large-scale-cellpose

Improve performance in GPU when processing data

Ouverte
#2 1 commentaire 1 réaction 1 personne assignée Réclamée par @camilolaiton Voir sur GitHub
enhancement
Langage dominant
Python
Étoiles
10
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

The current approach assumes that there's a single GPU processing data. However, this is not true for other users or even us when we need to scale to bigger datasets. Therefore, I need to implement a multiprocessing approach that uses all the GPUs available at the moment.

In addition to that, there's a down time in the GPU processing that is wasted. With a Z1 dataset in the 2nd multiscale, this down time is about 12 seconds when we're writing to the zarr dataset in the prediction of the gradients. The GPU should, ideally, be processing data all the time while another process should be looking at gathering the results and writing them to zarr.

The following image is an example of this:
![image](https://github.com/AllenNeuralDynamics/aind-z1-cell-segmentation/assets/36769694/845cf738-b70e-477e-b81c-39ff2cbfeb16)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.