Giter Club home page Giter Club logo

Comments (5)

wmcnally avatar wmcnally commented on June 14, 2024 1

Hmm. The batch size is 1 by default in eval.py. You could try lowering seq_length. Looks like you only have 4 GB of GPU memory. I used a GPU with 12 GB memory.

from golfdb.

HadhamiRjiba avatar HadhamiRjiba commented on June 14, 2024

Is there any way to know how big a model or a network my system can handle
without running into this issue?

from golfdb.

wmcnally avatar wmcnally commented on June 14, 2024

Your GPU ran out of memory. Try lowering the batch size.

from golfdb.

HadhamiRjiba avatar HadhamiRjiba commented on June 14, 2024

yes!. I reduced the batch size to 1 and now it works with train.py.. but the problem now is in running eval.py (is showing the same error) :
"RuntimeError: CUDA out of memory. Tried to allocate 58.00 MiB (GPU 0; 4.00 GiB total capacity; 2.49 GiB already allocated; 44.45 MiB free; 2.57 GiB reserved in total by PyTorch)""..
have you any idea ??

from golfdb.

HadhamiRjiba avatar HadhamiRjiba commented on June 14, 2024

@wmcnally it works..thank you

from golfdb.

Related Issues (19)

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.