feat: remove vllm get_rope (#2964)

This commit is contained in:
Yineng Zhang
2025-01-18 19:38:01 +08:00
committed by GitHub
parent 6f98c586bd
commit 2add697d7a
30 changed files with 1028 additions and 219 deletions

View File

@@ -19,7 +19,6 @@ from typing import Iterable, Optional, Tuple
import torch
import torch.nn as nn
from vllm.model_executor.layers.rotary_embedding import get_rope
from sglang.srt.configs import DbrxConfig
from sglang.srt.distributed import (
@@ -36,6 +35,7 @@ from sglang.srt.layers.logits_processor import LogitsProcessor
from sglang.srt.layers.moe.fused_moe_triton import fused_moe
from sglang.srt.layers.quantization.base_config import QuantizationConfig
from sglang.srt.layers.radix_attention import RadixAttention
from sglang.srt.layers.rotary_embedding import get_rope
from sglang.srt.layers.vocab_parallel_embedding import (
DEFAULT_VOCAB_PADDING_SIZE,
ParallelLMHead,