Make ThinkBooster installable without patches#245
Merged
smirnovlad merged 5 commits intomainfrom Apr 9, 2026
Merged
Conversation
The numpy>=2.0 constraint, thinc>=8.3, and spacy>=3.8 pins were based on the assumption that vLLM requires numpy 2.x. Verified that vLLM 0.12.0 works fine with numpy 1.26.4, thinc 8.2.5, and spacy 3.7.5. Changes: - pyproject.toml: numpy>=2.0.0,<2.3.0 -> numpy>=1.23.5, remove thinc pin - setup.sh: remove post-install numpy/thinc/spacy pinning block, remove spacy sed patch, update transformers sed to match main branch
- Add lm-polygraph as direct dependency (from GitHub main, no sed patches) - Move vLLM from optional extra to main dependencies - Use bundled latex2sympy instead of latex2sympy2 pip package (avoids antlr4 version conflict with hydra) - Remove all sed hacks from setup.sh, switch to main branch - Verified: full math500 eval passes in clean conda env with pip install only
3 tasks
smirnovlad-test
approved these changes
Apr 9, 2026
Now that lm-polygraph v0.6.0 is published on PyPI, replace the git+https dependency with a standard version specifier.
- Set requires-python to >=3.10 (lm-polygraph and vLLM requirement) - Fix placeholder author metadata - Remove broken console script entry point (scripts/ is not a package) - Remove non-existent config package-data paths - Update black/mypy target versions to match
Collaborator
Author
|
Ready to merge. Summary of all changes: Dependencies
Imports
setup.sh
PyPI metadata
Verified
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Step towards releasing ThinkBooster as a PyPI package. After merging lm-polygraph#446, lm-polygraph no longer needs post-install patching.
pyproject.toml, no more sed hacks in setup.shlatex2sympy2pip package to bundledllm_tts.evaluation.latex2sympy, avoiding antlr4==4.7.2 vs 4.9.x conflict with hydradevtomainbranchWhat still needs setup.sh
llm-uncertainty-head(GitHub-only)vllm-speculators(GitHub-only)KernelAct(git clone, not a pip package)Test plan
pip install -e .only (no setup.sh)