Code Monkey home page Code Monkey logo

Comments (6)

Xiao9905 avatar Xiao9905 commented on July 20, 2024

@lockmatrix Hi,

Interesting point. I think it worths a trial, but the problem may lie in the intolerable speed (as the memory cannot contain the full checkpoint of 260G, we need frequent disk swapping and it can be even slower compared to swapping between main memory and GPU memory).

What's your view on the speed of GLM-130B's inference? When resources are limited, do you prefer to sacrifice more generation performance or speed?

from glm-130b.

lockmatrix avatar lockmatrix commented on July 20, 2024

er, 260G is too much, it needs a smaller model for pc

from glm-130b.

lockmatrix avatar lockmatrix commented on July 20, 2024

What's your view on the speed of GLM-130B's inference? When resources are limited, do you prefer to sacrifice more generation performance or speed?

I prefer sacrifice more generation performance, It will be much more useful if a cheaper PC can inference it.
M1Ultra (mac studio) costs 30k RMB, has 128GB memory, which is cheaper than 8* RTX 3090.
For people only want to inference it but not train it, get 8* RTX 3090 is not a good idea.

from glm-130b.

Xiao9905 avatar Xiao9905 commented on July 20, 2024

@lockmatrix ,

Have you ever tried GLM's 10 billion version? We provide an English and a Chinese monolingual GLM-10B version, and according to my estimation, it only requires about 40G memory when using FP16.

from glm-130b.

lockmatrix avatar lockmatrix commented on July 20, 2024

Have you ever tried GLM's 10 billion version? We provide an English and a Chinese monolingual GLM-10B version, and according to my estimation, it only requires about 40G memory when using FP16.

No.
I will try it when I get a M1Max

from glm-130b.

Xiao9905 avatar Xiao9905 commented on July 20, 2024

Great. Thanks for your advice.

from glm-130b.

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.