When I call ray.init()
(or tune.run(...)
, which then eventually itself calls ray.init()
), everything hangs.
I’ve tracked down the hang to line 1257 of ray/worker.py
, which looks like this:
worker.core_worker = ray._raylet.CoreWorker(
mode, node.plasma_store_socket_name, node.raylet_socket_name, job_id,
gcs_options, node.get_logs_dir_path(), node.node_ip_address,
node.node_manager_port, node.raylet_ip_address, (mode == LOCAL_MODE),
driver_name, log_stdout_file_path, log_stderr_file_path,
serialized_job_config, node.metrics_agent_port, runtime_env_hash)
I wasn’t able to track it down further because even trying to “step in” hangs.
Using ray 1.4.1 on Windows in a python 3.7.9 venv.