Skip to content

Commit 6951014

Browse files
jeejeeleezhiyuan1i
authored andcommitted
[Bugfix] Set the minimum python version for gpt-oss (#26392)
Signed-off-by: Jee Jee Li <pandaleefree@gmail.com>
1 parent 8e2729b commit 6951014

File tree

3 files changed

+39
-10
lines changed

3 files changed

+39
-10
lines changed

requirements/common.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,3 @@ pybase64 # fast base64 implementation
4949
cbor2 # Required for cross-language serialization of hashable objects
5050
setproctitle # Used to set process names for better debugging and monitoring
5151
openai-harmony >= 0.0.3 # Required for gpt-oss
52-
gpt-oss >= 0.0.7

requirements/test.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,4 @@ fastsafetensors>=0.1.10
5555
pydantic>=2.10 # 2.9 leads to error on python 3.10
5656
decord==0.6.0
5757
terratorch @ git+https://github.com/IBM/terratorch.git@1.1.rc3 # required for PrithviMAE test
58+
gpt-oss >= 0.0.7; python_version > '3.11'

requirements/test.txt

Lines changed: 38 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,19 @@ aenum==3.1.16
1010
# via lightly
1111
affine==2.4.0
1212
# via rasterio
13-
aiohappyeyeballs==2.4.3
13+
aiohappyeyeballs==2.6.1
1414
# via aiohttp
15-
aiohttp==3.10.11
15+
aiohttp==3.13.0
1616
# via
1717
# aiohttp-cors
1818
# datasets
1919
# fsspec
20+
# gpt-oss
2021
# lm-eval
2122
# ray
2223
aiohttp-cors==0.8.1
2324
# via ray
24-
aiosignal==1.3.1
25+
aiosignal==1.4.0
2526
# via aiohttp
2627
albucore==0.0.16
2728
# via terratorch
@@ -103,6 +104,8 @@ chardet==5.2.0
103104
# via mbstrdecoder
104105
charset-normalizer==3.4.0
105106
# via requests
107+
chz==0.3.0
108+
# via gpt-oss
106109
click==8.1.7
107110
# via
108111
# black
@@ -173,7 +176,9 @@ distlib==0.3.9
173176
dnspython==2.7.0
174177
# via email-validator
175178
docker==7.1.0
176-
# via mlflow
179+
# via
180+
# gpt-oss
181+
# mlflow
177182
docopt==0.6.2
178183
# via num2words
179184
docstring-parser==0.17.0
@@ -199,7 +204,9 @@ eval-type-backport==0.2.2
199204
evaluate==0.4.3
200205
# via lm-eval
201206
fastapi==0.116.1
202-
# via mlflow-skinny
207+
# via
208+
# gpt-oss
209+
# mlflow-skinny
203210
fastparquet==2024.11.0
204211
# via genai-perf
205212
fastrlock==0.8.2
@@ -274,6 +281,8 @@ google-resumable-media==2.7.2
274281
# via google-cloud-storage
275282
googleapis-common-protos==1.70.0
276283
# via google-api-core
284+
gpt-oss==0.0.8
285+
# via -r requirements/test.in
277286
graphene==3.4.3
278287
# via mlflow
279288
graphql-core==3.2.6
@@ -301,6 +310,8 @@ hf-xet==1.1.7
301310
# via huggingface-hub
302311
hiredis==3.0.0
303312
# via tensorizer
313+
html2text==2025.4.15
314+
# via gpt-oss
304315
httpcore==1.0.6
305316
# via httpx
306317
httpx==0.27.2
@@ -435,6 +446,7 @@ lm-eval @ git+https://github.com/EleutherAI/lm-evaluation-harness.git@206b772215
435446
lxml==5.3.0
436447
# via
437448
# blobfile
449+
# gpt-oss
438450
# sacrebleu
439451
mako==1.3.10
440452
# via alembic
@@ -604,6 +616,8 @@ omegaconf==2.3.0
604616
# lightning
605617
open-clip-torch==2.32.0
606618
# via -r requirements/test.in
619+
openai-harmony==0.0.4
620+
# via gpt-oss
607621
opencensus==0.11.4
608622
# via ray
609623
opencensus-context==0.1.3
@@ -724,7 +738,9 @@ prometheus-client==0.22.0
724738
# opentelemetry-exporter-prometheus
725739
# ray
726740
propcache==0.2.0
727-
# via yarl
741+
# via
742+
# aiohttp
743+
# yarl
728744
proto-plus==1.26.1
729745
# via google-api-core
730746
protobuf==5.28.3
@@ -773,10 +789,12 @@ pydantic==2.11.7
773789
# albumentations
774790
# datamodel-code-generator
775791
# fastapi
792+
# gpt-oss
776793
# lightly
777794
# mistral-common
778795
# mlflow-skinny
779796
# mteb
797+
# openai-harmony
780798
# pydantic-extra-types
781799
# ray
782800
pydantic-core==2.33.2
@@ -907,6 +925,7 @@ requests==2.32.3
907925
# evaluate
908926
# google-api-core
909927
# google-cloud-storage
928+
# gpt-oss
910929
# huggingface-hub
911930
# lightly
912931
# lm-eval
@@ -1052,6 +1071,8 @@ starlette-testclient==0.4.1
10521071
# via schemathesis
10531072
statsmodels==0.14.4
10541073
# via genai-perf
1074+
structlog==25.4.0
1075+
# via gpt-oss
10551076
sympy==1.13.3
10561077
# via
10571078
# einx
@@ -1064,14 +1085,17 @@ tblib==3.1.0
10641085
# via -r requirements/test.in
10651086
tcolorpy==0.1.6
10661087
# via pytablewriter
1067-
tenacity==9.0.0
1088+
tenacity==9.1.2
10681089
# via
1090+
# gpt-oss
10691091
# lm-eval
10701092
# plotly
10711093
tensorboardx==2.6.4
10721094
# via lightning
10731095
tensorizer==2.10.1
10741096
# via -r requirements/test.in
1097+
termcolor==3.1.0
1098+
# via gpt-oss
10751099
terratorch @ git+https://github.com/IBM/terratorch.git@07184fcf91a1324f831ff521dd238d97fe350e3e
10761100
# via -r requirements/test.in
10771101
threadpoolctl==3.5.0
@@ -1080,8 +1104,9 @@ tifffile==2025.3.30
10801104
# via
10811105
# scikit-image
10821106
# terratorch
1083-
tiktoken==0.7.0
1107+
tiktoken==0.12.0
10841108
# via
1109+
# gpt-oss
10851110
# lm-eval
10861111
# mistral-common
10871112
timm==1.0.17
@@ -1201,8 +1226,10 @@ typeshed-client==2.8.2
12011226
# via jsonargparse
12021227
typing-extensions==4.12.2
12031228
# via
1229+
# aiosignal
12041230
# albumentations
12051231
# alembic
1232+
# chz
12061233
# fastapi
12071234
# graphene
12081235
# huggingface-hub
@@ -1242,7 +1269,9 @@ urllib3==2.2.3
12421269
# responses
12431270
# tritonclient
12441271
uvicorn==0.35.0
1245-
# via mlflow-skinny
1272+
# via
1273+
# gpt-oss
1274+
# mlflow-skinny
12461275
vector-quantize-pytorch==1.21.2
12471276
# via -r requirements/test.in
12481277
virtualenv==20.31.2

0 commit comments

Comments
 (0)