Skip to content

Lion Optimizer #262

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Lion Optimizer #262

wants to merge 5 commits into from

Conversation

JamesPerlman
Copy link
Contributor

@JamesPerlman JamesPerlman commented Feb 16, 2023

New optimizer, fresh off the press! Chen, et al., 2023. "Symbolic Discovery of Optimization Algorithms" describes the Evolved Sign Momentum optimizer, or "Lion."

I had to try it out with NeRF but I haven't gotten great results yet. The config file I added here did give me some good results with mlp_learning_an_image that appear to rival Adam, but I haven't done extensive benchmarking.

Code was rewritten from https://github.com/google/automl/blob/master/lion/lion_pytorch.py - enjoy!

@Tom94
Copy link
Collaborator

Tom94 commented Feb 16, 2023

Hi, thank you for the contribution -- that was very fast! :)

I'm afraid I don't have time to review right now, but should be able to get to it ~next week.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants