GithubHelp home page GithubHelp logo

process killed about stablelm HOT 4 CLOSED

gmankab avatar gmankab commented on August 17, 2024
process killed

from stablelm.

Comments (4)

mcmonkey4eva avatar mcmonkey4eva commented on August 17, 2024

To run a 7B LLM, you need significantly more RAM than that, and a decent amount of VRAM.

A sudden killed with no further explanation means RAM ran out usually.

from stablelm.

gmankab avatar gmankab commented on August 17, 2024

To run a 7B LLM, you need significantly more RAM than that, and a decent amount of VRAM.

A sudden killed with no further explanation means RAM ran out usually.

@mcmonkey4eva, how many ram do i need?

from stablelm.

mcmonkey4eva avatar mcmonkey4eva commented on August 17, 2024

Look at the size of the file you're loading - that's the bare minimum, you need to have more than the filesize available as RAM. The StableLM-7B-Base model release is around 32GiB.

You can save yourself some pain by using preconverted weights, eg this llama.cpp (ggml) conversion of StableLM-7B-Tuned only takes up 5GiB https://huggingface.co/cakewalk/ggml-q4_0-stablelm-tuned-alpha-7b or this GPTQ conversion https://huggingface.co/ldilov/stablelm-tuned-alpha-7b-4bit-128g-descact-sym-true-sequential (note: these are third party upload by random huggingface users, so apply reasonable caution when testing files) with tools capable of loading those versions (eg https://github.com/oobabooga/text-generation-webui)

from stablelm.

gmankab avatar gmankab commented on August 17, 2024

thank you

from stablelm.

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.