Code Monkey home page Code Monkey logo

Comments (13)

kashif avatar kashif commented on June 3, 2024

coming up after a short recoup! stay tuned. Essentially since its a gluonts Estimator, one should be able to estimator.train() on your data but we need to remove some bespoke fields that were left behind in the lightning callbacks...

from lag-llama.

ashok-arjun avatar ashok-arjun commented on June 3, 2024

Yes, as @kashif says, the fine-tuning scripts are coming soon. Scripts to load datasets in custom formats are also coming soon. Thank you for your patience.

from lag-llama.

kashif avatar kashif commented on June 3, 2024

@zhilif have a look at the colab https://colab.research.google.com/drive/1uvTmh-pe1zO5TeaaRVDdoEWJ5dFDI-pA?usp=sharing

from lag-llama.

shahrokhvahabi avatar shahrokhvahabi commented on June 3, 2024

@kashif thank you for providing the code. Unfortunately, I got this error during fine-tuning:

TypeError: model must be a LightningModule or torch._dynamo.OptimizedModule, got LagLlamaLightningModule

from lag-llama.

kashif avatar kashif commented on June 3, 2024

@shahrokhvahabi try to git pull, I believe its somehow running an older code

from lag-llama.

shahrokhvahabi avatar shahrokhvahabi commented on June 3, 2024

@kashif I deleted the lag-llama and cloned again it from the repository. But this error occurred again.

from lag-llama.

kashif avatar kashif commented on June 3, 2024

@shahrokhvahabi its due to the newer lightning version you have... so try do to:

!pip uninstall -A gluonts
!pip install -U gluonts[torch]

from lag-llama.

shahrokhvahabi avatar shahrokhvahabi commented on June 3, 2024

@kashif I did but the error is persistent.

from lag-llama.

kashif avatar kashif commented on June 3, 2024

ah sorry i meant to say:

!pip uninstall -A lightning pytorch-lightning gluonts
!pip install -U gluonts[torch]

from lag-llama.

shahrokhvahabi avatar shahrokhvahabi commented on June 3, 2024

ah sorry i meant to say:

!pip uninstall -A lightning pytorch-lightning gluonts
!pip install -U gluonts[torch]

Thank you for the reply @kashif . I did as you mentioned above. Could you please give me another suggestion to avoid this error?

from lag-llama.

kashif avatar kashif commented on June 3, 2024

yeah not sure what more i can do... somehow your setup is sucking in a newer version of lightning

perhaps

!pip install lightning==2.1.4 pytorch-lightning==2.1.4

from lag-llama.

shahrokhvahabi avatar shahrokhvahabi commented on June 3, 2024

@kashif Could you please send those files in the model you updated so that I can replace them manually?

from lag-llama.

kashif avatar kashif commented on June 3, 2024

make a new issue instead of hijacking this one as the original author is getting spammed unnecessarily closing this

from lag-llama.

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.