Skip to content

Commit

Permalink
Use vllm serve
Browse files Browse the repository at this point in the history
  • Loading branch information
mgoin committed Sep 3, 2024
1 parent 3ae705b commit 6f980a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tasks/src/local-apps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ const snippetLocalAI = (model: ModelData, filepath?: string): LocalAppSnippet[]
const snippetVllm = (model: ModelData): string[] => {
return [
["# Install vLLM from pip", "pip install vllm"].join("\n"),
["# Load and run the model:", `python -m vllm.entrypoints.openai.api_server --model "${model.id}"`].join("\n"),
["# Load and run the model:", `vllm serve "${model.id}"`].join("\n"),
];
};

Expand Down

0 comments on commit 6f980a0

Please sign in to comment.