Merge pull request #1171 from GY-GitCode/24-5-19-dev

Add the autograd file for multiprocessing