Replies: 1 comment
-
I don't know about the overall question, but regarding using them as pytree nodes, there's a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So, I'm trying to use deluca to parallelize my Reinforcement Learning loop, the idea is to run the same agent-environment pair with different random seeds so I can get mean and standard deviation of rewards. Right now I'm creating a list of agents, each with a different random seed, and trying to broadcast the environment, but when I use pmap I get the following error:
Here's a link to the colab reproducing the error.
Do I have to reshape things? Doesn't pmap work with lists? Or is the problem that the agents don't count as pytrees? Can I register then as one?
Beta Was this translation helpful? Give feedback.
All reactions