Code Monkey home page Code Monkey logo

Comments (8)

catmeowjiao avatar catmeowjiao commented on July 21, 2024

transformers==4.27.1也可以

from chatglm.cpp.

catmeowjiao avatar catmeowjiao commented on July 21, 2024

我明白了,必须得用量化后的模型是因为我的电脑内存不足,直接加载正常的模型内存不够用,就崩了

from chatglm.cpp.

catmeowjiao avatar catmeowjiao commented on July 21, 2024

chatglm3没有提供量化过的模型,所以内存小于32G且使用CPU的无解

from chatglm.cpp.

catmeowjiao avatar catmeowjiao commented on July 21, 2024

只能用别人量化好的

from chatglm.cpp.

catmeowjiao avatar catmeowjiao commented on July 21, 2024

intel developer cloud终于维护完了,我从那上面量化一下

from chatglm.cpp.

sammichenVV avatar sammichenVV commented on July 21, 2024

请问下你们有试过GPU版本的么,我试了怎么编译都是用CPU推理

from chatglm.cpp.

TGJek avatar TGJek commented on July 21, 2024

chatglm3没有提供量化过的模型,所以内存小于32G且使用CPU的无解

我这边系统32G的内存,Windows 11操作系统,量化模型的时候因为系统还开着其他的程序所以内存不太够,但是Windows换页换页着,最后还是把模型量化好了。

from chatglm.cpp.

TGJek avatar TGJek commented on July 21, 2024

请问下你们有试过GPU版本的么,我试了怎么编译都是用CPU推理

你可以试一试构建程序前给GGML机器学习库的编译配置加上一个“使用CUBLAS”的选项

from chatglm.cpp.

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.