Skip to content

Commit 2de9769

Browse files
authored
Add lower bound for required dependencies (#1698)
SUMMARY: Add lower bound for required dependencies that currently don't set a version yet. Specifically: - "loguru>=0.7.2" # 0.7.2 released on 9/11/2023; # latest 0.7.3 released on 12/6/2024. - "datasets>=3.0.0" # 3.0.0 released on 9/11/2024; # latest 4.0.0 released on 7/9/2025. - "pynvml>=11.5.3" # 11.5.3 released on 7/16/2024; # latest 12.0.0 released on 12/4/2024 - "pillow>=10.4.0" # 10.4.0 released on 7/1/2024; # latest 11.3.0 released on 7/1/2025 When we're ready for next release, there will be another PR to set the upper bound based on the latest version at the time of releasing. TEST PLAN: All tests Signed-off-by: Dan Huang <[email protected]>
1 parent a99c753 commit 2de9769

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def localversion_func(version: ScmVersion) -> str:
110110
"src", include=["llmcompressor", "llmcompressor.*"], exclude=["*.__pycache__.*"]
111111
),
112112
install_requires=[
113-
"loguru",
113+
"loguru>=0.7.2",
114114
"pyyaml>=5.0.0",
115115
# librosa dependency numba is currently not compatible with numpy>=2.3
116116
# https://numba.readthedocs.io/en/stable/user/installing.html#version-support-information
@@ -120,10 +120,10 @@ def localversion_func(version: ScmVersion) -> str:
120120
# torch 1.10 and 1.11 do not support quantized onnx export
121121
"torch>=1.7.0,!=1.10,!=1.11",
122122
"transformers>4.0",
123-
"datasets",
123+
"datasets>=3.0.0",
124124
"accelerate>=0.20.3,!=1.1.0",
125-
"pynvml",
126-
"pillow",
125+
"pynvml>=11.5.3",
126+
"pillow>=10.4.0",
127127
(
128128
"compressed-tensors==0.10.2"
129129
if BUILD_TYPE == "release"

0 commit comments

Comments
 (0)