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

add notes to sglang installation to use xgrammar grammar backend for memory efficiency #7977

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

arnavsinghvi11
Copy link
Collaborator

@arnavsinghvi11 arnavsinghvi11 commented Mar 18, 2025

Related to issues raised in SGLang - sgl-project/sglang#3375 and sgl-project/sglang#3383

Launching SGLang servers with --grammar-backend xgrammar is more memory-friendly than the default outlines backend (helps reduce/remove errors like sqlite3.DatabaseError: database disk image is malformed when running DSPy under high concurrency)

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.

1 participant