Skip to content

Commit

Permalink
[Kernel] Expand MoE weight loading + Add Fused Marlin MoE Kernel (vll…
Browse files Browse the repository at this point in the history
…m-project#7766)

Co-authored-by: ElizaWszola <[email protected]>
  • Loading branch information
2 people authored and triple-Mu committed Sep 4, 2024
1 parent d58e692 commit 89ec134
Show file tree
Hide file tree
Showing 16 changed files with 2,382 additions and 85 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,11 @@ set(VLLM_MOE_EXT_SRC
"csrc/moe/torch_bindings.cpp"
"csrc/moe/topk_softmax_kernels.cu")

if(VLLM_GPU_LANG STREQUAL "CUDA")
list(APPEND VLLM_MOE_EXT_SRC
"csrc/moe/marlin_moe_ops.cu")
endif()

define_gpu_extension_target(
_moe_C
DESTINATION vllm
Expand Down
Loading

0 comments on commit 89ec134

Please sign in to comment.