fetch icon indicating copy to clipboard operation
fetch copied to clipboard

How do we limit the number of CPU cores that `predict.py` is using? / select if we want to use the GPU or CPU?

Open afinemax opened this issue 7 months ago • 1 comments

Greetings!

I am running into an issue.

I am trying to record .fil data, and I also want to run predict.py. But this causes the recording data to crash. This happens when predict.py is running. So I am trying to use the flag -NPROC to limit the number of CPUs that predict is using, but that doesn't seem to work? (at least according to htop running fetch uses all my CPU).

This also happens when leaving the -NPROC argument to the default, which I think means that my computer is trying to use its GPU.

Is there a better way to limit how do we limit the number of CPU cores that predict.py is using? / select if we want to use the GPU or CPU? I am probably missing something.

Astronomy Is looking Up, -Max

afinemax avatar Jul 18 '24 15:07 afinemax