[Mini-vLLM] SM86-only cut: models, backends, Rust, tests

- Keep only Qwen3.5, Qwen3.5-MTP and Qwen4Exp model paths; trim the model registry to 41 entries
- Delete idle attention backends (MLA, FlashInfer, ROCm-only, quant backends) and dead GDN CuTeDSL kernels
- Remove inc/quark quant loaders; keep compressed-tensors and Marlin
- Drop the Rust frontend, pooling entrypoints, and idle test suites
- Rebuild kernels for sm_80;sm_86 and strip the extensions
- Verified: full import sweep clean (optional deps only) and a dummy-load Qwen3.5 engine run on RTX 3090 via the Triton GDN path

Co-authored-by: Hinata <hinata@idihore.id>
Signed-off-by: MOVZX <movzx@yahoo.com>
This commit is contained in:
2026-10-18 19:19:56 +07:00
co-authored by Hinata
parent c5ab42bc0f
commit e61dcb9143
2728 changed files with 159 additions and 950401 deletions
+43 -8
View File
@@ -30,12 +30,8 @@ from vllm.model_executor.models import (
supports_multimodal,
supports_multimodal_embeddings,
)
from vllm.model_executor.models.deepseek_eagle3 import Eagle3DeepseekV2ForCausalLM
from vllm.model_executor.models.interfaces import SupportsMultiModal
from vllm.model_executor.models.laguna_dflash import DFlashLagunaForCausalLM
from vllm.model_executor.models.llama_eagle3 import Eagle3LlamaForCausalLM
from vllm.model_executor.models.qwen3_dflash import DFlashQwen3ForCausalLM
from vllm.model_executor.models.qwen3_eagle3 import Eagle3Qwen3ForCausalLM
from vllm.platforms import current_platform
from vllm.transformers_utils.deepseek_v4_utils import get_compress_ratios
from vllm.utils.torch_utils import PIN_MEMORY, async_tensor_h2d
@@ -67,6 +63,45 @@ from vllm.v1.worker.dp_utils import coordinate_batch_across_dp
from vllm.v1.worker.gpu_input_batch import CachedRequestState, InputBatch
from vllm.v1.worker.utils import AttentionGroup
def _eagle3_dsv2_cls() -> type:
try:
from vllm.model_executor.models.deepseek_eagle3 import (
Eagle3DeepseekV2ForCausalLM,
)
except ModuleNotFoundError:
return type("AbsentEagle3DeepseekV2", (), {})
return Eagle3DeepseekV2ForCausalLM
def _dflash_laguna_cls() -> type:
try:
from vllm.model_executor.models.laguna_dflash import (
DFlashLagunaForCausalLM,
)
except ModuleNotFoundError:
return type("AbsentDFlashLaguna", (), {})
return DFlashLagunaForCausalLM
def _eagle3_llama_cls() -> type:
try:
from vllm.model_executor.models.llama_eagle3 import Eagle3LlamaForCausalLM
except ModuleNotFoundError:
return type("AbsentEagle3Llama", (), {})
return Eagle3LlamaForCausalLM
def _eagle3_qwen3_cls() -> type:
try:
from vllm.model_executor.models.qwen3_eagle3 import (
Eagle3Qwen3ForCausalLM,
)
except ModuleNotFoundError:
return type("AbsentEagle3Qwen3", (), {})
return Eagle3Qwen3ForCausalLM
logger = init_logger(__name__)
@@ -539,11 +574,11 @@ class SpecDecodeBaseProposer:
assert isinstance(
model,
(
Eagle3LlamaForCausalLM,
Eagle3DeepseekV2ForCausalLM,
_eagle3_llama_cls(),
_eagle3_dsv2_cls(),
_eagle3_qwen3_cls(),
DFlashQwen3ForCausalLM,
Eagle3Qwen3ForCausalLM,
DFlashLagunaForCausalLM,
_dflash_laguna_cls(),
),
)
target_hidden_states = self.model.combine_hidden_states(