GithubHelp home page GithubHelp logo

你好,我用您的代码跑不管是multi还是默认的都无法自动部署在多卡上,请问需要调整代码解决吗,GPU是Tesla T4*4 about chatglm3-finetune HOT 3 OPEN

carlson99999 avatar carlson99999 commented on July 25, 2024
你好,我用您的代码跑不管是multi还是默认的都无法自动部署在多卡上,请问需要调整代码解决吗,GPU是Tesla T4*4

from chatglm3-finetune.

Comments (3)

xxw1995 avatar xxw1995 commented on July 25, 2024

目前finetune.py是不支持多卡的 multi版本严格意义上说也不是多卡 虽然能调用多张GPU训练 但其实是手动映射了device 如果需要多卡训练需要把代码修改成torchrun分布式

from chatglm3-finetune.

carlson99999 avatar carlson99999 commented on July 25, 2024

好的,谢谢,目前用multi起来了,但是跑到一半服务器断网了,请问有什么办法从output/checkpoint续跑

from chatglm3-finetune.

xxw1995 avatar xxw1995 commented on July 25, 2024

好的,谢谢,目前用multi起来了,但是跑到一半服务器断网了,请问有什么办法从output/checkpoint续跑

从checkpoint中用peft的方式加载最新的lora.pt训练即可。目前已支持deepspeed。

from chatglm3-finetune.

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.