mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 00:06:06 +08:00
9 lines
190 B
C++
9 lines
190 B
C++
#include "moe_ops.h"
|
|
|
|
#include <torch/extension.h>
|
|
|
|
PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) {
|
|
m.def("topk_softmax", &topk_softmax,
|
|
"Apply topk softmax to the gating outputs.");
|
|
}
|