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

Vectorized/GPU Sim Evaluation / ManiSkill 3 Port #38

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

StoneT2000
Copy link
Collaborator

@StoneT2000 StoneT2000 commented Sep 12, 2024

Closes #35 #36

@StoneT2000
Copy link
Collaborator Author

some notes on changes

  • removed tf image resize in favor of jax image resize which permits vmapping and does not have a issue where tf will allocate a lot of GPU memory if given a jax array instead of numpy.
  • 72 parallel envs + model inference uses about 18-20 GB of GPU memory. For the envs with max 60 step episodes this completes 72 episodes of octo-small evaluation in about 1 minute vs 8 minutes (depending on GPU). 8x speed improvement!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate example environments to ManiSkill 3
1 participant