-
Notifications
You must be signed in to change notification settings - Fork 301
Update dependency bounds for llmcompressor 0.9 release #2086
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 4 commits
fe7b04a
09baec8
19fb2b2
c79b83c
be3a99f
71b5474
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -114,22 +114,23 @@ def localversion_func(version: ScmVersion) -> str: | |||
| ("pyyaml>=6.0.1,<=6.0.3" if BUILD_TYPE == "release" else "pyyaml>=6.0.1"), | ||||
| # librosa dependency numba is currently not compatible with numpy>=2.3 | ||||
| # https://numba.readthedocs.io/en/stable/user/installing.html#version-support-information | ||||
| ("numpy>=2.0.0,<=2.3.3" if BUILD_TYPE == "release" else "numpy>=2.0.0"), | ||||
| ("numpy>=2.0.0,<=2.3.5" if BUILD_TYPE == "release" else "numpy>=2.0.0"), | ||||
| ( | ||||
| "requests>=2.32.2,<=2.32.5" | ||||
| if BUILD_TYPE == "release" | ||||
| else "requests>=2.32.2" | ||||
| ), | ||||
| ("tqdm>=4.66.3,<=4.67.1" if BUILD_TYPE == "release" else "tqdm>=4.66.3"), | ||||
| ("torch>=2.7.0,<=2.8.0" if BUILD_TYPE == "release" else "torch>=2.7.0"), | ||||
| ("torch>=2.7.0,<=2.9.1" if BUILD_TYPE == "release" else "torch>=2.7.0"), | ||||
| ( | ||||
| "transformers>=4.54.0,<=4.56.2" | ||||
| "transformers>=4.54.0,<=5.0.0" | ||||
| if BUILD_TYPE == "release" | ||||
| else "transformers>=4.54.0" | ||||
| ), | ||||
| ("datasets>=4.0.0,<=4.1.1" if BUILD_TYPE == "release" else "datasets>=4.0.0"), | ||||
| ("datasets>=4.0.0,<=4.4.1" if BUILD_TYPE == "release" else "datasets>=4.0.0"), | ||||
| # auto-round 0.9.1 requires accelerate >= 1.10.0 | ||||
| ( | ||||
| "accelerate>=1.6.0,<=1.10.1" | ||||
| "accelerate>=1.10.0,<=1.12.0" | ||||
| if BUILD_TYPE == "release" | ||||
| else "accelerate>=1.6.0" | ||||
| ), | ||||
|
|
@@ -138,15 +139,17 @@ def localversion_func(version: ScmVersion) -> str: | |||
| if BUILD_TYPE == "release" | ||||
| else "nvidia-ml-py>=12.560.30" | ||||
| ), | ||||
| ("pillow>=10.4.0,<=11.3.0" if BUILD_TYPE == "release" else "pillow>=10.4.0"), | ||||
| ("pillow>=10.4.0,<=12.0.0" if BUILD_TYPE == "release" else "pillow>=10.4.0"), | ||||
| ( | ||||
| "compressed-tensors==0.12.2" | ||||
| if BUILD_TYPE == "release" | ||||
| else "compressed-tensors>=0.12.3a2" | ||||
| ), | ||||
| ("auto-round==0.9.1"), | ||||
| ], | ||||
| extras_require={ | ||||
| "autoround": [ | ||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks! We will also need to change the transformers test workflow to run autoround tests as they require this install:
If we think this will be a bigger change, we can make the autoround optional install change in a followup
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good catch, updated the workflow to install "autoround" dependency as well.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should be a separate job, no? |
||||
| "auto-round==0.9.1", | ||||
| ], | ||||
| "dev": [ | ||||
| # testing framework | ||||
| "pytest>=6.0.0", | ||||
|
|
@@ -178,7 +181,7 @@ def localversion_func(version: ScmVersion) -> str: | |||
| "mkdocstrings-python", | ||||
| "mkdocs-gen-files", | ||||
| "mkdocs-nav-weight", | ||||
| ] | ||||
| ], | ||||
| }, | ||||
| entry_points={ | ||||
| "console_scripts": [ | ||||
|
|
||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
acceleratedependency for non-release builds is set to>=1.6.0. However, the comment on line 131 states thatauto-round==0.9.1requiresaccelerate >= 1.10.0. Sinceauto-roundis a dependency for all build types, the lower bound foraccelerateshould be1.10.0for non-release builds as well to avoid potential dependency conflicts.