The documentation(Using Actors — Ray v1.6.0) says:
Tasks: When Ray starts on a machine, a number of Ray workers will be started automatically (1 per CPU by default). They will be used to execute tasks (like a process pool). If you execute 8 tasks with num_cpus=2, and total number of CPUs is 16 (ray.cluster_resources()[“CPU”] == 16), you will end up with 8 of your 16 workers idling.
I thought there would no workers idling since each task acquires 2 CPUS so all CPUS/workers would utilized?
or does it mean that all 8 tasks are on the same 2 CPUs then that’s 14 CPUs/workers idling?