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

TextualGradientDescentwithMomentum missing return statement #96

Open
jeffery1236 opened this issue Jul 29, 2024 · 1 comment
Open

TextualGradientDescentwithMomentum missing return statement #96

jeffery1236 opened this issue Jul 29, 2024 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@jeffery1236
Copy link

In the _update_prompt method of TextualGradientDescentwithMomentum, I found a missing return statement.

def _update_prompt(self, variable: Variable, momentum_storage_idx: int):

@mertyg mertyg added the good first issue Good for newcomers label Aug 2, 2024
@mertyg
Copy link
Member

mertyg commented Aug 2, 2024

ah, great catch. we never used this after all, but we should fix this in the next release. thank you @jeffery1236 !

@mertyg mertyg added the bug Something isn't working label Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants