Skip to content

Conversation

@jrmaddison
Copy link
Contributor

Only set the gradient norm for cases where the Riesz map is configured elsewhere.

NLS seems to use the gradient norm, even though the optimizer is not fully configured to use the Riesz map, e.g. the identity perturbation at https://petsc.org/release/manual/tao/#newton-line-search-method-nls.

Includes #239, which should be reviewed/merged first.

@jrmaddison jrmaddison changed the title Avoid partial use of a Riesz map Avoid partial use of a Riesz map in TAO optimizers Nov 13, 2025
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.

1 participant