textproc/py-llguidance 1.9.1_1 FreeBSD
Low-level Guidance library for constrained LLM generation
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
9c878207a1- License
- MIT
- Categories
- textproc, python
- Package size
- 2381.3 KiB, 10649.1 KiB installed
Description
llguidance is a low-level library implementing grammar-constrained decoding for language models. It provides efficient token masks for steering LLM generation toward desired output formats including JSON and regex patterns.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/py-llguidance | 1.9.1_1 |
| HardenedBSD | textproc/py-llguidance | 1.8.0_1 |
| GhostBSD | textproc/py-llguidance | 1.8.0_1 |
Install
Binary package:
pkg install py312-llguidance
From the ports tree:
cd /usr/ports/textproc/py-llguidance/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-llguidance>0:textproc/py-llguidance
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.8.0_2 | 1.9.1_1 | - | - | 1.9.1_1 |
| FreeBSD:14:quarterly | 1.8.0_1 | 1.8.0_1 | n/a | - | 1.8.0_1 |
| FreeBSD:15:latest | 1.9.1_1 | 1.9.1_1 | n/a | - | - |
| FreeBSD:15:quarterly | 1.8.0_1 | 1.8.0_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.8.0_1 | 1.9.1_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}maturin>=1.0: devel/py-maturin
Test 4
${PYTHON_PKGNAMEPREFIX}numpy>0: math/py-numpy${PYTHON_PKGNAMEPREFIX}transformers>0: misc/py-transformers${PYTHON_PKGNAMEPREFIX}tiktoken>0: textproc/py-tiktoken${PYTHON_PKGNAMEPREFIX}llama-cpp-python>0: misc/py-llama-cpp-python
The full lists below include those, and their dependencies in turn.
Build dependencies 24
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/libunistring
- devel/pkgconf
- devel/py-build
- devel/py-installer
- devel/py-maturin
- devel/py-packaging
- devel/py-pyproject-hooks
- devel/readline
- dns/libidn2
- dns/libpsl
- ftp/curl
- lang/python312
- lang/python315
- lang/rust
- math/mpdecimal
- print/indexinfo
- security/libssh2
- textproc/expat2
- www/libnghttp2
Run dependencies 7
Required by 3
Configuration
No options to configure.
- USES
- cargo python shebangfix ssl
- Service scripts
- none
Files
distinfo 352
| File | Size | SHA256 |
|---|---|---|
| llguidance-1.9.1.tar.gz | 1.196e+06 | 3ba1b37585d07f50bb73e06dca6d45c88c9d5801789c071c8ff784c9dbcc5c46 |
| rust/crates/addr2line-0.24.2.crate | 39015 | dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1 |
| rust/crates/adler2-2.0.1.crate | 13366 | 320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa |
| rust/crates/ahash-0.8.12.crate | 43413 | 5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75 |
| rust/crates/aho-corasick-1.1.3.crate | 183311 | 8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916 |
| rust/crates/alloca-0.4.0.crate | 4257 | e5a7d05ea6aea7e9e64d25b9156ba2fee3fdd659e34e41063cd2fc7cd020d7f4 |
| rust/crates/anes-0.1.6.crate | 23857 | 4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299 |
| rust/crates/anstream-0.6.19.crate | 28767 | 301af1932e46185686725e0fad2f8f2aa7da69dd70bf6ecc44d6b703844a3933 |
| rust/crates/anstyle-1.0.11.crate | 15880 | 862ed96ca487e809f1c8e5a8447f6ee2cf102f846893800b20cebdf541fc6bbd |
| rust/crates/anstyle-parse-0.2.7.crate | 21707 | 4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2 |
| rust/crates/anstyle-query-1.1.3.crate | 10190 | 6c8bdeb6047d8983be085bab0ba1472e6dc604e7041dbf6fcd5e71523014fae9 |
| rust/crates/anstyle-wincon-3.0.9.crate | 12561 | 403f75924867bb1033c59fbf0797484329750cfbe3c4325cd33127941fabc882 |
| rust/crates/anyhow-1.0.98.crate | 53334 | e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487 |
| rust/crates/atomic-waker-1.1.2.crate | 12422 | 1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0 |
| rust/crates/autocfg-1.5.0.crate | 18729 | c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8 |
| rust/crates/backtrace-0.3.75.crate | 92665 | 6806a6321ec58106fea15becdad98371e28d92ccbc7c8f1b3b6dd724fe8f1002 |
| rust/crates/base64-0.13.1.crate | 61002 | 9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8 |
| rust/crates/base64-0.22.1.crate | 81597 | 72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6 |
| rust/crates/bit-set-0.5.3.crate | 14470 | 0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1 |
| rust/crates/bit-set-0.8.0.crate | 16289 | 08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3 |
Master sites 1
- PYPI
Commit history 6
The latest 5 of 6 in the history this site was built from.