Fix and Clean up chat-template requirement for VLM (#6114)
Signed-off-by: Xinyuan Tong <justinning0323@outlook.com>
This commit is contained in:
1 parent
c178abdabc
commit
9d8ec2e67e
16 files changed
+104
-195
No files matched your search
@@ -3,7 +3,7 @@
|
||||
SGLang provides robust support for embedding models by integrating efficient serving mechanisms with its flexible programming interface. This integration allows for streamlined handling of embedding tasks, facilitating faster and more accurate retrieval and semantic search operations. SGLang's architecture enables better resource utilization and reduced latency in embedding model deployment.
|
||||
|
||||
```{important}
|
||||
They are executed with `--is-embedding` and some may require `--trust-remote-code` and/or `--chat-template`
|
||||
They are executed with `--is-embedding` and some may require `--trust-remote-code`
|
||||
```
|
||||
|
||||
## Example launch Command
|
||||
@@ -13,7 +13,6 @@ python3 -m sglang.launch_server \
|
||||
--model-path Alibaba-NLP/gme-Qwen2-VL-2B-Instruct \ # example HF/local path
|
||||
--is-embedding \
|
||||
--host 0.0.0.0 \
|
||||
--chat-template gme-qwen2-vl \ # set chat template
|
||||
--port 30000 \
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user