cortex-lab / Suite2P

Tools for processing 2P recordings
Other
120 stars 65 forks source link

running suite2p with GUI on GPUs #173

Open vickerse1 opened 5 years ago

vickerse1 commented 5 years ago

Hello,

I have been running suite2p with ssh on a GPU cluster with Jupyter-Lab, with some success.

However, now I want to switch to using the GUI using X11 protocol...but it seems that the default setting in the GUI is to not use the GPUs...

How and where, exactly, do I change the necessary parameters to get maximum performance out of the GPUs? What are the necessary parameters? I guess num_workers, num_workers_roi, and ops.useGPU?

I tried loading the ops file from an earlier run with Jupyter-Lab...where num_workers was 0 and num_workers_roi was -1....I don't know what the ops.useGPU value was set at (default)...and it gave me a memory error.

I am running on a 3 (or sometimes a 2) NVIDIA GPU cluster.

Thanks,

Evan

carsen-stringer commented 5 years ago

I think you may be in the wrong repository :) the python version doesn't use the GPU (although the matlab version did). See this issue

In terms of computer specs, I'd recommend 32GB of RAM + an intel i7 (or greater) desktop CPU. We use standard desktop computers to run suite2p.