-
-
Notifications
You must be signed in to change notification settings - Fork 11.8k
[WIP] Nightly signal on torch #30146
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 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 |
|---|---|---|
|
|
@@ -55,7 +55,7 @@ ARG UV_INDEX_URL=${PIP_INDEX_URL} | |
| ARG UV_EXTRA_INDEX_URL=${PIP_EXTRA_INDEX_URL} | ||
|
|
||
| # PyTorch provides its own indexes for standard and nightly builds | ||
| ARG PYTORCH_CUDA_INDEX_BASE_URL=https://download.pytorch.org/whl | ||
| ARG PYTORCH_CUDA_INDEX_BASE_URL=https://download.pytorch.org/whl/nightly | ||
|
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. This change to use the nightly PyTorch index will cause the Docker build to fail. The To fix this, you should either:
For example, you could change line 143 to: - --extra-index-url ${PYTORCH_CUDA_INDEX_BASE_URL}/cu$(echo $CUDA_VERSION | cut -d. -f1,2 | tr -d '.')
+ --extra-index-url ${PYTORCH_CUDA_INDEX_BASE_URL}/cu128 |
||
|
|
||
| # PIP supports multiple authentication schemes, including keyring | ||
| # By parameterizing the PIP_KEYRING_PROVIDER variable and setting it to | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,7 @@ ninja | |
| packaging>=24.2 | ||
| setuptools>=77.0.3,<81.0.0 | ||
| setuptools-scm>=8 | ||
| torch==2.9.0 | ||
| torch | ||
| wheel | ||
| jinja2>=3.1.6 | ||
|
Comment on lines
5
to
9
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.
The build requirements now allow any Useful? React with 👍 / 👎. |
||
| regex | ||
|
|
||
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.
With the move to nightly builds, the version check for CUDA at line 125 will consistently fail and produce warnings. Nightly versions (e.g.,
2.10.0.dev...) will not match2.10.0withVERSION_EQUAL.This will create unnecessary noise in build logs, potentially hiding real issues. Please consider updating the check to be more flexible for nightly versions, for example by using
VERSION_GREATER_EQUALorVERSION_MATCHES, similar to how the ROCm version is checked.