Ray Worker Initialiser

How severe does this issue affect your experience of using Ray?

  • High: It blocks me to complete my task.

Hi all,
I’ve been trying to get a benchmark whipped up using Ray tasks since everything should be stateless, however, I would like to perform some initialisation on workers, what is the typical pattern for this?
I.e.
Worker gets assigned task → if initialised do task → else initialise then do task.

Is there a way to avoid using Actors for this behaviour?