Coder Social home page Coder Social logo

Comments (2)

MarcSeebold avatar MarcSeebold commented on April 20, 2024

Update: It works with "codegen-350M-mono"

from fauxpilot.

moyix avatar moyix commented on April 20, 2024

Yep, this line is the root cause:

download_and_convert_model.sh: line 9:     8 Killed                  python3 codegen_gptj_convert.py --code_model Salesforce/${MODEL} ${MODEL}-hf

While converting the model, it loads the original model and the new model into RAM at once, so for the 16B versions that uses... a lot of RAM ๐Ÿ˜ฌ

Doing the conversion piecemeal (e.g. layer by layer) is possible but I'd need to look a bit more deeply into the exact format of the pytorch_model.bin format.

Another option is that I could try to host preconverted versions somewhere; they're pretty big though:

1.4G    codegen-350M-mono-1gpu
1.4G    codegen-350M-mono-2gpu
1.4G    codegen-350M-multi-1gpu
1.4G    codegen-350M-multi-2gpu
11G     codegen-2B-mono-1gpu
11G     codegen-2B-mono-2gpu
11G     codegen-2B-multi-1gpu
11G     codegen-2B-multi-2gpu
27G     codegen-6B-mono-1gpu
27G     codegen-6B-mono-2gpu
27G     codegen-6B-multi-1gpu
27G     codegen-6B-multi-2gpu
60G     codegen-16B-mono-1gpu
60G     codegen-16B-mono-2gpu
60G     codegen-16B-multi-1gpu
60G     codegen-16B-multi-2gpu

I'll look into seeing what the options for doing that are.

from fauxpilot.

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.