Say I have a main function that ends up calling ray.get 10 times. Is it better to initialize ray once, run the main function, and stop ray? Or is it better to initialize and stop ray each time I call ray.get?
Starting/stoping Ray incurs high overhead. I’d suggest only do them once.