Skip to content

Commit

Permalink
[vLLM Snippet] pipeline has to be one of "text-generation", "image-te…
Browse files Browse the repository at this point in the history
…xt-to-text"
  • Loading branch information
mishig25 committed Oct 7, 2024
1 parent e60e407 commit bd1c0a2
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions packages/tasks/src/local-apps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,12 +205,13 @@ export const LOCAL_APPS = {
docsUrl: "https://docs.vllm.ai",
mainTask: "text-generation",
displayOnModelPage: (model: ModelData) =>
isAwqModel(model) ||
isGptqModel(model) ||
isAqlmModel(model) ||
isMarlinModel(model) ||
isLlamaCppGgufModel(model) ||
isTransformersModel(model),
(isAwqModel(model) ||
isGptqModel(model) ||
isAqlmModel(model) ||
isMarlinModel(model) ||
isLlamaCppGgufModel(model) ||
isTransformersModel(model)) &&
(model.pipeline_tag === "text-generation" || model.pipeline_tag === "image-text-to-text"),
snippet: snippetVllm,
},
lmstudio: {
Expand Down

0 comments on commit bd1c0a2

Please sign in to comment.