Skip to content

Commit

Permalink
[fbgemm_gpu] Enable NCCL code
Browse files Browse the repository at this point in the history
- Enable NCCL code and tests for multiple GPU car
  • Loading branch information
q10 committed May 24, 2024
1 parent ab05ca9 commit 77ecfb9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@triton.jit
# fmt: off
def triton_add_kernel(x_ptr, y_ptr, z_ptr, n_elements, BLOCK_SIZE: tl.constexpr) -> None:
# fmt: on
# fmt: on # noqa E115
# We use a 1D launch grid so axis is 0.
pid = tl.program_id(axis=0)

Expand Down
10 changes: 5 additions & 5 deletions fbgemm_gpu/experimental/gen_ai/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ set(quantize_ops_sources
src/quantize/quantize.cu
src/quantize/quantize.cpp)

# set(comm_ops_sources
# src/comm/car.cu
# src/comm/car.cpp)
set(comm_ops_sources
src/comm/car.cu
src/comm/car.cpp)

set(experimental_gen_ai_cpp_source_files
${attention_ops_sources}
${quantize_ops_sources})
# ${comm_ops_sources})
${quantize_ops_sources}
${comm_ops_sources})

set_source_files_properties(${experimental_gen_ai_cpp_source_files}
PROPERTIES INCLUDE_DIRECTORIES
Expand Down

0 comments on commit 77ecfb9

Please sign in to comment.