lightllm icon indicating copy to clipboard operation
lightllm copied to clipboard

Support generate() like vllm, and run without docker?

Open curname opened this issue 2 years ago • 1 comments

Hi, thanks for your great work. Any plan to support generate() function like vllm or transformer? Without docker, user can also run generation code with python script. Like this:

from vllm import LLM
llm = LLM("facebook/opt-13b", tensor_parallel_size=4)
output = llm.generate("San Franciso is a")

If the framework already supports it, please give me an example, thank you very much.

curname avatar Sep 04 '23 11:09 curname

also have the same demand

zejunwang1 avatar Sep 05 '23 03:09 zejunwang1