-
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 2 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,<=4.57.3" | ||||||
| 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,13 +139,13 @@ 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"), | ||||||
| ("auto-round==0.9.1" if BUILD_TYPE == "release" else "auto-round==0.9.1"), | ||||||
|
||||||
| ("auto-round==0.9.1" if BUILD_TYPE == "release" else "auto-round==0.9.1"), | |
| ("auto-round==0.9.1"), |
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.
I think we may want to update this to be its own install tag, similar to dev
e. g uv pip install -e .[dev,autoround]
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.
Updated, I'll file another PR for the workflows to use the new [autoround] install tag.
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.
https://github.com/neuralmagic/llm-compressor-testing/pull/183 to update the workflows accordingly.
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.