How to run PyMC3 ten thousand times?

Hello everyone,
I’ve had some trouble recently, and hope get some help from you! I need my function “model_def” run 10,000 times, It takes a considerable amount of calculation.Therefore, I used a process-based parallel computing method by importing multiprocessing, and set the processes=4(the CPU of my computer has 4 cores). It’s theoretically possible for Pymc3 to run four sets of data at the same time. But when I run this program, it doesn’t exit properly, so I can’t get the result. Because it was just a test program, I used only four sets of data for simulation, and all of the data was in the AMD_CPU. I really hope I can get your (1.1 KB)
AMD_CPU.csv (8.1 KB)