w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
python joblib.Parallel vs Parallel-Python: parallelise over multiple cores of a single CPU?

joblib versus Parallel-Python is primarily opinion-based which is defined as Off-Topic for Stackoverflow. But as for the other part of your question:

By CPU, I think they are referring to core.

import joblib
print joblib.cpu_count()

Gives 8 on my computer, which is exactly the number of cores I have, and I only have one CPU.

They are also based on top of multiprocessing which states:

... the multiprocessing module allows the programmer to fully leverage multiple processors on a given machine.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.