Skip to content

remove parallel linesearch#1410

Merged
thowell merged 1 commit into
google-deepmind:mainfrom
thowell:remove_parallel_linesearch
Jun 5, 2026
Merged

remove parallel linesearch#1410
thowell merged 1 commit into
google-deepmind:mainfrom
thowell:remove_parallel_linesearch

Conversation

@thowell

@thowell thowell commented Jun 5, 2026

Copy link
Copy Markdown
Collaborator

remove parallel linesearch

@thowell thowell force-pushed the remove_parallel_linesearch branch from fcfe036 to a05cf33 Compare June 5, 2026 11:51
@thowell thowell marked this pull request as ready for review June 5, 2026 15:45
@thowell thowell requested a review from erikfrey June 5, 2026 15:45

@erikfrey erikfrey left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, let's add one helpful error for future users.

Comment thread mujoco_warp/_src/io.py

@erikfrey erikfrey left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK here's a better idea i think

Comment thread mujoco_warp/_src/io.py
Comment thread mujoco_warp/_src/types.py
sdf_iterations: int
# warp only fields:
impratio_invsqrt: array("*", float)
ls_parallel: bool

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's add a custom helper like this for a few versions:

def __post_init__(self):
  if self.ls_parallel:
    raise TypeError("ls_parallel was removed in bla bla")

@retries.setter
def ls_parallel(self, value):
    if value:
      raise AttributeError("ls_parallel was removed in bla bla")```

@thowell thowell force-pushed the remove_parallel_linesearch branch from a05cf33 to 877f9a4 Compare June 5, 2026 17:36
Comment thread mujoco_warp/_src/types.py
Comment thread mujoco_warp/_src/types.py
@thowell thowell merged commit 0615687 into google-deepmind:main Jun 5, 2026
14 checks passed
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.

2 participants