Parallel Computing
Splitting large computations across cores or machines with multiprocessing, Dask, Ray or MPI.
Advanced
- Single machine:
multiprocessing,concurrent.futures, Numbaprange, joblib. - Clusters: Dask, Ray, PySpark,
mpi4py. - GPUs: CuPy, Numba CUDA, PyTorch. Measure first — overhead can outweigh gains for small tasks.
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.