[Feature] Add arguments mapping between SGLang / vllm / trt-llm #2657
Labels
documentation
Improvements or additions to documentation
good first issue
Good for newcomers
help wanted
Extra attention is needed
RLHF
Using SGLang for post training
Checklist
Motivation
This is what I need to do for integrating SGLang into OpenRLHF. OpenRLHF already supports vllm. We need to add sglang. I need to map the server and sampling parameters from vllm to sglang. I think this is a good issue for us to let our users switch smoothly between mainstream engines.
I attached how I am doing right now. But it may be wrong.
Related resources
The args Mapping from vllm to sglang
These are the server parameters of vllm:
Among them, pretrain is the model path, and this is my mapping in sglang:
The Sampling Params Mapping from vllm to sglang
Of course, the sampling params passed in from the front end are as follows:
There may be problems with my these mappings. We need documentation as a guide.
The text was updated successfully, but these errors were encountered: