Skip to content

AttributeError: module 'torch_optimizer' has no attribute 'Lion' #542

@SamMohel

Description

@SamMohel

I'm facing this problem while trying to access Lion optimizer
I used

import torch_optimizer as optim

optimizer = optim.Lion(ensemble_model.parameters(), lr=1e-4)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions