Limiting the number of cores/threads used in PyMC5.6+

You can try setting the environment variable OMP_NUM_THREADS=1.