Seed of envs while using multi works/vector envs

Dear RAY/RLLIB team, thanks for your amazing project!

I have a question about what’s your strategy to set envs seed? When I used num_workers==10,num_envs_per_worker==10, I found in each env, they have exactly the same seed. I don’t think that’s correct . Maybe I used it wrong way.

Any suggestion on how to best set seed for each envs? and make sure they are not the same?

Much Thanks!

If the environment has a seed function it should be seeded by each individual worker with seed + worker_id in my understanding.

Yes Got it, Thanks much!