[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:
@@ -37,7 +37,6 @@ from ..common.hyperconnection import (
|
||||
GroupedGemmaRMSNorm,
|
||||
HyperConnectionConfig,
|
||||
)
|
||||
from .ops.cute_dsl.hc_down_silu import MAX_FUSED_M, hc_down_silu
|
||||
from .ops.hc import (
|
||||
grouped_gemma_rmsnorm,
|
||||
hc_combine,
|
||||
@@ -109,11 +108,17 @@ class GatedResidual(nn.Module):
|
||||
disable_tp=True,
|
||||
)
|
||||
weight = self.input_mix_weight_down_block_inject.weight
|
||||
self._use_hc_down_silu = (
|
||||
self._use_hc_down_silu = False
|
||||
self._hc_down_silu_max_m = 0
|
||||
if (
|
||||
weight.shape[1] % 8 == 0
|
||||
and weight.dtype == torch.bfloat16
|
||||
and current_platform.has_device_capability(90)
|
||||
)
|
||||
):
|
||||
from .ops.cute_dsl.hc_down_silu import MAX_FUSED_M
|
||||
|
||||
self._hc_down_silu_max_m = MAX_FUSED_M
|
||||
self._use_hc_down_silu = True
|
||||
else:
|
||||
self.input_mix_weight_down = ReplicatedLinear(
|
||||
self.hyper_hidden_size,
|
||||
@@ -144,9 +149,11 @@ class GatedResidual(nn.Module):
|
||||
use_fused = (
|
||||
self._use_hc_down_silu
|
||||
and not envs.VLLM_BATCH_INVARIANT
|
||||
and 1 <= xn.shape[0] <= MAX_FUSED_M
|
||||
and 1 <= xn.shape[0] <= self._hc_down_silu_max_m
|
||||
)
|
||||
if use_fused:
|
||||
from .ops.cute_dsl.hc_down_silu import hc_down_silu
|
||||
|
||||
return hc_down_silu(
|
||||
xn,
|
||||
self.input_mix_weight_down_block_inject.weight,
|
||||
|
||||
Reference in New Issue
Block a user