GithubHelp home page GithubHelp logo

Comments (7)

shibing624 avatar shibing624 commented on July 27, 2024 1

训练时用的load_in_8bit=False,量化推荐用llama.cpp转为int4:1)先merge base model, 2) 再用llama.cpp转为ggml,3)转int4。

另外,预测load_in_8bit=True没测试,我看看啥问题

from medicalgpt.

Nisoka avatar Nisoka commented on July 27, 2024

@shibing624 感谢大神的回复, 如果我想训练13B(Lora 或者 Ptuning-v2), 用4块4090可行么, 或者更具性价比的方案?例如4块V100, 1块A800?

from medicalgpt.

shibing624 avatar shibing624 commented on July 27, 2024

单卡显存大于25G可以跑lora

from medicalgpt.

Nisoka avatar Nisoka commented on July 27, 2024

那就是4090 跑 13B 不太合理? 那两块V100是否比较合适

from medicalgpt.

shibing624 avatar shibing624 commented on July 27, 2024

4090和V100都可以,用fp16

from medicalgpt.

muchengxuev587 avatar muchengxuev587 commented on July 27, 2024

我也是做inference出现这种乱码,很诡异

from medicalgpt.

shibing624 avatar shibing624 commented on July 27, 2024

update generate config: b328f87

from medicalgpt.

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.