How do I set seed (randomize) for each rollout (for a given environment, worker and vector environment)?

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

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

I know how to set a seed for a given environment, worker, vector_environment. What this does is, the same seed is used for all the training iterations and all the rollouts within that training iteration. So if you have 3 rollouts per iteration and 10 training iterations - all 3x10 = 30 rollouts use the same seed. Please advise how do I randomize i.e., set a specific seed for each of the above rollouts (episodes)? The reason is that I would like to randomize the initialization of my environment (placement/assignment of agents in multi-agent environment) for each rollout/episode.