Giter Club home page Giter Club logo

Comments (3)

jeejeelee avatar jeejeelee commented on August 24, 2024

Which version of vLLM are you using? Additionally, could you provide more detailed information about the error you're encountering?

from vllm.

cat-knight avatar cat-knight commented on August 24, 2024

Which version of vLLM are you using? Additionally, could you provide more detailed information about the error you're encountering?
vllm=0.5.4
具体信息:我用llama-factory这个项目,lora训练了 qwen2-7b-instruct,借鉴与 longlora,训练参数里还有norm和embed。之后用vllm部署 模型 和 lora(包含norm 和 embed)
vllm serve /root/autodl-fs/llm_models/qwen/Qwen2-7B-Instruct --enable-lora --lora-modules bi-lora=/root/autodl-fs/saves/Qwen2-7B-Instruct/lora/sft/checkpoint-1500/ --port 6006
上面的命令里 /root/autodl-fs/saves/Qwen2-7B-Instruct/lora/sft/checkpoint-1500/ 是lora参数(包含norm和embed)所在的目录。
访问的时候,下面的请求体会报错:RuntimeError: Loading lora /root/autodl-fs/saves/Qwen2-7B-Instruct/lora/sft/checkpoint-1500/ failed 。但访问 chat模型是没问题的(model参数改成 /root/autodl-fs/llm_models/qwen/Qwen2-7B-Instruct)
{
"model": "bi-lora",
"prompt": "你是谁",
"temperature": 0.7,
"top_p": 0.8,
"repetition_penalty": 1.05,
"max_tokens": 512
}

from vllm.

jeejeelee avatar jeejeelee commented on August 24, 2024

The cause of this error is that it caught an execution error from the previous code, so there should be error messages preceding this one. You should check the log information again.

from vllm.

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.