Skip to content

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

Open
@curname

Description

@curname

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions