Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/feat/np-opt' into feat/np-opt
Browse files Browse the repository at this point in the history
  • Loading branch information
cremebrule committed Dec 19, 2024
2 parents 374513b + 66cfff7 commit 209a8b3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion omnigibson/controllers/osc_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -652,4 +652,6 @@ def _compute_osc_torques_numpy(


# Set these as part of the backend values
add_compute_function(name="compute_osc_torques", np_function=_compute_osc_torques_numpy, th_function=_compute_osc_torques_torch)
add_compute_function(
name="compute_osc_torques", np_function=_compute_osc_torques_numpy, th_function=_compute_osc_torques_torch
)
1 change: 0 additions & 1 deletion omnigibson/utils/transform_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,6 @@ def random_quaternion(num_quaternions: int = 1) -> torch.Tensor:
return quaternions



@torch.compile
def random_axis_angle(angle_limit: float = 2.0 * math.pi):
"""
Expand Down
4 changes: 3 additions & 1 deletion omnigibson/utils/usd_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1936,4 +1936,6 @@ def _compute_relative_poses_numpy(idx, n_links, all_tfs, base_pose):


# Set these as part of the backend values
add_compute_function(name="compute_relative_poses", np_function=_compute_relative_poses_numpy, th_function=_compute_relative_poses_torch)
add_compute_function(
name="compute_relative_poses", np_function=_compute_relative_poses_numpy, th_function=_compute_relative_poses_torch
)

0 comments on commit 209a8b3

Please sign in to comment.