Giter Site home page Giter Site logo

Comments (5)

fengyh3 avatar fengyh3 commented on May 18, 2024 1

@wujianming1996 尝试注释掉llama_server.py的第13行

from linly.

fengyh3 avatar fengyh3 commented on May 18, 2024

可以尝试一下:https://github.com/fengyh3/llama_inference
上述脚本是针对tencentpretrain的llama做inference的~

至于你提到的问题,我之前也试过,大概率是运行内存不够的问题。我运行内存是14G,然后加了24G的swap内存,没问题。

from linly.

ruterfu avatar ruterfu commented on May 18, 2024

啊。。我那台GPU是32G的内存。。。GenerateLm运行完毕后直接吃掉95%,然load_model,我分配了20G的虚拟内存,全部吃光然后被kill。。。分配30G虚拟内存还没试。。。腾讯云T4 GPU

from linly.

wujianming1996 avatar wujianming1996 commented on May 18, 2024

RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx
请问在部署微服务的时候如果没有GPU可以用CPU吗?

from linly.

wujianming1996 avatar wujianming1996 commented on May 18, 2024

@fengyh3 谢谢,我试试。

from linly.

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.