CLUSTER initialization with cpus

I have 4cpus but when i initialize the cluster saying ray start --head --num–cpus=14 .It created a cluster with out any error .i don’t know how it created !!! CAN SOMEONE EXPLAIN ME .

I suppose Ray just takes whatever the number you provided into --num-cpus at face value and uses it for scheduling. Any modern operating system can run more threads that there are available CPU cores by juggling CPU time between processes.

1 Like