BSD Ports

misc/py-xgrammar 0.1.33_1 FreeBSD

Efficient, flexible and portable structured generation

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
APACHE20
Categories
misc, python

Description

xgrammar enables efficient, flexible and portable structured generation for large language models. It provides grammar-constrained decoding that works with JSON schemas, regular expressions, and custom context-free grammars.

Install

Binary package:

pkg install py312-xgrammar

From the ports tree:

cd /usr/ports/misc/py-xgrammar/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-xgrammar>0:misc/py-xgrammar

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest-0.1.33_1---
FreeBSD:14:quarterly-0.1.33_1n/a--
FreeBSD:15:latest-0.1.33_1n/a--
FreeBSD:15:quarterly-0.1.33_1n/an/an/a
FreeBSD:16:latest-0.1.33_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 5

The full lists below include those, and their dependencies in turn.

Build dependencies 24
Run dependencies 480

The first 100 are listed.

Configuration

No options to configure.

USES
cmake:indirect python pytest
Service scripts
none

Files

distinfo 1
FileSizeSHA256
xgrammar-0.1.33.tar.gz2.398956e+068dbe5fc3d76651ab1fac7a68fc2a118b885fa0ec7189927fb6e0dce0081aea99
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.