Pyligent
Pyligent is a framework for reinforcement learning through search-based reasoning, implementing concepts from From Reasoning to Super-Intelligence: A Search-Theoretic Perspective.
Installation
Note: Pyligent requires PyTorch. Please install the version appropriate for your hardware before installing Pyligent.
1. Install PyTorch
Using uv:
Check the official guide
For CPU-only environments:
pip install torch --index-url https://download.pytorch.org/whl/cpu
For CUDA 12.8 environments:
pip install torch --index-url https://download.pytorch.org/whl/cu128
(For other CUDA versions, please refer to the PyTorch Get Started guide.)
2. Install Pyligent
Once PyTorch is installed:
pip install pyligent
or
uv add pyligent
Quick Start
import pyligent
# Your quick start example here
Key Features
- Search-based reasoning for transformer models
- PyTorch-based implementation with PEFT support
- GPU acceleration support (via CUDA-enabled PyTorch)
- Fine-tuning and evaluation pipelines
Requirements
- Python ≥ 3.13
- PyTorch ≥ 2.8.0 (must be installed manually, see Installation above)
Release files for pyligent 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyligent-0.2.5.tar.gz | 23.0 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyligent-0.2.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:46.5 MB
Release files / pyligent-0.2.5.tar.gz
| Download URL | pyligent-0.2.5.tar.gz |
|---|---|
| Size | 23.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e3b846c6b152bcece9727e47366f3507f4934782477dc563330eb46fed13880
|
|
BLAKE2b-256 checksum How to use checksums |
27794044c6745b70c42c114abf95eccb1ec31fcc32fbf1a2794da459f18831a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pyligent-0.2.5-py3-none-any.whl
| Download URL | pyligent-0.2.5-py3-none-any.whl |
|---|---|
| Size | 23.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2a2b1a22b97edb7cfe1b72a3dfed522d711e9fbce711b9dfebb9a67521662a5e
|
|
BLAKE2b-256 checksum How to use checksums |
b051be9b246e172d35aa6c9215ac97f01b8ac707568291ec3f317724dac09145
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|