Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MJX collision between Ellipsoid / Cylinder and Hfield #2420

Open
youwyu opened this issue Feb 11, 2025 · 0 comments
Open

MJX collision between Ellipsoid / Cylinder and Hfield #2420

youwyu opened this issue Feb 11, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@youwyu
Copy link

youwyu commented Feb 11, 2025

The feature, motivation and pitch

As shown in MJX 3.2.7, ELLIPSOID and CYLINDER are implemented but only collide with other primitives. If I use mesh for wheeled robots, the GPU memory consumption will be incredible for Rough environments with hfield. If I only use the empty world with flat plane, the GPU memory consumption is also not reasonable.

Alternatives

No response

Additional context

Details for my settings. I use Mujoco-Playground and parallel 8192 wheeled robots. I use train_jax_ppo.py for training.

  1. Flat Plane
    The GPU memory will take around 20GB, much bigger than other examples (e.g., GO1) that take no more than 5GB.
  2. Rough Hfield
    W external/xla/xla/hlo/transforms/simplifiers/hlo_rematerialization.cc:3021] Can't reduce memory use below 17.42GiB (18704526550 bytes) by rematerialization; only reduced to 168.35GiB (180768929689 bytes), down from 169.22GiB (181694524993 bytes) originally
@youwyu youwyu added the enhancement New feature or request label Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant