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

Add sparse solvers support to LM adaptive damping #360

Merged
merged 4 commits into from
Nov 16, 2022

Conversation

luisenp
Copy link
Contributor

@luisenp luisenp commented Nov 14, 2022

This PR adds a method to compute Atb in the sparse linearization, which we can use for the adaptive damping computation.

I also sneaked in a change to the PGO example, to make it easier to pass optimizer kwargs.

@luisenp luisenp self-assigned this Nov 14, 2022
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 14, 2022
@mhmukadam mhmukadam changed the title Add sparse solvers support to LM Add sparse solvers support to LM adaptive damping Nov 14, 2022
Copy link
Contributor

@maurimo maurimo left a comment

Choose a reason for hiding this comment

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

LGTM!
As a very minor note for the future, it would be great to separate the PRs about refactoring and those with new functionality, here most of the code differences are the renaming of AtA to _AtA and tmat_vec/mat_vec refactor.

@luisenp luisenp merged commit 91c08cf into main Nov 16, 2022
@luisenp luisenp deleted the lep.lm_sparse_solvers branch November 16, 2022 18:15
suddhu pushed a commit to suddhu/theseus that referenced this pull request Jan 21, 2023
* Added Atb implementation for SparseLinearization.

* LM with adaptive damping now supports sparse linearization.

* Changed PGO example so that optimizer kwargs are defined in cfg.

* Fix format.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants