vllm.models.muse_spark.nvidia.ops.mnnvl_fusions
¶
Workspaces for FlashInfer MNNVL collectives fused into Muse Spark boundaries.
Functions:
-
maybe_create_all_gather_dual_norm–FlashInfer
MNNVLCuteDSLAllGatherDualNormWorkspacefor the TP group. -
maybe_create_all_gather_norm_quant–FlashInfer
MNNVLCuteDSLAllGatherNormQuantWorkspacefor the TP group. -
maybe_create_moe_finalize_all_reduce–FlashInfer
MNNVLCuteDSLMoEFinalizeAllReduceWorkspacefor the TP group. -
tp_group_spans_nodes–Whether the TP group crosses nodes; collective on the first call.
_create_on_all_tp_ranks(name, create)
¶
Collectively create a workspace; every TP rank gets one or none.
Source code in vllm/models/muse_spark/nvidia/ops/mnnvl_fusions.py
maybe_create_all_gather_dual_norm(hidden_size, max_tokens, *, enable_pdl)
¶
FlashInfer MNNVLCuteDSLAllGatherDualNormWorkspace for the TP group.
Source code in vllm/models/muse_spark/nvidia/ops/mnnvl_fusions.py
maybe_create_all_gather_norm_quant(hidden_size, max_tokens)
¶
FlashInfer MNNVLCuteDSLAllGatherNormQuantWorkspace for the TP group.
Source code in vllm/models/muse_spark/nvidia/ops/mnnvl_fusions.py
maybe_create_moe_finalize_all_reduce(hidden_size, top_k, max_tokens, *, enable_pdl)
¶
FlashInfer MNNVLCuteDSLMoEFinalizeAllReduceWorkspace for the TP group.
Source code in vllm/models/muse_spark/nvidia/ops/mnnvl_fusions.py
tp_group_spans_nodes()
cached
¶
Whether the TP group crosses nodes; collective on the first call.