Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
curname opened this issue Sep 4, 2023 · 1 comment
Open

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

curname opened this issue Sep 4, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@curname
Copy link

curname commented Sep 4, 2023

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.

@zejunwang1
Copy link

also have the same demand

@hiworldwzj hiworldwzj added the enhancement New feature or request label Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants