Update mjx-warp docs.
PiperOrigin-RevId: 875966048 Change-Id: I333e8562f3db333f6c64af67cee1f735cb21232d
This commit is contained in:
committed by
Copybara-Service
parent
07cda5a3c4
commit
67b6ab0589
@@ -262,6 +262,14 @@ volume hierarchy (BVH) and executing the raycaster:
|
||||
|
||||
rgb, d = render_fn(mx, d, rc.pytree())
|
||||
|
||||
.. WARNING::
|
||||
The batch dimension ``nworld`` is fixed when the render context is created via
|
||||
:func:`~mujoco.mjx.create_render_context` since the underlying Warp render context allocates
|
||||
buffers for ``nworld`` environments that are not visible to JAX. :func:`~mujoco.mjx.render`
|
||||
will always return outputs with a leading batch dimension of size ``nworld``. Because of this,
|
||||
there is a known issue where :func:`~mujoco.mjx.render` does not play nice with a
|
||||
``jax.vmap(jax.lax.scan)``.
|
||||
|
||||
Multi-GPU rendering with ``pmap``
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user