Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

vllm support#1063

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
kczimm wants to merge9 commits intomaster
base:master
Choose a base branch
Loading
fromkczimm-vllm-support
Open

vllm support#1063

kczimm wants to merge9 commits intomasterfromkczimm-vllm-support

Conversation

kczimm
Copy link
Contributor

@kczimmkczimm commentedOct 11, 2023
edited
Loading

Enables support for vLLM. To use, you must specify themodel field in thetask parameter of thepgml.transform functionand you must add"backend": "vllm" in thetask parameters. For example,

SELECT*FROMpgml.transform(    task=>'{"model":"tiiuae/falcon-7b","backend":"vllm"}'::JSONB,    inputs=> Array['hello']);

A list of supported models for vLLM can be foundhere.

Only one vLLM model can be loaded per client connection process due to alimitation in vLLM. The first call topgml.transform with a given model will load the model ("cold start"), but subsequent calls will use the cached model. If you change the specified model in the same client connection, the cached model will be replaced with the new one.

@kczimmkczimm marked this pull request as ready for reviewOctober 19, 2023 20:46
@levkk
Copy link
Contributor

Rebase on master to get#1102 which should fix the tests.

kczimm reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@kczimm@levkk

[8]ページ先頭

©2009-2025 Movatter.jp