Skip to content

mdy666/vllm-infer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

启动命令

bash sglang_infer.sh --model_path /data/models/Qwen2.5-0.5B-Instruct --tp_size 1 --input_path /data/data/test.json --output_path /data/data/test --batch_size 100 --max_new_tokens 128 --core vllm

说明

如果是8张卡,tp_size设置为4,ray就会每个节点起两个actor,每个actor单独处理数据,每batch_size个输出会保存为一个json文件。类似如下形式: alt text

注意

注意设置环境变量,在shell脚本里,例如:

GPUS_PER_NODE=8
RANK=$RANK
NNODES=$WORLD_SIZE

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published