Skip to content

[CMake] Use libtorch_cuda list defined in bzl file#49429

Closed
malfet wants to merge 1 commit intopytorch:masterfrom
malfet:malfet/unify-torch-cuda-buildlists
Closed

[CMake] Use libtorch_cuda list defined in bzl file#49429
malfet wants to merge 1 commit intopytorch:masterfrom
malfet:malfet/unify-torch-cuda-buildlists

Conversation

@malfet
Copy link
Copy Markdown
Contributor

@malfet malfet commented Dec 15, 2020

Since NCCL is an optional CUDA dependency, remove nccl.cpp from the core filelist

Since NCCL is an optional CUDA dependency, remove nccl.cpp from the core filelist
@malfet malfet requested a review from a team December 15, 2020 21:28
@facebook-github-bot
Copy link
Copy Markdown
Contributor

facebook-github-bot commented Dec 15, 2020

💊 CI failures summary and remediations

As of commit e66de13 (more details on the Dr. CI page):


  • 1/1 failures possibly* introduced in this PR
    • 1/1 non-CircleCI failure(s)

This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions to the (internal) Dr. CI Users group.

This comment has been revised 3 times.

Copy link
Copy Markdown
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@malfet has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@nikithamalgifb
Copy link
Copy Markdown
Contributor

LGTM

Comment thread tools/build_variables.bzl

libtorch_cuda_sources = [
libtorch_cuda_core_sources = [
"torch/csrc/cuda/comm.cpp",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit should we move this to libtorch_cuda_sources as well? (doesn't seem to be used anyway)

@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 16, 2020

Codecov Report

Merging #49429 (e66de13) into master (f4e15c4) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #49429   +/-   ##
=======================================
  Coverage   80.63%   80.63%           
=======================================
  Files        1875     1875           
  Lines      202702   202702           
=======================================
+ Hits       163442   163444    +2     
+ Misses      39260    39258    -2     

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@malfet merged this pull request in 58551e5.

hwangdeyu pushed a commit to hwangdeyu/pytorch that referenced this pull request Jan 6, 2021
Summary:
Since NCCL is an optional CUDA dependency, remove nccl.cpp from the core filelist

Pull Request resolved: pytorch#49429

Reviewed By: nikithamalgifb

Differential Revision: D25569883

Pulled By: malfet

fbshipit-source-id: 61371a4c6b0438e4e0a7f094975b9a9f9ffa4032
@malfet malfet deleted the malfet/unify-torch-cuda-buildlists branch February 2, 2021 00:34
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
Summary:
Since NCCL is an optional CUDA dependency, remove nccl.cpp from the core filelist

Pull Request resolved: pytorch#49429

Reviewed By: nikithamalgifb

Differential Revision: D25569883

Pulled By: malfet

fbshipit-source-id: 61371a4c6b0438e4e0a7f094975b9a9f9ffa4032
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants