Skip to content

leebhoram/python_mp_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python MultiProcessing Template

A simple Python multiprocessing example with shared memory queue of numpy arrays.

The example demonstrates a derived multiprocessing.Process object that takes a numpy array as input, processes it, and return a output numpy array.

💡 Troubleshooting: installing atomics on Mac M1/M2 with arm64

If you're working on Mac with M chip, install atomics by the following:

export CFLAGS="-Wno-error=deprecated-copy"
export CXXFLAGS="-Wno-error=deprecated-copy"
pip install --no-binary=atomics atomics

reference

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages