vllm.models.inkling2.nvidia.ops
¶
Modules:
-
activation–Softcapped SwiGLU of the Inkling2 experts, fused with the down-projection
-
allreduce–MNNVL all-reduce fused with Inkling2's hidden-stream short conv and the
-
attention–Inkling2 attention kernels: FA4 relative attention, gate/sink, log-scaling.
-
attention_sm90–Inkling2 relative-bias paged attention for Hopper and SM12x (Triton).
-
attn_res–Block attention residual: softmax-weighted mix of residual stream blocks.
-
block_scales–Operand layouts of the TRT-LLM-gen expert GEMMs.
-
conv_mix–Hidden-stream short conv fused with the AttnRes mix + RMSNorm of the next
-
dspark–Kernels of the Inkling2 DSpark draft, matching the reference implementation.
-
grouped_gemm–BF16 grouped GEMM over expert-sorted rows (the expert LoRA projections).
-
linear–bf16 linears: small batches on FlashInfer's CuTe DSL low-M kernels, and the
-
ll_gemm_sm120–Low-M BF16 tensor-core projections for SM120/SM121: batched
x @ w.Twith -
loop–Loop message controllers, batched over streams.
-
moe–Inkling2 MoE kernels: top-k gate, the tile-padded expert row layout of the
-
moe_humming–SM12 Humming NVFP4 GEMMs using Inkling's quantized expert rows.
-
moe_sm120–SM120/121 expert GEMMs with native NVFP4 MMA and dequantized MXFP8.
-
moe_sm90–Inkling2 routed experts on Hopper: Humming expert GEMMs (bf16
-
mxfp8–MXFP8 (e4m3 values, ue8m0 scales per 32 elements) activation quantization.
-
norm–Inkling2 row-wise kernels: RMSNorm and the q/r L2 clipping (fused into the
-
nvfp4–NVFP4 per-token activation quantization ("fouroversix_mae" scale rule).
-
sconv–Inkling2 short convolution over a paged sliding-window conv-state cache.
-
seq_parallel–Sequence-parallel residual stream of large batches (TP > 1, CUDA).
-
trtllm_bmm–TRT-LLM-gen batched expert GEMMs (FlashInfer cubins) for the Inkling2 MoE.
-
vision–Triton kernels for the Inkling2 vision encoder.
Functions:
-
use_sm100_kernels–Whether to run the Blackwell kernels (tml_fa4, tcgen05 attention,
use_sm100_kernels()
cached
¶
Whether to run the Blackwell kernels (tml_fa4, tcgen05 attention, TRT-LLM-gen expert GEMMs, e2m1 conversions). Hopper uses Humming experts; SM12x uses Triton experts and does not support tcgen05.