-
Notifications
You must be signed in to change notification settings - Fork 13.9k
common: Include torch package for s390x #13699
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 |
|---|---|---|
| @@ -1,3 +1,7 @@ | ||
| -r ./requirements-convert_legacy_llama.txt | ||
| --extra-index-url https://download.pytorch.org/whl/cpu | ||
| torch~=2.2.1 | ||
| torch~=2.2.1; platform_machine != "s390x" | ||
|
|
||
| # torch s390x packages can only be found from nightly builds | ||
| --extra-index-url https://download.pytorch.org/whl/nightly | ||
| torch>=0.0.0.dev0; platform_machine == "s390x" | ||
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,3 +1,7 @@ | ||||||
| -r ./requirements-convert_legacy_llama.txt | ||||||
| --extra-index-url https://download.pytorch.org/whl/cpu | ||||||
| torch~=2.2.1 | ||||||
| torch~=2.2.1; platform_machine != "s390x" | ||||||
|
||||||
|
|
||||||
| # torch s390x packages can only be found from nightly builds | ||||||
| --extra-index-url https://download.pytorch.org/whl/nightly | ||||||
| torch>=0.0.0.dev0; platform_machine == "s390x" | ||||||
|
||||||
| torch>=0.0.0.dev0; platform_machine == "s390x" | |
| torch>=0.0.0.dev0; platform_machine == "s390x" # TODO: Update to a pinned stable version when available |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,4 @@ | ||
| -r ./requirements-convert_hf_to_gguf.txt | ||
| --extra-index-url https://download.pytorch.org/whl/cpu | ||
| # torch s390x packages can only be found from nightly builds | ||
|
||
| --extra-index-url https://download.pytorch.org/whl/nightly | ||
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.
[nitpick] Similarly, a brief inline comment explaining the rationale for the conditional torch dependency on non-s390x platforms could improve clarity for future maintainers.