Comments (3)
You need to pass the chat template in the command, as described in the docs.
Edit: Never mind, the HF repo has a chat template defined, so that should not be necessary. Based on the HF repo page, this model does not accept system prompt.
from vllm.
You need to pass the chat template in the command, as described in the docs.
Edit: Never mind, the HF repo has a chat template defined, so that should not be necessary. Based on the HF repo page, this model does not accept system prompt.
Thank you, it did works!
docker run -d --restart unless-stopped \
--runtime nvidia --gpus all \
--name vllm_1 \
-v $HOME/data/models:/workspace/models \
-v $HOME/apps/vllm/examples:/workspace/examples \
-e CUDA_VISIBLE_DEVICES=1 \
-p 5011:8000 \
--ipc=host \
--privileged \
vllm/vllm-openai:latest \
--gpu-memory-utilization 0.96 --trust-remote-code \
--max-model-len 21000 --model /workspace/models/llava-v1.6-mistral-7b-hf \
--image-input-type pixel_values --image-token-id 32000 \
--image-input-shape "1,3,336,336" --image-feature-size 1176 \
--chat-template /workspace/examples/template_llava.jinja
from vllm.
btw, I build the docker image from commit today.
from vllm.
Related Issues (20)
- [Bug]: Garbled Tokens appears in vllm generation result every time change to new LLM model (Qwen)
- [Bug]: ValidationError using langchain_community.llms.VLLM
- [Installation]: how to disable NCCL support on Jetson cevices HOT 1
- [Bug]: benchmark_serving.py cannot calculate Median TTFT correctly HOT 3
- [Feature]: support Ascend 910B in the future HOT 1
- [New Model]: Lora for Qwen/Qwen2-57B-A14B
- [Usage]: how to initiate the gemma2-27b with a 4-bit quantization? HOT 1
- [Bug]: TypeError in benchmark_serving.py when using --model parameter
- [Gemma 2 27B]: Update docker hub image to support gemma-2-27B-it HOT 1
- [Bug]: Loading LoRA is super slow when using tensor parallel HOT 3
- [Feature]: Add readiness endpoint /ready and return /health earlier (vLLM on Kubernetes) HOT 1
- [RFC]: Priority Scheduling HOT 2
- [Feature]: Add support for interchangable radix attention
- [Usage]: Why is the useage information missing in the streaming call. Not streaming is there. HOT 2
- [Misc]: Best practice for accelerating and deploying Llava series & Phi3-Vision using vLLM
- [Usage]: How to deploy multiple models in openai api server and specify different gpu for each model? HOT 1
- [Bug]: Flashinfer stuck with CUDA Graph
- [Bug]: ray error when tp>=2 HOT 5
- Create CI jobs for Power(ppc64le)
- [Feature]: when to support GLM-4V? HOT 2
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.