muon icon indicating copy to clipboard operation
muon copied to clipboard

High Cpu Usage

Open liujilei156231 opened this issue 3 years ago • 1 comments

Hello, when I ran mu.pp.neighbors(mdata),cpu was used 100%. So how to set up same parameters to prevent HIGH CPU USAGE?

python 3.7 with latest muon

Thanks!

image

liujilei156231 avatar Jun 27 '22 02:06 liujilei156231

Hey @liujilei156231, this is probably something not specific to mu.pp.neighbors. Seems like you can impose resource usage limits in Python with setrlimit. I guess this might be relevant for local development and less so for HPC systems.

gtca avatar Jun 27 '22 18:06 gtca

mu.pp.neighbors always use more computing resoure than sc.pp.neighbors, and core dumped, and how to solve it;

111kakaluote avatar Dec 22 '22 08:12 111kakaluote

Hey @111kakaluote, mu.pp.neighbors has a different use case and implements a different algorithm than sc.pp.neighbors, namely WNN. So different resource usage is expected.

What are the rough dimensions of the dataset that multimodal neighbours are computed on?


As the same issue is being discussed in https://github.com/scverse/muon/issues/81, I suggest to continue the discussion there and to close this one then.

gtca avatar Jan 03 '23 23:01 gtca