Code Monkey home page Code Monkey logo

Comments (11)

nbardy avatar nbardy commented on May 24, 2024 2

Confirmed fixed.

from lion-pytorch.

mitchellnw avatar mitchellnw commented on May 24, 2024 1

@nbardy do you get this behaviour without triton?

one thing i noticed here is that the triton code uses auto-tune + in-place updates which may cause issues. on the first step multiple differnt kernels will be launched which all do the same thing to see what is fastest. this is unique to the first step. usually this is not a problem when training from scratch as warmup is used but it may be here

from lion-pytorch.

xiangning-chen avatar xiangning-chen commented on May 24, 2024

Hi, thanks for the datapoint.

Do you have a comparison of the commands used for running with Lion and AdamW?

from lion-pytorch.

nbardy avatar nbardy commented on May 24, 2024

@xiangning-chen same command besides the lr_opt value

from lion-pytorch.

xiangning-chen avatar xiangning-chen commented on May 24, 2024

Oh I meant the learning_rate, lr_end, and weight decay comparison for Lion and AdamW.

from lion-pytorch.

nbardy avatar nbardy commented on May 24, 2024

They are in the main post.

‘Relevant Code’ is for lion
‘Relevant parameters’ is for Adam

from lion-pytorch.

xiangning-chen avatar xiangning-chen commented on May 24, 2024

@nbardy Sorry I'm a bit confused, in Relevant parameters you set the --lion_opt flag, but this is for Adam?
Can you please just tell me the learning_rate, lr_end, and weight decay for Lion and AdamW respectively, thanks!

from lion-pytorch.

lucidrains avatar lucidrains commented on May 24, 2024

@mitchellnw thanks for bringing this to my attention Mitchell!

@nbardy do you want to see if 6ab873a addresses the issue?

from lion-pytorch.

nbardy avatar nbardy commented on May 24, 2024

I have finally got back to training more diffusion models.

Tried upgrading to lion-pytorch==0.1.2 and still getting a reset it seems on first step

https://wandb.ai/nbardy-facet/sd_xl_train_t2iadapter/runs/eey3bj1n?workspace=user-nbardy-facet

from lion-pytorch.

nbardy avatar nbardy commented on May 24, 2024
lion-pytorch==0.1.2
pytorch-triton==2.1.0+e650d3708b
triton==2.0.0
torch==2.0.1

from lion-pytorch.

nbardy avatar nbardy commented on May 24, 2024

Turned off lion and it’s still there. This is probably something else from my changes. Will test more next week.

from lion-pytorch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.