Can I set specific core / number of cores to used for specific actor?

  • Medium: It contributes to significant difficulty to complete my task, but I can work around it.

I want to set specific core for specific actor. If I can set number of cores to be used by a specific actor, that would be also fine. Can anyone please suggest that how can I resolve mentioned query in ray module?

I am running ray cluster using cluster.yaml file.

Hi @shyampatel,

Ray works with logical resources. If you need to pin an actor to a particular physical core, you need to do it inside your code (e.g. via os.sched_setaffinity)

Okay. Thanks for your suggestion.