Skip to content

Commit

Permalink
fix build failed with NCCL (#5)
Browse files Browse the repository at this point in the history
* fix build failed on nccl

* using nccl hdrs
  • Loading branch information
Yancey1989 committed Aug 13, 2024
1 parent 41baac7 commit 1e499d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions torch_xla/csrc/runtime/disc/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ ptxla_cc_library(
"@disc_compiler//:disc_custom_op",
"@disc_compiler//:headers",
"@local_config_cuda//cuda:cuda_headers",
"@nccl_archive//:nccl_headers",
"@torch//:libc10",
"@torch//:libc10_cuda",
"@torch//:libtorch_cuda",
Expand Down Expand Up @@ -58,6 +59,8 @@ ptxla_cc_library(
":disc_ral",
":disc_utils",
"//torch_xla/csrc/runtime:tf_logging",
"//torch_xla/csrc/runtime:sys_util",
"//torch_xla/csrc/runtime:env_vars",
"@llvm-project//mlir:FuncDialect",
"@llvm-project//mlir:IR",
"@llvm-project//mlir:Parser",
Expand Down

0 comments on commit 1e499d9

Please sign in to comment.