Skip to content

Commit

Permalink
[Kernel] Expand MoE weight loading + Add Fused Marlin MoE Kernel (#7766)
Browse files Browse the repository at this point in the history
Co-authored-by: ElizaWszola <[email protected]>
  • Loading branch information
dsikka and ElizaWszola authored Aug 27, 2024
1 parent ed6f002 commit fc91188
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 @@ -296,6 +296,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 fc91188

Please sign in to comment.