[Spinning Up] python starts multiple scripts with different parameters at the same time
Article Directory
Foreword:
The last article said that using spinup's run_entrypoint.py can realize batch tuning in turn, but this still cannot be used well. Other CPU cores on our computer can only wait for one parameter to be adjusted at a time before it can be used in the current CPU core. Next, start the next process.
This is still not elegant enough~
so we use the mpi_fork function in mpi_tool.py to achieve multiple startups at the same time