update and simplify CustomOp (#3249)

This commit is contained in:
Yineng Zhang authored and GitHub committed 2025-02-01 18:56:44 +08:00
1 parent 17dbf976c5
commit 4eb4b401cc
8 files changed
+46 -45

No files matched your search

@@ -21,8 +21,8 @@ from typing import TYPE_CHECKING, Callable
import torch
import tqdm
from vllm.model_executor.custom_op import CustomOp
from sglang.srt.custom_op import CustomOp
from sglang.srt.distributed import get_tensor_model_parallel_rank
from sglang.srt.distributed.parallel_state import GroupCoordinator, graph_capture
from sglang.srt.layers.logits_processor import LogitsProcessorOutput