Skip to content

Commit 57f0001

Browse files
chore: update dependencies and clean up project configuration
- Update ruff pre-commit hook to v0.14.13 - Simplify and deduplicate dependencies in pyproject.toml - Reference flash-attn via direct URL in dependencies - Move project URLs to correct section in pyproject.toml - Remove redundant license classifier and uv.sources section - Fix minor formatting in README and workflow YAML
1 parent 528c9b2 commit 57f0001

5 files changed

Lines changed: 21 additions & 472 deletions

File tree

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
branch_protection_rule:
1010
# To guarantee Maintained check is occasionally updated. See
1111
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
12-
12+
1313
# UNCOMMENT WHEN USED FOR NEW REPO
1414
# schedule:
1515
# - cron: "44 15 * * 0"

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repos:
77
- id: check-yaml
88
- id: check-merge-conflict
99
- repo: https://github.com/astral-sh/ruff-pre-commit
10-
rev: v0.14.5
10+
rev: v0.14.13
1111
hooks:
1212
- id: ruff-check
1313
args: ["--fix"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ We evaluate DeepMath on four math datasets: **MATH500, AIME, HMMT, and HLE,** an
2525

2626
Check out:
2727

28-
- 🔗 Blog: https://huggingface.co/blog/intel-deepmath
28+
- 🔗 Blog: https://huggingface.co/blog/intel-deepmath
2929

3030
- 👉 Model: <https://huggingface.co/Intel/deepmath-v1>
3131

pyproject.toml

Lines changed: 7 additions & 236 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,14 @@ version = "1.0.0"
44
description = "Library for training and evaluating Math agent."
55
readme = "README.md"
66
requires-python = ">=3.10"
7-
license = {text = "Apache-2.0"}
7+
license = "Apache-2.0"
88
authors = [
99
{name = "Daniel Fleischer", email = "daniel.fleischer@intel.com"},
1010
]
1111
keywords = ["machine learning", "reinforcement learning", "mathematical reasoning", "AI agents", "GRPO", "NLP"]
1212
classifiers = [
1313
"Intended Audience :: Developers",
1414
"Intended Audience :: Science/Research",
15-
"License :: OSI Approved :: Apache Software License",
1615
"Programming Language :: Python :: 3",
1716
"Programming Language :: Python :: 3.10",
1817
"Programming Language :: Python :: 3.11",
@@ -22,267 +21,39 @@ classifiers = [
2221
"Topic :: Scientific/Engineering :: Artificial Intelligence",
2322
"Topic :: Software Development :: Libraries :: Python Modules",
2423
]
25-
26-
[project.urls]
27-
Homepage = "https://github.com/intellabs/DeepMath"
28-
Repository = "https://github.com/intellabs/DeepMath"
29-
Issues = "https://github.com/intellabs/DeepMath/issues"
30-
Documentation = "https://github.com/intellabs/DeepMath#readme"
3124
dependencies = [
3225
"accelerate==1.6.0",
33-
"aiohappyeyeballs==2.6.1",
34-
"aiohttp==3.11.18",
35-
"aiosignal==1.3.2",
36-
"airportsdata==20250224",
37-
"annotated-types==0.7.0",
38-
"antlr4-python3-runtime==4.9.3",
39-
"anyio==4.9.0",
40-
"argon2-cffi==23.1.0",
41-
"argon2-cffi-bindings==21.2.0",
42-
"arrow==1.3.0",
43-
"astor==0.8.1",
44-
"asttokens==3.0.0",
45-
"async-lru==2.0.5",
46-
"attrs==25.3.0",
47-
"babel==2.17.0",
48-
"beautifulsoup4==4.13.4",
49-
"blake3==1.0.4",
50-
"bleach==6.2.0",
51-
"cachetools==5.5.2",
52-
"certifi==2025.4.26",
53-
"cffi==1.17.1",
54-
"cfgv==3.4.0",
55-
"charset-normalizer==3.4.1",
56-
"click==8.1.8",
57-
"cloudpickle==3.1.1",
58-
"comm==0.2.2",
59-
"compressed-tensors==0.9.3",
60-
"cupy-cuda12x==13.4.1",
6126
"datasets==3.5.0",
62-
"debugpy==1.8.14",
63-
"decorator==5.2.1",
6427
"deepspeed==0.16.7",
65-
"defusedxml==0.7.1",
66-
"deprecated==1.2.18",
67-
"depyf==0.18.0",
68-
"dill==0.3.8",
69-
"diskcache==5.6.3",
70-
"distlib==0.3.9",
71-
"distro==1.9.0",
72-
"dnspython==2.7.0",
73-
"docker-pycreds==0.4.0",
74-
"einops==0.8.1",
75-
"email-validator==2.2.0",
76-
"executing==2.2.0",
77-
"fastapi==0.115.12",
78-
"fastapi-cli==0.0.7",
79-
"fastjsonschema==2.21.1",
80-
"fastrlock==0.8.3",
81-
"filelock==3.18.0",
8228
"flash-attn",
83-
"fqdn==1.5.1",
84-
"frozenlist==1.6.0",
85-
"fsspec==2024.12.0",
86-
"gguf==0.16.2",
87-
"gitdb==4.0.12",
88-
"gitpython==3.1.44",
89-
"googleapis-common-protos==1.70.0",
90-
"grpcio==1.71.0",
91-
"h11==0.16.0",
92-
"hf-xet==1.0.5",
93-
"hjson==3.1.0",
94-
"httpcore==1.0.9",
95-
"httptools==0.6.4",
96-
"httpx==0.28.1",
9729
"huggingface-hub==0.30.2",
9830
"hydra-core==1.3.2",
99-
"hydra-submitit-launcher==1.2.0",
100-
"identify==2.6.10",
101-
"idna==3.10",
102-
"importlib-metadata==8.0.0",
103-
"interegular==0.3.3",
104-
"ipykernel==6.29.5",
105-
"ipython==9.1.0",
106-
"ipython-pygments-lexers==1.1.1",
107-
"isoduration==20.11.0",
108-
"jedi==0.19.2",
109-
"jinja2==3.1.6",
110-
"jiter==0.9.0",
111-
"json5==0.12.0",
112-
"jsonpointer==3.0.0",
113-
"jsonschema==4.23.0",
114-
"jsonschema-specifications==2025.4.1",
115-
"jupyter-client==8.6.3",
116-
"jupyter-core==5.7.2",
117-
"jupyter-events==0.12.0",
118-
"jupyter-lsp==2.2.5",
119-
"jupyter-server==2.15.0",
120-
"jupyter-server-terminals==0.5.3",
121-
"jupyterlab==4.4.0",
122-
"jupyterlab-pygments==0.3.0",
123-
"jupyterlab-server==2.27.3",
124-
"lark==1.2.2",
125-
"latex2sympy2-extended==1.10.1",
126-
"llguidance==0.7.19",
127-
"llvmlite==0.44.0",
128-
"lm-format-enforcer==0.10.11",
129-
"markdown-it-py==3.0.0",
130-
"markupsafe==3.0.2",
13131
"math-verify==0.7.0",
132-
"matplotlib-inline==0.1.7",
133-
"mdurl==0.1.2",
13432
"mistral-common==1.5.4",
135-
"mistune==3.1.3",
136-
"mpmath==1.3.0",
137-
"msgpack==1.1.0",
138-
"msgspec==0.19.0",
139-
"multidict==6.4.3",
140-
"multiprocess==0.70.16",
141-
"nbclient==0.10.2",
142-
"nbconvert==7.16.6",
143-
"nbformat==5.10.4",
144-
"nest-asyncio==1.6.0",
145-
"networkx==3.4.2",
146-
"ninja==1.11.1.4",
147-
"nodeenv==1.9.1",
148-
"notebook-shim==0.2.4",
149-
"numba==0.61.2",
150-
"numpy==2.2.5",
151-
"nvidia-cublas-cu12==12.4.5.8",
152-
"nvidia-cuda-cupti-cu12==12.4.127",
153-
"nvidia-cuda-nvrtc-cu12==12.4.127",
154-
"nvidia-cuda-runtime-cu12==12.4.127",
155-
"nvidia-cudnn-cu12==9.1.0.70",
156-
"nvidia-cufft-cu12==11.2.1.3",
157-
"nvidia-curand-cu12==10.3.5.147",
158-
"nvidia-cusolver-cu12==11.6.1.9",
159-
"nvidia-cusparse-cu12==12.3.1.170",
160-
"nvidia-cusparselt-cu12==0.6.2",
161-
"nvidia-nccl-cu12==2.21.5",
162-
"nvidia-nvjitlink-cu12==12.4.127",
163-
"nvidia-nvtx-cu12==12.4.127",
16433
"omegaconf==2.3.0",
16534
"openai==1.76.0",
166-
"opencv-python-headless==4.11.0.86",
167-
"opentelemetry-api==1.26.0",
168-
"opentelemetry-exporter-otlp==1.26.0",
169-
"opentelemetry-exporter-otlp-proto-common==1.26.0",
170-
"opentelemetry-exporter-otlp-proto-grpc==1.26.0",
171-
"opentelemetry-exporter-otlp-proto-http==1.26.0",
172-
"opentelemetry-proto==1.26.0",
173-
"opentelemetry-sdk==1.26.0",
174-
"opentelemetry-semantic-conventions==0.47b0",
175-
"opentelemetry-semantic-conventions-ai==0.4.3",
176-
"outlines==0.1.11",
177-
"outlines-core==0.1.26",
178-
"overrides==7.7.0",
179-
"packaging==25.0",
180-
"pandas==2.2.3",
181-
"pandocfilters==1.5.1",
182-
"parso==0.8.4",
183-
"partial-json-parser==0.2.1.1.post5",
18435
"peft==0.15.2",
185-
"pexpect==4.9.0",
186-
"pillow==11.2.1",
187-
"platformdirs==4.3.6",
188-
"pre-commit==4.2.0",
189-
"prometheus-client==0.21.1",
190-
"prometheus-fastapi-instrumentator==7.1.0",
191-
"prompt-toolkit==3.0.51",
192-
"propcache==0.3.1",
193-
"protobuf==4.25.7",
194-
"psutil==7.0.0",
195-
"ptyprocess==0.7.0",
196-
"pure-eval==0.2.3",
197-
"py-cpuinfo==9.0.0",
198-
"pyarrow==20.0.0",
199-
"pycountry==24.6.1",
200-
"pycparser==2.22",
201-
"pydantic==2.11.3",
202-
"pydantic-core==2.33.1",
203-
"pygments==2.19.1",
204-
"pylatexenc==2.10",
205-
"python-dateutil==2.9.0.post0",
206-
"python-dotenv==1.1.0",
207-
"python-json-logger==3.3.0",
208-
"python-multipart==0.0.20",
209-
"pytz==2025.2",
210-
"pyyaml==6.0.2",
211-
"pyzmq==26.4.0",
212-
"ray==2.43.0",
213-
"referencing==0.36.2",
21436
"regex==2024.11.6",
215-
"requests==2.32.3",
216-
"rfc3339-validator==0.1.4",
217-
"rfc3986-validator==0.1.1",
218-
"rich==14.0.0",
219-
"rich-toolkit==0.14.3",
220-
"rpds-py==0.24.0",
221-
"safetensors==0.5.3",
222-
"scipy==1.15.2",
223-
"send2trash==1.8.3",
224-
"sentencepiece==0.2.0",
225-
"sentry-sdk==2.22.0",
226-
"setproctitle==1.3.4",
227-
"setuptools==75.8.0",
228-
"shellingham==1.5.4",
229-
"six==1.17.0",
230-
"smmap==5.0.2",
23137
"smolagents==1.15.0",
232-
"sniffio==1.3.1",
233-
"soupsieve==2.6",
234-
"stack-data==0.6.3",
235-
"starlette==0.46.2",
23638
"submitit",
237-
"sympy==1.13.1",
238-
"terminado==0.18.1",
23939
"tiktoken==0.9.0",
240-
"tinycss2==1.4.0",
241-
"tokenizers==0.21.1",
242-
"torch==2.6.0",
243-
"torchaudio==2.6.0",
244-
"torchvision==0.21.0",
245-
"tornado==6.4.2",
246-
"tqdm==4.67.1",
247-
"traitlets==5.14.3",
24840
"transformers==4.51.3",
249-
"triton==3.2.0",
25041
"trl==0.17.0",
251-
"typer==0.15.2",
252-
"types-python-dateutil==2.9.0.20241206",
253-
"typing-extensions==4.13.2",
254-
"typing-inspection==0.4.0",
255-
"tzdata==2025.2",
256-
"uri-template==1.3.0",
257-
"urllib3==2.4.0",
258-
"uvicorn==0.34.2",
259-
"uvloop==0.21.0",
260-
"virtualenv==20.30.0",
26142
"vllm==0.8.4",
262-
"wandb==0.19.6",
263-
"watchfiles==1.0.5",
264-
"wcwidth==0.2.13",
265-
"webcolors==24.11.1",
266-
"webencodings==0.5.1",
267-
"websocket-client==1.8.0",
268-
"websockets==15.0.1",
269-
"wrapt==1.17.2",
270-
"xformers==0.0.29.post2",
271-
"xgrammar==0.1.18",
272-
"xxhash==3.5.0",
273-
"yarl==1.20.0",
274-
"zipp==3.21.0",
27543
]
27644

45+
[project.urls]
46+
Homepage = "https://github.com/intellabs/DeepMath"
47+
Repository = "https://github.com/intellabs/DeepMath"
48+
Issues = "https://github.com/intellabs/DeepMath/issues"
49+
Documentation = "https://github.com/intellabs/DeepMath#readme"
50+
27751
[project.optional-dependencies]
27852
dev = ["hydra-submitit-launcher>=1.2.0", "ipykernel", "ipython", "pre-commit"]
27953
gpu = ["bitsandbytes>=0.45.3", "vllm>=0.7.2"]
28054

28155
[tool.setuptools]
28256
package-dir = { "" = "deep_math" }
28357

284-
[tool.uv.sources]
285-
flash-attn = { url = "https://github.com/Dao-AILab/flash-attention/releases/download/v2.7.4.post1/flash_attn-2.7.4.post1+cu12torch2.6cxx11abiFALSE-cp311-cp311-linux_x86_64.whl" }
286-
28758
[dependency-groups]
28859
dev = ["pre-commit>=4.2.0"]

0 commit comments

Comments
 (0)