|
|
|
|
@ -15,9 +15,21 @@ pip install -r requirements.txt |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
### Running |
|
|
|
|
1. Start vLLM server: |
|
|
|
|
1. Start vLLM server with: |
|
|
|
|
- Extended context size (to 128k) through YaRN |
|
|
|
|
- Hermes-style tools enabled |
|
|
|
|
|
|
|
|
|
```bash |
|
|
|
|
pm2 start --name vllm 'vllm serve Qwen/Qwen2.5-7B-Instruct-GPTQ-Int4 --dtype half --quantization gptq --gpu-memory-utilization 0.7 --port 8001' |
|
|
|
|
pm2 start --name vllm "vllm serve Qwen/Qwen2.5-7B-Instruct-GPTQ-Int4 \ |
|
|
|
|
--dtype half \ |
|
|
|
|
--quantization gptq \ |
|
|
|
|
--gpu-memory-utilization 0.7 \ |
|
|
|
|
--dtype half --quantization gptq \ |
|
|
|
|
--rope-scaling '{\"rope_type\":\"yarn\",\"factor\":4.0,\"original_max_position_embeddings\":32768}' \ |
|
|
|
|
--max-model-len 131072 \ |
|
|
|
|
--enable-auto-tool-choice \ |
|
|
|
|
--tool-call-parser hermes \ |
|
|
|
|
--port 8001" |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
2. Start the router: |
|
|
|
|
|