This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# test_env: pip install "sglang[all]==0.4.6.*" -U
|
||||
CUDA_VISIBLE_DEVICES=0 swift app \
|
||||
--model Qwen/Qwen2.5-7B-Instruct \
|
||||
--stream true \
|
||||
--infer_backend sglang \
|
||||
--max_new_tokens 2048 \
|
||||
--lang zh
|
||||
@@ -0,0 +1,8 @@
|
||||
CUDA_VISIBLE_DEVICES=0 swift app \
|
||||
--model Qwen/Qwen2.5-7B-Instruct \
|
||||
--stream true \
|
||||
--infer_backend vllm \
|
||||
--max_new_tokens 2048 \
|
||||
--vllm_gpu_memory_utilization 0.9 \
|
||||
--vllm_max_model_len 8192 \
|
||||
--lang zh
|
||||
Reference in New Issue
Block a user