Giter Site home page Giter Site logo

OOM when load model about chinese-xlnet HOT 4 CLOSED

ymcui avatar ymcui commented on June 18, 2024
OOM when load model

from chinese-xlnet.

Comments (4)

ymcui avatar ymcui commented on June 18, 2024 1

Which model did you use? XLNet-mid or XLNet-base?
If XLNet-mid doesn't work for you, you should try XLNet-base.
If XLNet-base still cannot fit into your GPU, then it would be not possible to use these models.

from chinese-xlnet.

ghostyoona avatar ghostyoona commented on June 18, 2024

@ymcui Thank you for reminding me! I'll try the XLNET-base model.

from chinese-xlnet.

ymcui avatar ymcui commented on June 18, 2024

Also note that, there will be a few cases that you will got OOM error because you did not use proper a version of TensorFlow. The officially tested version is 1.13.1. See: https://github.com/zihangdai/xlnet#fine-tuning-with-xlnet

from chinese-xlnet.

ghostyoona avatar ghostyoona commented on June 18, 2024

@ymcui LOL, it seems that 11GB is too small to run XLNET.
ThumbUP & ShakeHands!

from chinese-xlnet.

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.