Download Latest Version v0.3.22 source code.zip (1.5 MB)
Email in envelope

Get an email when there's a new version of optillm

Home / v0.3.21
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-07-05 1.2 kB
v0.3.21 source code.tar.gz 2026-07-05 1.3 MB
v0.3.21 source code.zip 2026-07-05 1.5 MB
Totals: 3 Items   2.8 MB 0

What's Changed

Fix: broken PyPI wheel — import optillm failed with ModuleNotFoundError: No module named 'math_verify' (#318)

The published wheel is built from pyproject.toml [project.dependencies], which had drifted from requirements.txt, so pip install optillm shipped a package that couldn't even start:

  • math-verify was missing from pyproject.tomloptillm/cepo/cepo.py imports it at import time, so importing optillm crashed. (Affected 0.3.16–0.3.20.)
  • transformers was unpinned — the <5.13.0 cap added in 0.3.19 only landed in requirements.txt, so PyPI installs pulled transformers 5.13.0 and broke mlx-lm on Apple silicon.

Fix

Synced the runtime deps into pyproject.toml: added math-verify, pinned transformers>=5.0.0,<5.13.0, and outlines[transformers]>=1.2.3.

Verified by building the wheel and installing it into a clean venv (only its declared deps) — import optillm succeeds and transformers resolves to 5.12.x.

If you hit the math_verify import error on 0.3.16–0.3.20, upgrade to 0.3.21.

Full Changelog: https://github.com/algorithmicsuperintelligence/optillm/compare/v0.3.20...v0.3.21

Source: README.md, updated 2026-07-05