Comments (1)
vLLM does not support loading an already loaded pytorch model.
Instead, the model must be loaded from disk. vLLM is compatible with the HF weight format, so just do
from vllm import LLM, SamplingParams
# load from HF
vllm_model = LLM(model="gpt2")
# load from disk
vllm_model = LLM(model="./model/gpt2")
from vllm.
Related Issues (20)
- [Bug]: Extra body don't work when response_format is also sent for serving. HOT 6
- [Feature]: Small Model Large Latency Compared to SGLang and TensorRT-LLM HOT 2
- [Bug]: `ops.scaled_fp8_quant` returns wrong shape when input shape is () HOT 1
- [Bug]: LLama3 LoRA load failed HOT 2
- [Bug]:`vllm server` will get some error and `python3 -m vllm.entrypoints.openai.api_server` is correct HOT 2
- [Bug]: internvl2-8b 提问无限循环回答 HOT 1
- [Bug]: internvl2-8b提问无限循环 HOT 2
- [Feature]: Why vllm cli not provide a config arg? HOT 4
- Create speculative decode dynamic parallel strategy HOT 1
- [Bug]: CUDA out of memory for llama3.1 70gb gptq, while in llama3 70gb gptq doesn't HOT 2
- [Feature]: continuous batching for vllm.LLM HOT 3
- [Bug]: Using LLM Engine to infer the MiniCPM-V-2_6 model, the result is wrong HOT 2
- [Bug]: vllm.engine.async_llm_engine.AsyncEngineDeadError: Background loop has errored already. HOT 2
- [Bug]: `gemma-2-27b-it-GGUF`: `Architecture gemma2 not supported` HOT 5
- [RFC]: Encoder/decoder models & feature compatibility HOT 3
- [Usage]: how to use LLM class with AsyncLLMEngine HOT 2
- [Installation]: git clone cutlass fails HOT 7
- [Misc]: Improving VLLM KVCACHE Transfer Efficiency with NCCL P2P Communication HOT 2
- [Feature]: Support block manager v2 for chunked prefill HOT 3
- [Bug]: Phi-3-vision: ERROR 08-09 11:41:40 async_llm_engine.py:56] RuntimeError: stack expects each tensor to be equal size, but got [1933, 4096] at entry 0 and [2509, 4096] at entry 1 HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vllm.