Package profile
xgrammar
- Summary: Efficient, Flexible and Portable Structured Generation
- Author: MLC Team
- Homepage: https://xgrammar.mlc.ai/
- Source: https://github.com/mlc-ai/xgrammar (Repo profile)
- Number of releases: 24
- First release: 0.1.0 on 2024-11-22
- Latest release: 0.1.21 on 2025-07-10
Releases
PyPI Downloads
Dependencies
Xgrammar has 11 dependencies, 5 of which optional.Dependency | Optional |
---|---|
mlx-lm | false |
ninja | false |
pydantic | false |
torch | false |
transformers | false |
triton | false |
huggingface-hub | true |
protobuf | true |
pytest | true |
sentencepiece | true |
tiktoken | true |