-
Notifications
You must be signed in to change notification settings - Fork 29
Revert "[UV] update torch version" #417
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
Changes from all commits
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 | ||||
|---|---|---|---|---|---|---|
|
|
@@ -31,7 +31,7 @@ Repository = "https://github.com/open-lm-engine/lm-engine" | |||||
|
|
||||||
| [project.optional-dependencies] | ||||||
| cuda = [ | ||||||
| "torch>=2.11.0", | ||||||
| "torch>=2.10.0", | ||||||
| ] | ||||||
| dev = [ | ||||||
| "pre-commit>=4.4.0", | ||||||
|
|
@@ -41,12 +41,12 @@ mamba2 = [ | |||||
| "mamba-ssm>=2.2.6.post3", | ||||||
| ] | ||||||
| tpu = [ | ||||||
| "torch>=2.11.0", | ||||||
| "torch==2.10.0", | ||||||
|
Contributor
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. There is a version mismatch between
Suggested change
|
||||||
| "torch-xla[pallas,tpu]==2.9.0", | ||||||
| ] | ||||||
| data = [ | ||||||
| "ray[default]>=2.52.1", | ||||||
| "torch>=2.11.0", | ||||||
| "torch>=2.10.0", | ||||||
|
Contributor
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. |
||||||
| "zstandard>=0.25.0", | ||||||
| "aiobotocore>=3.0.0", | ||||||
| ] | ||||||
|
|
||||||
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 constraint
torch>=2.10.0still allows the installation of version2.11.0if it is available in the package registry. If the intent of this revert is to avoid issues introduced in version2.11.0, this change may be ineffective as the package manager will still resolve to the highest compatible version. Consider using an exact pin or a version range (e.g.,torch>=2.10.0,<2.11.0) to ensure the problematic version is not installed.