We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
lion-pytorch implements a triton kernel https://github.com/lucidrains/lion-pytorch/blob/master/lion_pytorch/triton.py
lion-pytorch
It's implemented pretty simply in Lion.__init__, might be easy to integrate?
Lion.__init__
if use_triton: from lion_pytorch.triton import update_fn as triton_update_fn self.update_fn = triton_update_fn
Improve optimizer.step() performance.
optimizer.step()
With guidance on whether or not there is some complexity I'm missing, I'd be able to test and integrate this.
The text was updated successfully, but these errors were encountered:
Monkeypatched and benchmarked performance. Performance increase is below the margin of error.
Sorry, something went wrong.
No branches or pull requests
Feature request
lion-pytorch
implements a triton kernel https://github.com/lucidrains/lion-pytorch/blob/master/lion_pytorch/triton.pyIt's implemented pretty simply in
Lion.__init__
, might be easy to integrate?Motivation
Improve
optimizer.step()
performance.Your contribution
With guidance on whether or not there is some complexity I'm missing, I'd be able to test and integrate this.
The text was updated successfully, but these errors were encountered: