-
Notifications
You must be signed in to change notification settings - Fork 18
Enhance performance and memory efficiency of hardware parametrization #432
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
Merged
Merged
Changes from 18 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
a36797a
Simplify and speedup transform update
flferretti 0d6133b
Remove extra argument in `compute_inertia_link` and lint
flferretti 209bcb6
Add parametrization support for joint-free models
flferretti f773c27
Avoid inverting twice `L_H_G` transform
flferretti 5fc1b0b
Avoid creating two full copies of `jnp.where` branch
flferretti 56c3646
Encapsulate `HwLinkMetadata.shape` as a static attribute
flferretti 2aca2ad
Reduce memory footprint of `_convert_scaling_to_3d_vector`
flferretti 0543a16
Refactor `compute_mass_and_inertia` to use static shapes
flferretti c5caeb2
Refactor handling of unsupported links
flferretti 7d4efbb
Update hardware parametrization tests
flferretti 510fa2b
Clean up imports
flferretti 09d539c
Add more explanatory comment on shape index
flferretti 94ec899
Move computation of `scale_vector` inside `apply_scaling`
flferretti ee2df01
Rename `HwLinkMetadata` attributes
flferretti 1ab3456
Restore unsupported link handling with `jax.vmap`
flferretti 44d2d14
Remove extra arg in `compute_mass_and_inertia`
flferretti b133399
Rename `shape_types` with `link_shapes`
flferretti ce4ccfd
Remove leftover `jax.disable_jit`
flferretti 5b4920e
Fix conflicts wrt main
flferretti f8b58c1
Update variable names
flferretti File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.