Code Monkey home page Code Monkey logo

Comments (6)

JianbangZ avatar JianbangZ commented on May 23, 2024

你用-v,看看是否正常编译了

from chatglm.cpp.

zhangtao103239 avatar zhangtao103239 commented on May 23, 2024

我这边测试也是一样,windows和linux差距特别明显,在-v中可以看到windows平台下无法使用AVX,AVX2等,Linux下正常

from chatglm.cpp.

tinelion avatar tinelion commented on May 23, 2024

@JianbangZ @zhangtao103239
谢谢回复!

  1. 用CPU-Z查询是支持AVX、AVX2的:
    image

  2. 用-v编译,确实有AVX、AVX2相关提示:
    image
    image

  3. 完整编译日志:
    build_log.txt

from chatglm.cpp.

tinelion avatar tinelion commented on May 23, 2024

使用服务器测试确实快了不少,首字符1分钟左右,后续平均每字符0.3s左右。
CPU:Intel(R) Xeon(R) Gold 5118 CPU @ 2.30GHz

from chatglm.cpp.

li-plus avatar li-plus commented on May 23, 2024

已经在windows上支持了AVX/AVX2指令集,可以pull下最新代码试试

from chatglm.cpp.

tinelion avatar tinelion commented on May 23, 2024

已经在windows上支持了AVX/AVX2指令集,可以pull下最新代码试试

非常感谢!在我的windows机器上实测速度有了明显提升,首个token耗时10-30s左右,后续每秒5-10token,不过受限于硬件水平,这个速度只能说勉强达到可用级别,再次感谢作者大大的贡献!

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.