Description
Hey,
I am using vllm==0.1.3 with ray >= 2.5.1 on aws sagemaker, with cuda 11.8 and llama2-13b-chat-hf.
When I am using the batch processing function (model.generate , with 3/6/15/30/45/60/105/120 texts as python list, all texts are the same one, only different number of them), the 4 gpus cluster (4 x a10g, ml.g5.12xlarge) is faster in all cases against the 8 gpus cluster (8 x a10g, ml.g5.48xlarge). I wonder maybe the tensor parallel is not working well with more than 4 gpus, or the cuda drivers not utilising them as it should be.
The temp params I am using are:
"temperature": 0.1,
"top_p": 0.75,
"top_k": 40,
"max_tokens": 256,
"frequency_penalty": 1.07,
"use_beam_search": False,
"stop": ["<|endoftext|>",'[INST]', '']
for example, for 105 texts, the 4gpus cluster doing it in 47secs, and the the 8gpus cluster doing it in 59.2 secs. Also, for 60 texts the 4gpus cluster doing it in 27secs, and the the 8gpus cluster doing it in 37.3 secs.
I can provide another examples if needed.
Thanks!