GithubHelp home page GithubHelp logo

Comments (6)

zhengbw0324 avatar zhengbw0324 commented on May 17, 2024

@doublecheng12 您好!
目前我们参数设置是每个GPU的batch size为8,GPU显存为40G,训练的时候显存一般占满。不过您可以通过减少batch size,增大gradient_accumulation_steps来节省显存。

from lc-rec.

doublecheng12 avatar doublecheng12 commented on May 17, 2024

感谢您的回复,所以是使用8*40G完成训练吗?

from lc-rec.

zhengbw0324 avatar zhengbw0324 commented on May 17, 2024

@doublecheng12
是的,8卡40G,但实际上更少的卡也可以训练,只是速度可能较慢,或者可以尝试使用lora微调,我们也提供了代码。

from lc-rec.

doublecheng12 avatar doublecheng12 commented on May 17, 2024

再次感谢您的回复,这份工作的想法十分的novel,请问80G的显存可以完成这样的工作吗?因为我的实验室并没有这么多的卡?也许最多只能申请1-2张a800

from lc-rec.

zhengbw0324 avatar zhengbw0324 commented on May 17, 2024

80G的单张A800我没有尝试过,但两张80G的是一定可以的。

from lc-rec.

doublecheng12 avatar doublecheng12 commented on May 17, 2024

感谢您这么晚的回复,祝您科研顺利

from lc-rec.

Related Issues (3)

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.