Skip to content

Add finite difference and sample options to LBFGS#337

Closed
nikitakuklev wants to merge 12 commits intoxopt-org:mainfrom
nikitakuklev:nogradopt
Closed

Add finite difference and sample options to LBFGS#337
nikitakuklev wants to merge 12 commits intoxopt-org:mainfrom
nikitakuklev:nogradopt

Conversation

@nikitakuklev
Copy link
Copy Markdown
Collaborator

Added with_grad, which is passed down to scipy method. BoTorch automatically uses with torch.no_grad(), so we don't need to disable gradients ourselves. Using finite differences, non-differentiable operations can be handled reasonably.

Re-added n_raw_samples - this is supposed to be a helpful feature to ensure that restarts begin on good points. It was removed awhile back, not sure why.

@nikitakuklev
Copy link
Copy Markdown
Collaborator Author

This PR is no longer applicable since LBFGS settings will be moved to a separate object in 3.x

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