Each Ray worker spawns a separate process, therefore you will run into such issues. You should do all the argument parsing outside the trainable function, and pass the values in config
or through tune.with_parameters
.
1 Like