dev-python/xgrammar (stuff)

Search

Install

Install this package:

emerge -a dev-python/xgrammar

Package Information

Description:
Efficient, flexible structured generation engine for LLMs
Homepage:
https://xgrammar.mlc.ai/ https://github.com/mlc-ai/xgrammar https://pypi.org/project/xgrammar/
License:
Apache-2.0 BSD-2

Versions

Version EAPI Keywords Slot
0.2.5 8 ~amd64 0
0.2.3 8 ~amd64 0
0.2.2 8 ~amd64 0

Metadata

Maintainers

Upstream

Raw Metadata XML
<pkgmetadata>
	<maintainer type="person">
		<email>iohann.s.titov@gmail.com</email>
		<name>Ivan S. Titov</name>
	</maintainer>
	<upstream>
		<bugs-to>https://github.com/mlc-ai/xgrammar/issues</bugs-to>
		<remote-id type="pypi">xgrammar</remote-id>
		<remote-id type="github">mlc-ai/xgrammar</remote-id>
	</upstream>
</pkgmetadata>

Lint Warnings

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/xgrammar | euse -E <flag> -p dev-python/xgrammar | euse -D <flag> -p dev-python/xgrammar

Flag Description 0.2.5 0.2.3 0.2.2
cuda Build the CUDA (cuda_v13) llama-server GPU backend via <pkg>dev-util/nvidia-cuda-toolkit</pkg> ⚠️

Files

Manifest

Type File Size Versions
DIST xgrammar-0.2.5.gh.tar.gz 1071195 bytes 0.2.5
DIST xgrammar-dlpack-bbd2f4d32427e548797929af08cfe2a9cbb3cf12.tar.gz 190029 bytes 0.2.5
Unmatched Entries
Type File Size
DIST xgrammar-0.2.2.tar.gz 2430492 bytes
DIST xgrammar-0.2.3.tar.gz 2447704 bytes