You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi and thanks for this great simulator
I would like to know if it is possible to run multiple environments in parallel (for example Halfcheetah with different gravity coefficients). From what I understand, it is quite difficult to do so because the brax.System() of an environment is fixed and hard to change.
Ideally the step() function of an environment would take not only the state and action, but also a system as an input. But I don't think it is feasible to vectorize that object in jax, right ?
Any ideas ?
The text was updated successfully, but these errors were encountered:
But it won't work out of the box as default_qp won't produce the right results - we'd have to change the way System allocates internal fields.
That said, jax executes asynchronously - so have you tried just running multiple step() functions from multiple different brax.System() instances serially and then stacking the results? I would expect that to work OK, although it may be slow to JIT if you're doing hundreds or thousands of Systems.
That said, jax executes asynchronously - so have you tried just running multiple step() functions from multiple different brax.System() instances serially and then stacking the results? I would expect that to work OK, although it may be slow to JIT if you're doing hundreds or thousands of Systems.
Indeed this is the easiest option since acquisition is fast. Will try. Thanks !
Hi and thanks for this great simulator
I would like to know if it is possible to run multiple environments in parallel (for example Halfcheetah with different gravity coefficients). From what I understand, it is quite difficult to do so because the
brax.System()
of an environment is fixed and hard to change.Ideally the
step()
function of an environment would take not only thestate
andaction
, but also asystem
as an input. But I don't think it is feasible to vectorize that object in jax, right ?Any ideas ?
The text was updated successfully, but these errors were encountered: