Skip to content

Commit

Permalink
fix build failed on nccl
Browse files Browse the repository at this point in the history
  • Loading branch information
Yancey1989 committed Aug 12, 2024
1 parent 41baac7 commit 50e0672
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions torch_xla/csrc/runtime/disc/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,13 @@ ptxla_cc_library(
"@disc_compiler//:disc_custom_op",
"@disc_compiler//:headers",
"@local_config_cuda//cuda:cuda_headers",
"@local_config_nccl//:nccl",
"@torch//:libc10",
"@torch//:libc10_cuda",
"@torch//:libtorch_cuda",
"@flash_attn//:headers",
"@flash_attn//:flash_attn_cuda",

],
copts = [
"-DGOOGLE_CUDA",
Expand Down Expand Up @@ -58,6 +60,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 50e0672

Please sign in to comment.