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

NumPy -> Torch #780

Merged
merged 197 commits into from
Aug 21, 2024
Merged

NumPy -> Torch #780

merged 197 commits into from
Aug 21, 2024

Conversation

hang-yin
Copy link
Contributor

@hang-yin hang-yin commented Jun 27, 2024

High level changes:

  • Numpy -> Torch conversion
  • Enforce th.float32 whenever possible
  • Simulation backend -> torch
  • Rewrite transform utils with torch jit scripts
  • Use math instead of torch whenever possible
  • Fix robot state tests
  • Remove Scipy rotation library
  • Remove trimesh transformation library
  • Reenable examples as tests
  • Fix all examples (except attachment demo seg fault)

TODO:

  • Bring performance back by getting rid of warp.synchronize() call when fetching data from annotators

@hang-yin hang-yin requested a review from cgokmen August 21, 2024 19:47
@hang-yin hang-yin merged commit bbb17d3 into og-develop Aug 21, 2024
17 checks passed
@hang-yin hang-yin deleted the torch branch August 21, 2024 19:49
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.

3 participants