Repository navigation
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/177641
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 14 New Failures, 7 Cancelled JobsAs of commit 55f5c4b with merge base d3b8bf0 ( NEW FAILURES - The following jobs have failed:
CANCELLED JOBS - The following jobs were cancelled. Please retry:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
Handles git submodule initialization and NCCL checkout from pinned version, replacing the equivalent logic in setup.py's build_deps(). The module checks for existing state so it is safe to include unconditionally. Co-Generated with [Claude Code](https://claude.com/claude-code) ghstack-source-id: 9a81cee Pull-Request: pytorch#177641
Handles git submodule initialization and NCCL checkout from pinned version, replacing the equivalent logic in setup.py's build_deps(). The module checks for existing state so it is safe to include unconditionally. Co-Generated with [Claude Code](https://claude.com/claude-code) ghstack-source-id: 9a81cee Pull-Request: #177641
Handles git submodule initialization and NCCL checkout from pinned version, replacing the equivalent logic in setup.py's build_deps(). The module checks for existing state so it is safe to include unconditionally. Co-Generated with [Claude Code](https://claude.com/claude-code) ghstack-source-id: 9a81cee Pull-Request: #177641
Handles git submodule initialization and NCCL checkout from pinned version, replacing the equivalent logic in setup.py's build_deps(). The module checks for existing state so it is safe to include unconditionally. Co-Generated with [Claude Code](https://claude.com/claude-code) ghstack-source-id: 9a81cee Pull-Request: pytorch#177641
Handles git submodule initialization and NCCL checkout from pinned version, replacing the equivalent logic in setup.py's build_deps(). The module checks for existing state so it is safe to include unconditionally. Co-Generated with [Claude Code](https://claude.com/claude-code) ghstack-source-id: 9a81cee Pull-Request: #177641
Handles git submodule initialization and NCCL checkout from pinned version, replacing the equivalent logic in setup.py's build_deps(). The module checks for existing state so it is safe to include unconditionally. Co-Generated with [Claude Code](https://claude.com/claude-code) ghstack-source-id: f5e5070 Pull-Request: pytorch#177641
Handles git submodule initialization and NCCL checkout from pinned version, replacing the equivalent logic in setup.py's build_deps(). The module checks for existing state so it is safe to include unconditionally. Co-Generated with [Claude Code](https://claude.com/claude-code) ghstack-source-id: 2c7c404 Pull-Request: pytorch#177641
Handles git submodule initialization and NCCL checkout from pinned version, replacing the equivalent logic in setup.py's build_deps(). The module checks for existing state so it is safe to include unconditionally. Co-Generated with [Claude Code](https://claude.com/claude-code) ghstack-source-id: f9f413b Pull-Request: pytorch#177641
Handles git submodule initialization and NCCL checkout from pinned version, replacing the equivalent logic in setup.py's build_deps(). The module checks for existing state so it is safe to include unconditionally. Co-Generated with [Claude Code](https://claude.com/claude-code) ghstack-source-id: 7999359 Pull-Request: pytorch#177641
|
Similar tool assisted review as the previous one:
|
You are welcome and thank you for considering our use case into your feature. |
|
The block from l. 14--31 detected the presence of the Now, the correct list of submodules is constructed from |
Thanks for the explanation, makes sense! I will import this updated code to test. |
|
Thanks for testing it. I have moved the nccl changes to a new PR in the stack, #181450. |
Sure thing. FYI we can now build successfully with this PR at this point. |
|
@pytorchbot merge -f "Failures unrelated" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
This PR is part of the work to replace the old setuptools based build system frontend with a modern and easier to maintain scikit-build-core one described in #157807. It was previously part of #177641, had received approval there and was split off by request to allow more internal testing. Adds NCCL checkout from the pinned version to `cmake/PreBuildSteps.cmake`, replacing the equivalent logic in `tools/build_pytorch_libs.py`'s NCCL clone block. The NCCL checkout uses `FetchContent` to clone from the tag pinned in `.ci/docker/ci_commit_pins/nccl*.txt`, with support for CUDA-version-specific pin files. It is skipped when `USE_DISTRIBUTED`, `USE_CUDA`, or `USE_NCCL` is explicitly off, or when the checkout already exists. The corresponding Python code is removed from `setup.py` and simplified in `tools/build_pytorch_libs.py`. The module checks for existing state so it is safe to include unconditionally under both setuptools and scikit-build-core. Co-Generated with [Claude Code](https://claude.com/claude-code) Pull Request resolved: #181450 Approved by: https://github.com/atalman
Adds `cmake/PreBuildSteps.cmake`, which handles git submodule initialization and NCCL checkout from the pinned version, replacing the equivalent logic in `setup.py`'s `check_submodules()` and `tools/build_pytorch_libs.py`'s NCCL clone block. The submodule check parses `.gitmodules` to discover submodule paths, verifies they are populated, and runs `git submodule update --init --recursive` if needed. It also validates that expected marker files exist (catches corrupt/partial checkouts) and checks fbgemm's nested asmjit dependency. The NCCL checkout uses `FetchContent` to clone from the tag pinned in `.ci/docker/ci_commit_pins/nccl*.txt`, with support for CUDA-version-specific pin files. It is skipped when `USE_DISTRIBUTED`, `USE_CUDA`, or `USE_NCCL` is explicitly off, or when the checkout already exists. The corresponding Python code is removed from `setup.py` and simplified in `tools/build_pytorch_libs.py`. The module checks for existing state so it is safe to include unconditionally under both setuptools and scikit-build-core. Co-Generated with [Claude Code](https://claude.com/claude-code) Pull Request resolved: pytorch#177641 Approved by: https://github.com/atalman, https://github.com/albanD
)" This reverts commit a66567f. Reverted pytorch#177641 on behalf of https://github.com/malfet due to There seems to be a regression, let's investigate ([comment](pytorch#177641 (comment)))
This PR is part of the work to replace the old setuptools based build system frontend with a modern and easier to maintain scikit-build-core one described in pytorch#157807. Adds `cmake/PreBuildSteps.cmake`, which handles git submodule initialization, replacing the equivalent logic in `setup.py`'s `check_submodules()`. The submodule check parses `.gitmodules` to discover submodule paths, verifies they are populated, and runs `git submodule update --init --recursive` if needed. It also validates that expected marker files exist (catches corrupt/partial checkouts) and checks fbgemm's nested asmjit dependency. Co-Generated with [Claude Code](https://claude.com/claude-code) Pull Request resolved: pytorch#177641 Approved by: https://github.com/atalman, https://github.com/albanD, https://github.com/nWEIdia
This PR is part of the work to replace the old setuptools based build system frontend with a modern and easier to maintain scikit-build-core one described in pytorch#157807. It was previously part of pytorch#177641, had received approval there and was split off by request to allow more internal testing. Adds NCCL checkout from the pinned version to `cmake/PreBuildSteps.cmake`, replacing the equivalent logic in `tools/build_pytorch_libs.py`'s NCCL clone block. The NCCL checkout uses `FetchContent` to clone from the tag pinned in `.ci/docker/ci_commit_pins/nccl*.txt`, with support for CUDA-version-specific pin files. It is skipped when `USE_DISTRIBUTED`, `USE_CUDA`, or `USE_NCCL` is explicitly off, or when the checkout already exists. The corresponding Python code is removed from `setup.py` and simplified in `tools/build_pytorch_libs.py`. The module checks for existing state so it is safe to include unconditionally under both setuptools and scikit-build-core. Co-Generated with [Claude Code](https://claude.com/claude-code) Pull Request resolved: pytorch#181450 Approved by: https://github.com/atalman
Adds `cmake/PreBuildSteps.cmake`, which handles git submodule initialization and NCCL checkout from the pinned version, replacing the equivalent logic in `setup.py`'s `check_submodules()` and `tools/build_pytorch_libs.py`'s NCCL clone block. The submodule check parses `.gitmodules` to discover submodule paths, verifies they are populated, and runs `git submodule update --init --recursive` if needed. It also validates that expected marker files exist (catches corrupt/partial checkouts) and checks fbgemm's nested asmjit dependency. The NCCL checkout uses `FetchContent` to clone from the tag pinned in `.ci/docker/ci_commit_pins/nccl*.txt`, with support for CUDA-version-specific pin files. It is skipped when `USE_DISTRIBUTED`, `USE_CUDA`, or `USE_NCCL` is explicitly off, or when the checkout already exists. The corresponding Python code is removed from `setup.py` and simplified in `tools/build_pytorch_libs.py`. The module checks for existing state so it is safe to include unconditionally under both setuptools and scikit-build-core. Co-Generated with [Claude Code](https://claude.com/claude-code) Pull Request resolved: pytorch#177641 Approved by: https://github.com/atalman, https://github.com/albanD
)" This reverts commit a66567f. Reverted pytorch#177641 on behalf of https://github.com/malfet due to There seems to be a regression, let's investigate ([comment](pytorch#177641 (comment)))
This PR is part of the work to replace the old setuptools based build system frontend with a modern and easier to maintain scikit-build-core one described in pytorch#157807. Adds `cmake/PreBuildSteps.cmake`, which handles git submodule initialization, replacing the equivalent logic in `setup.py`'s `check_submodules()`. The submodule check parses `.gitmodules` to discover submodule paths, verifies they are populated, and runs `git submodule update --init --recursive` if needed. It also validates that expected marker files exist (catches corrupt/partial checkouts) and checks fbgemm's nested asmjit dependency. Co-Generated with [Claude Code](https://claude.com/claude-code) Pull Request resolved: pytorch#177641 Approved by: https://github.com/atalman, https://github.com/albanD, https://github.com/nWEIdia
This PR is part of the work to replace the old setuptools based build system frontend with a modern and easier to maintain scikit-build-core one described in pytorch#157807. It was previously part of pytorch#177641, had received approval there and was split off by request to allow more internal testing. Adds NCCL checkout from the pinned version to `cmake/PreBuildSteps.cmake`, replacing the equivalent logic in `tools/build_pytorch_libs.py`'s NCCL clone block. The NCCL checkout uses `FetchContent` to clone from the tag pinned in `.ci/docker/ci_commit_pins/nccl*.txt`, with support for CUDA-version-specific pin files. It is skipped when `USE_DISTRIBUTED`, `USE_CUDA`, or `USE_NCCL` is explicitly off, or when the checkout already exists. The corresponding Python code is removed from `setup.py` and simplified in `tools/build_pytorch_libs.py`. The module checks for existing state so it is safe to include unconditionally under both setuptools and scikit-build-core. Co-Generated with [Claude Code](https://claude.com/claude-code) Pull Request resolved: pytorch#181450 Approved by: https://github.com/atalman
Adds `cmake/PreBuildSteps.cmake`, which handles git submodule initialization and NCCL checkout from the pinned version, replacing the equivalent logic in `setup.py`'s `check_submodules()` and `tools/build_pytorch_libs.py`'s NCCL clone block. The submodule check parses `.gitmodules` to discover submodule paths, verifies they are populated, and runs `git submodule update --init --recursive` if needed. It also validates that expected marker files exist (catches corrupt/partial checkouts) and checks fbgemm's nested asmjit dependency. The NCCL checkout uses `FetchContent` to clone from the tag pinned in `.ci/docker/ci_commit_pins/nccl*.txt`, with support for CUDA-version-specific pin files. It is skipped when `USE_DISTRIBUTED`, `USE_CUDA`, or `USE_NCCL` is explicitly off, or when the checkout already exists. The corresponding Python code is removed from `setup.py` and simplified in `tools/build_pytorch_libs.py`. The module checks for existing state so it is safe to include unconditionally under both setuptools and scikit-build-core. Co-Generated with [Claude Code](https://claude.com/claude-code) Pull Request resolved: pytorch#177641 Approved by: https://github.com/atalman, https://github.com/albanD
)" This reverts commit a66567f. Reverted pytorch#177641 on behalf of https://github.com/malfet due to There seems to be a regression, let's investigate ([comment](pytorch#177641 (comment)))
This PR is part of the work to replace the old setuptools based build system frontend with a modern and easier to maintain scikit-build-core one described in pytorch#157807. Adds `cmake/PreBuildSteps.cmake`, which handles git submodule initialization, replacing the equivalent logic in `setup.py`'s `check_submodules()`. The submodule check parses `.gitmodules` to discover submodule paths, verifies they are populated, and runs `git submodule update --init --recursive` if needed. It also validates that expected marker files exist (catches corrupt/partial checkouts) and checks fbgemm's nested asmjit dependency. Co-Generated with [Claude Code](https://claude.com/claude-code) Pull Request resolved: pytorch#177641 Approved by: https://github.com/atalman, https://github.com/albanD, https://github.com/nWEIdia
This PR is part of the work to replace the old setuptools based build system frontend with a modern and easier to maintain scikit-build-core one described in pytorch#157807. It was previously part of pytorch#177641, had received approval there and was split off by request to allow more internal testing. Adds NCCL checkout from the pinned version to `cmake/PreBuildSteps.cmake`, replacing the equivalent logic in `tools/build_pytorch_libs.py`'s NCCL clone block. The NCCL checkout uses `FetchContent` to clone from the tag pinned in `.ci/docker/ci_commit_pins/nccl*.txt`, with support for CUDA-version-specific pin files. It is skipped when `USE_DISTRIBUTED`, `USE_CUDA`, or `USE_NCCL` is explicitly off, or when the checkout already exists. The corresponding Python code is removed from `setup.py` and simplified in `tools/build_pytorch_libs.py`. The module checks for existing state so it is safe to include unconditionally under both setuptools and scikit-build-core. Co-Generated with [Claude Code](https://claude.com/claude-code) Pull Request resolved: pytorch#181450 Approved by: https://github.com/atalman
Stack from ghstack (oldest at bottom):
This PR is part of the work to replace the old setuptools based build system frontend with a modern and easier to maintain scikit-build-core one described in #157807.
Adds
cmake/PreBuildSteps.cmake, which handles git submodule initialization, replacing the equivalent logic insetup.py'scheck_submodules().The submodule check parses
.gitmodulesto discover submodule paths, verifies they are populated, and runsgit submodule update --init --recursiveif needed. It also validates that expected marker files exist (catches corrupt/partial checkouts) and checks fbgemm's nested asmjit dependency.Co-Generated with Claude Code