Giter Club home page Giter Club logo

Comments (5)

e-choness avatar e-choness commented on July 24, 2024 1

If I were you I would create a new environment, reinstall latest pypi of pytorch-lightning, and see if that solves your issue. I just re-ran the colab notebook and its fine, so there's got to be something wrong with your local environment.

Thank you for the quick reply. I installed pytorch-lightning just a few days ago. The issue might be my outdated transformer package. I will try it out and return with the results.

from huggingpics.

nateraw avatar nateraw commented on July 24, 2024 1

sounds good! I do think its lightning, though. My guess is a pip install -U pytorch-lightning would fix this.

from huggingpics.

nateraw avatar nateraw commented on July 24, 2024

If I were you I would create a new environment, reinstall latest pypi of pytorch-lightning, and see if that solves your issue. I just re-ran the colab notebook and its fine, so there's got to be something wrong with your local environment.

from huggingpics.

e-choness avatar e-choness commented on July 24, 2024

sounds good! I do think its lightning, though. My guess is a pip install -U pytorch-lightning would fix this.

Thank you! Updated both transformer and pytorch-lightning package. It's no longer an issue. Tuning local environment is a bit of a chore. Also some parameters such as GPU index needs to be adjusted.

from huggingpics.

nateraw avatar nateraw commented on July 24, 2024

Great! glad it worked out for you. And yea, the gpu stuff should be updated to whatever the latest syntax is. Closing this now - cheers.

from huggingpics.

Related Issues (7)

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.