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

[Question] About the derivitive mode. How I pass the derivative to the optimizer if I write the objective function with a autodifferentiation code? #93

Open
floatingCatty opened this issue Jan 10, 2023 · 1 comment

Comments

@floatingCatty
Copy link

Hello!
Thanks for providing such a powerful library.

I am currently implementing some optimization algorithm that combine the gradient descent and BO.
And the code is written with pytorch, so, in each evaluation, I can get the gradient of the loss w.r.t. the parameters.
How can I pass the gradient to the BO optimizer with derivatives to accelerate its convergence ?

Thanks a lot for your time.

@MaAl13
Copy link

MaAl13 commented Mar 19, 2024

I have the same problem

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

No branches or pull requests

2 participants