Avoid automatic invocation of ray init

Hi, i was wondering how to turn off the behaviour which permits to ray to automatically initiate a ray cluster during the first use of ray remote API

Hmm in a glance, it is not possible to turn off this feature (seems to be hard coded). Consider creating a feature request?

@federico_marchesi, you can disable this by setting the following environment variable RAY_ENABLE_AUTO_CONNECT=0.

3 Likes