Skip to content

Conversation

@LysandreJik
Copy link
Member

No description provided.

mainTask: "text-generation",
displayOnModelPage: (model: ModelData) =>
isTransformersModel(model) &&
(model.pipeline_tag === "text-generation" || model.pipeline_tag === "image-text-to-text"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are VLMs supported already? Reminder to open a PR to this page then. We can also update the blog post, it's the first Google hit for "sglang transformers".

^ I can take these whenever we are ready.

const messages = getModelInputSnippet(model) as ChatCompletionInputMessage[];

const setup = ["# Install SGLang from pip:", "pip install sglang"].join("\n");
const serverCommand = `# Start the SGLang serve:\npython3 -m sglang.launch_server --model-path ${model.id} \\
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const serverCommand = `# Start the SGLang serve:\npython3 -m sglang.launch_server --model-path ${model.id} \\
const serverCommand = `# Start the SGLang server:\npython3 -m sglang.launch_server --model-path ${model.id} \\

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants