Skip to content

vllm.config.parallel

Classes:

  • EPLBConfig –

    Configuration for Expert Parallel Load Balancing (EP).

  • ParallelConfig –

    Configuration for the distributed execution.

Functions:

EPLBConfig

Configuration for Expert Parallel Load Balancing (EP).

Attributes:

communicator = None class-attribute instance-attribute

Backend for EPLB expert weight communication: - "torch_nccl": Use torch.distributed on the device process group - "torch_gloo": Use torch.distributed gloo with CPU staging - "torch_xccl": Use torch.distributed XCCL device P2P on XPU - "nixl": Use NIXL with staged send/recv buffers - "pynccl": Use PyNccl send/recv - "symm_mem": Push expert rows over CUDA symmetric memory; needs all EP ranks in one NVLink domain (MNNVL across nodes) - None: Auto-select backend ("torch_xccl" on XPU, prefers "nixl" on CUDA, falls back to "torch_gloo")

draft_num_redundant_experts = Field(default=None, ge=0) class-attribute instance-attribute

Redundant expert count for an EPLB-backed MoE draft. If unset, the target count is inherited when target and draft routed expert counts match and the target count is valid for the draft; otherwise, the draft's minimum valid count is computed. Explicit values are validated and rejected if they do not satisfy EP divisibility for every draft routed expert count.

enable_migration_batching = False class-attribute instance-attribute

Schedule expert migrations in batches where each rank communicates with at most one peer. This reduces per-rank network contention at the cost of additional sequential communication steps. This option only applies to async EPLB and is disabled by default.

log_balancedness = False class-attribute instance-attribute

Log the balancedness each step of expert parallelism. This is turned off by default since it will cause communication overhead.

log_balancedness_interval = Field(default=1, gt=0) class-attribute instance-attribute

Interval for logging the balancedness.

migration_batching_enabled property

Whether contention-aware batching is active for this configuration.

num_redundant_experts = Field(default=None, ge=0) class-attribute instance-attribute

Number of redundant experts to use for expert parallelism. If None (default), the minimum valid value will be computed automatically based on the number of logical experts and the expert parallel size. The value will be rounded up to the nearest multiple of the expert parallel size.

policy = None class-attribute instance-attribute

Built-in or platform-defined policy name. None selects the platform default ("default" on built-in platforms). Validated by the platform.

step_interval = Field(default=3000, gt=0) class-attribute instance-attribute

Interval for rearranging experts in expert parallelism.

Note that if this is greater than the EPLB window size, only the metrics of the last lb_window_size steps will be used for rearranging experts. With async EPLB, the interval starts when the previous rearrangement has committed all layers.

use_async = True class-attribute instance-attribute

Whether to use non-blocking EPLB. Async policy computation runs in a persistent CPU subprocess per worker. The policy and its CPU inputs must be serializable. Synchronous and profiling calls stay in the worker.

window_size = Field(default=1000, gt=0) class-attribute instance-attribute

Window size for expert load recording.

ParallelConfig

Configuration for the distributed execution.

Methods:

Attributes:

_all2all_backend_auto_one_sided = Field(default=False, repr=False) class-attribute instance-attribute

Whether "auto" picked "flashinfer_nvlink_one_sided"; VllmConfig falls back to "allgather_reducescatter" for models it does not support.

_allow_auto_resolve_cp_interleave_size = True class-attribute instance-attribute

Whether NIXL or MoRIIO may select the interleave size automatically.

_api_process_count = Field(default=1, gt=0) class-attribute instance-attribute

The number of API processes initialized.

Note

This is an internal config that is only valid for and should only be set by API server scale-out.

_api_process_rank = Field(default=0, ge=-1) class-attribute instance-attribute

The rank of this API process, or -1 for engine core processes under API server scale-out.

Note

This is an internal config that is only valid for and should only be set by API server scale-out.

_coord_store_port = 0 class-attribute instance-attribute

Port of the coordination TCPStore. Can be set by the API server; workers connect as clients to exchange self-picked group ports at runtime.

_data_parallel_master_port_list = Field(default_factory=list) class-attribute instance-attribute

List of open port auto-queried for data parallel messaging. Set to be private as it's not intended to be configured by users.

_numa_bind_auto = Field(default=False, repr=False) class-attribute instance-attribute

Internal launch decision: use soft memory preference in spawned children.

all2all_backend = 'auto' class-attribute instance-attribute

All2All backend for MoE expert parallel communication. Available options:

  • "auto": "flashinfer_nvlink_one_sided" for expert parallelism without elastic EP, with any data-parallel size on GB200/GB300/VR200 or on a single HGX B200/B300 node launched by vLLM (any parallel layout), for BF16/FP16, ModelOpt NVFP4 or 128x128 block FP8 models without LoRA or a MoE-EP backend; "allgather_reducescatter" otherwise

  • "allgather_reducescatter": All2all based on allgather and reducescatter

  • "alltoall_batched": All2all based on all_to_all_single, routing each token only to the ranks owning its experts, in batched activation format
  • "deepep_high_throughput": Use deepep high-throughput kernels
  • "deepep_low_latency": Use deepep low-latency kernels
  • "mori_high_throughput": MoRI EP with InterNodeV1 for multi-node (deprecated; use "mori")
  • "mori_low_latency": MoRI EP with InterNodeV1LL for multi-node (deprecated; use "mori")
  • "moonep": MoonEP balanced EP with dynamic redundant experts (NVLink)
  • "mori": MoRI EP; uses EPv2 where supported (see VLLM_MORI_EP_V2) and EPv1 otherwise, picking the EPv1 inter-node kernel from the token budget (see VLLM_MORI_DISPATCH_INTER_KERNEL_SWITCH_THRESHOLD)
  • "nixl_ep": Use nixl-ep kernels
  • "mooncake_ep": Use Mooncake EP low-latency kernels with elastic buffers
  • "flashinfer_nvlink_one_sided": Use flashinfer high-throughput a2a kernels
  • "flashinfer_nvlink_two_sided": Use flashinfer two-sided kernels for mnnvl
  • "passthrough": No all2all at all: the MoE backend dispatches and combines itself (e.g. the FlashInfer MoE-EP megakernels). Bound automatically for such MoE backends; not selectable from the CLI.

assigned_physical_gpu_ids = None class-attribute instance-attribute

Mapping from vLLM-local logical GPU IDs to physical GPU IDs.

For example, [2, 3] means logical GPU 0 maps to physical GPU 2, and logical GPU 1 maps to physical GPU 3. Physical IDs are used only at platform/topology boundaries such as NVML, NIC affinity, P2P checks, and final CUDA device selection when needed. When None, logical IDs map to visible device IDs in order.

cp_kv_cache_interleave_size = 1 class-attribute instance-attribute

Interleave size of kv_cache storage while using DCP. Store interleave_size tokens on dcp_rank i, then store next interleave_size tokens on dcp_rank i+1. Interleave_size=1: token-level alignment, where token i is stored on dcp_rank i % dcp_world_size. Interleave_size=block_size: block-level alignment, where tokens are first populated to the preceding ranks. Tokens are then stored in (rank i+1, block j) only after (rank i, block j) is fully occupied. Block_size should be greater than or equal to cp_kv_cache_interleave_size. Block_size should be divisible by cp_kv_cache_interleave_size.

When --cp-kv-cache-interleave-size is omitted (None), the interleave size is resolved automatically based on NIXL or MoRIIO transfer requirements. Explicit settings take priority.

cpu_distributed_timeout_seconds = None class-attribute instance-attribute

Timeout (in seconds) for cpu communication groups. If None, PyTorch's default timeout is used (1800s for gloo).

data_parallel_backend = 'mp' class-attribute instance-attribute

Backend to use for data parallel, either "mp" or "ray".

data_parallel_coordinator_startup_timeout_seconds = Field(default=120, gt=0, le=2147483) class-attribute instance-attribute

Seconds the frontend waits for the DP coordinator to report its ZMQ socket addresses at startup. The wait must fit in a signed 32-bit millisecond count.

data_parallel_external_lb = False class-attribute instance-attribute

Whether to use "external" DP LB mode. Applies only to online serving and when data_parallel_size > 0. This is useful for a "one-pod-per-rank" wide-EP setup in Kubernetes. Supported only for MoE deployments; non-MoE models should use independent vLLM instances without --data-parallel-* arguments. Set implicitly when --data-parallel-rank is provided explicitly to vllm serve.

data_parallel_hybrid_lb = False class-attribute instance-attribute

Whether to use "hybrid" DP LB mode. Applies only to online serving and when data_parallel_size > 0. Enables running an AsyncLLM and API server on a "per-node" basis where vLLM load balances between local data parallel ranks, but an external LB balances between vLLM nodes/replicas. Set explicitly in conjunction with --data-parallel-start-rank.

data_parallel_index = Field(init=False) class-attribute instance-attribute

Equal to the data parallel rank but not used for torch process groups and not overridden for dense models.

data_parallel_master_ip = '127.0.0.1' class-attribute instance-attribute

IP of the data parallel master.

data_parallel_master_port = 29500 class-attribute instance-attribute

Port of the data parallel master.

data_parallel_rank = Field(default=0, ge=0) class-attribute instance-attribute

Rank of the data parallel group. The runtime check at __post_init__ further bounds this by data_parallel_size.

data_parallel_rank_local = None class-attribute instance-attribute

Local rank of the data parallel group, set only in SPMD mode.

data_parallel_rpc_port = Field(default=29550, ge=1, le=65535) class-attribute instance-attribute

Fixed port for data parallel messaging, shared by all nodes.

data_parallel_size = Field(default=1, ge=1) class-attribute instance-attribute

Number of data parallel groups. MoE layers will be sharded according to the product of the tensor, prefill-context, and data parallel sizes.

data_parallel_size_local = Field(default=1, ge=0) class-attribute instance-attribute

Number of local data parallel groups. A value of 0 is a sentinel used by the engine-args layer to signal that data parallelism was specified externally (see ParallelConfig.__post_init__).

dbo_decode_token_threshold = Field(default=32, ge=0) class-attribute instance-attribute

The threshold for dual batch overlap for batches only containing decodes. If the number of tokens in the request is greater than this threshold, microbatching will be used. Otherwise, the request will be processed in a single batch.

dbo_prefill_token_threshold = Field(default=512, ge=0) class-attribute instance-attribute

The threshold for dual batch overlap for batches that contain one or more prefills. If the number of tokens in the request is greater than this threshold, microbatching will be used. Otherwise, the request will be processed in a single batch.

dbo_schedule = None class-attribute instance-attribute

What one microbatch overlaps with the other's compute: dispatch-combine-overlap its expert all-to-all, all-reduce-overlap its TP all-reduces. all-reduce-overlap needs tensor parallelism on one DP rank without expert parallelism and is the default there; everywhere else the default is dispatch-combine-overlap.

dcp_comm_backend = None class-attribute instance-attribute

Communication backend for Decode Context Parallel (DCP). - "ag_rs": AllGather + ReduceScatter (existing behavior) - "a2a": All-to-All exchange of partial outputs + LSE, then combine with Triton kernel. Reduces NCCL calls from 3 to 2 per layer for MLA models.

None selects the model default, which is "ag_rs" unless the model overrides it via set_dcp_defaults.

dcp_kv_cache_interleave_size = 1 class-attribute instance-attribute

Interleave size of kv_cache storage while using DCP. dcp_kv_cache_interleave_size has been replaced by cp_kv_cache_interleave_size, and will be deprecated when PCP is fully supported.

dcp_q_replicate = None class-attribute instance-attribute

Replicate the MLA query projection within each DCP group so decode can skip the query all-gather.

With DCP the KV cache is sharded across the group, so the standard MLA decode path all-gathers the query every step. Replicating the (small) query projection at load time lets each rank materialize the full group-local head set and skip that collective, at the cost of computing the projection redundantly on every rank in the group.

decode_context_parallel_size = Field(default=1, ge=1) class-attribute instance-attribute

Number of ranks that shard the decode KV cache. DCP does not expand the process world size. Without PCP, DCP reuses TP ranks. With PCP, DCP either spans the PCP axis or the full TP x PCP block.

disable_custom_all_reduce = False class-attribute instance-attribute

Disable the custom all-reduce kernel and fall back to NCCL.

disable_nccl_for_dp_synchronization = None class-attribute instance-attribute

Forces the dp synchronization logic in vllm/v1/worker/dp_utils.py to use Gloo instead of NCCL for its all reduce.

Defaults to True when async scheduling is enabled, False otherwise.

distributed_executor_backend = None class-attribute instance-attribute

Backend to use for distributed model workers, either "ray" or "mp" (multiprocessing). If the product of pipeline_parallel_size and tensor_parallel_size is less than or equal to the number of GPUs available, "mp" will be used to keep processing on a single host. Otherwise, an error will be raised. To use "mp" you must also set nnodes, and to use "ray" you must manually set distributed_executor_backend to "ray".

Note

TPU platform only supports Ray for distributed inference.

distributed_timeout_seconds = None class-attribute instance-attribute

Timeout in seconds for distributed operations (e.g., init_process_group). If set, this value is passed to torch.distributed.init_process_group as the timeout parameter. If None, PyTorch's default timeout is used (600s for NCCL). Increase this for multi-node setups where model downloads may be slow.

dp_sync_interval = Field(default=16, ge=1) class-attribute instance-attribute

Steps between DP finish-sync all-reduces; must match across DP ranks.

effective_cpu_distributed_timeout property

The timeout cpu groups operate with right now: the configured value, except under FT before steady state, where group timeouts are deferred because uneven rank startup would trip them.

elastic_ep_max_dp_size = Field(default=None, ge=1) class-attribute instance-attribute

Maximum data parallel size supported by elastic expert parallelism.

enable_batch_sharded_sampling = None class-attribute instance-attribute

Use sharded sampling across tensor parallel ranks. Each rank samples a slice of the batch instead of every rank sampling all of it. Currently defaults to False if not set. Enabling it explicitly raises when the config cannot support it (tensor_parallel_size must be > 1, max_num_seqs at least tensor_parallel_size, and max_logprobs non-negative). Models opt in by implementing compute_logits_local.

enable_dbo = False class-attribute instance-attribute

Enable dual batch overlap for the model executor.

enable_elastic_ep = False class-attribute instance-attribute

Enable elastic expert parallelism with stateless NCCL groups for DP/EP.

enable_ep_weight_filter = False class-attribute instance-attribute

Skip non-local expert weights during model loading when expert parallelism is active. Each rank only reads its own expert shard from disk, which can drastically reduce storage I/O for MoE models with per-expert weight tensors (e.g. DeepSeek, Mixtral, Kimi-K2.5). With EPLB, each rank also reads the experts its redundant slots replicate in the initial placement; elastic EP loads every expert. Has no effect on 3D fused-expert checkpoints (e.g. GPT-OSS) or non-MoE models.

enable_eplb = False class-attribute instance-attribute

Enable expert parallelism load balancing for MoE layers.

enable_expert_parallel = False class-attribute instance-attribute

Use expert parallelism instead of tensor parallelism for MoE layers.

enable_fault_tolerance = False class-attribute instance-attribute

Enable fault tolerance for detailed error recovery, such as scaling down faulty DPEngineCores.

enable_hc_sp = False class-attribute instance-attribute

Enable sequence parallelism for HyperConnection (HC) computation. Currently supported by Qwen4Exp on CUDA/ROCm with TP>1 and PP=1 (ignored when TP=1). Does not change MoE parallelism. MoE SP may enable HC SP independently of this flag.

enable_shm_tensor_arena = False class-attribute instance-attribute

Route large CPU tensors (e.g. multimodal pixel_values) in the engine→worker broadcast through a zero-copy shared-memory arena instead of sending a copy to every reader. Experimental: may be reconciled with vLLM's existing multimodal shm tensor caching in a future release. Opt-in; most beneficial for multimodal serving with large images and tensor parallelism. Active only when all queue readers are node-local; reserves slots in /dev/shm.

eplb_config = Field(default_factory=EPLBConfig) class-attribute instance-attribute

Expert parallelism configuration.

expert_placement_strategy = 'linear' class-attribute instance-attribute

The expert placement strategy for MoE layers:

  • "linear": Experts are placed in a contiguous manner. For example, with 4 experts and 2 ranks, rank 0 will have experts [0, 1] and rank 1 will have experts [2, 3].
  • "round_robin": Experts are placed in a round-robin manner. For example, with 4 experts and 2 ranks, rank 0 will have experts [0, 2] and rank 1 will have experts [1, 3]. This strategy can help improve load balancing for grouped expert models with no redundant experts.

fault_tolerance_config = Field(default_factory=FaultToleranceConfig) class-attribute instance-attribute

The configurations for fault tolerance.

is_moe_model = None class-attribute instance-attribute

Whether the deployed model is MoE (if known).

local_engines_only property

Client manages local+remote EngineCores in pure internal LB case. Client manages local EngineCores in hybrid and external LB case.

master_addr = '127.0.0.1' class-attribute instance-attribute

distributed master address for multi-node distributed inference when distributed_executor_backend is mp.

master_port = 29501 class-attribute instance-attribute

distributed master port for multi-node distributed inference when distributed_executor_backend is mp.

max_parallel_loading_workers = Field(default=None, ge=1) class-attribute instance-attribute

Maximum number of parallel loading workers when loading model sequentially in multiple batches. To avoid RAM OOM when using tensor parallel and large models.

mori_ep_v2 = None class-attribute instance-attribute

Whether the "mori" all2all backend runs MoRI EPv2. Resolved from VLLM_MORI_EP_V2 and the deployment by resolve_mori_all2all; not meant to be set by users.

nnodes = Field(default=1, ge=1) class-attribute instance-attribute

num of nodes for multi-node distributed inference when distributed_executor_backend is mp.

nnodes_within_dp property

Number of nodes one DP replica spans.

External LB pins data_parallel_size_local to 1, so the ratio rounds down to 0 once DP replicas outnumber nodes. A replica that does not span nodes still occupies exactly one.

node_rank = Field(default=0, ge=0) class-attribute instance-attribute

distributed node rank for multi-node distributed inference when distributed_executor_backend is mp.

numa_bind = None class-attribute instance-attribute

Enable NUMA binding for GPU worker subprocesses.

Workers are pinned to their GPU's NUMA-local CPUs; on PCT-capable Xeons they also auto-bind to the SKU's PCT priority cores.

If None (default), vLLM binds only when the environment supports it (multiple NUMA nodes, numactl installed, unrestricted CPU affinity, a default NUMA memory policy, and the spawn start method with an mp/uni executor and mp DP, including PCP). Ray, external launchers and device-ID remapping are excluded from automatic binding. Automatic mode prefers GPU-local memory but permits allocations on other nodes. Unsupported environments start unbound. With True, strict memory binding may override an existing policy, and a missing numactl or undetectable GPU-to-NUMA topology is a startup error; False disables binding.

numa_bind_cpus = None class-attribute instance-attribute

Optional CPU lists to bind each GPU worker to.

Setting this list implies explicit numa_bind=True and requests strict --membind, not CPU-only binding or automatic soft memory preference. It cannot be combined with numa_bind=False.

Specify one CPU list per visible GPU, for example ["0-3", "4-7", "8-11", "12-15"]. When set, vLLM uses numactl --physcpubind instead of --cpunodebind. This is useful for custom policies such as binding to PCT or other high-frequency cores. Each entry must use numactl --physcpubind CPU-list syntax, for example "0-3" or "0,2,4-7".

numa_bind_nodes = None class-attribute instance-attribute

NUMA node to bind each GPU worker to.

Setting this list implies explicit numa_bind=True and requests strict --membind, not automatic soft memory preference. It cannot be combined with numa_bind=False.

Specify one NUMA node per visible GPU, for example [0, 0, 1, 1] for a 4-GPU system with GPUs 0-1 on NUMA node 0 and GPUs 2-3 on NUMA node 1. If unset and numa_bind=True, vLLM auto-detects the GPU-to-NUMA topology. The values are passed to numactl --membind and --cpunodebind, so they must be valid numactl NUMA node indices.

pcp_shard_decode_requests property

Whether PCP can shard decode requests across its ranks.

PCP-only execution replicates the KV cache, so each decode request can have a single PCP owner. DCP shards the KV cache and therefore requires every decode request to run on every participating DCP rank.

pipeline_parallel_size = Field(default=1, ge=1) class-attribute instance-attribute

Number of pipeline parallel groups.

placement_group = None class-attribute instance-attribute

ray distributed model workers placement group.

prefill_context_parallel_size = Field(default=1, ge=1) class-attribute instance-attribute

Number of ranks that split prefill sequence computation. PCP expands the process world size but does not increase the KV-cache shard count.

rank = 0 class-attribute instance-attribute

Global rank in distributed setup.

ray_runtime_env = None class-attribute instance-attribute

Ray runtime environment to pass to distributed workers.

ray_workers_use_nsight = False class-attribute instance-attribute

Whether to profile Ray workers with nsight, see https://docs.ray.io/en/latest/ray-observability/user-guides/profiling.html#profiling-nsight-profiler.

tensor_parallel_size = Field(default=1, ge=1) class-attribute instance-attribute

Number of tensor parallel groups.

ubatch_size = Field(default=0, ge=0) class-attribute instance-attribute

Number of ubatch size.

worker_cls = 'auto' class-attribute instance-attribute

The full name of the worker class to use. If "auto", the worker class will be determined based on the platform.

worker_extension_cls = '' class-attribute instance-attribute

The full name of the worker extension class to use. The worker extension class is dynamically inherited by the worker class. This is used to inject new attributes and methods to the worker class for use in collective_rpc calls. It may also define init_worker_extension(self), called after device and distributed initialization but before model loading, and destroy_worker_extension(self), called (best-effort) before the worker shuts down.

world_size = Field(init=False) class-attribute instance-attribute

world_size is TPxPP, it affects the number of workers we create.

world_size_across_dp property

Process world size across TP, PCP, PP, and DP.

_pick_stateless_dp_port()

Return (port, listen_socket) for DP group init.

With a coord store, rank 0 binds a socket and publishes the port; others read it. Without one, pops a pre-allocated port and returns listen_socket=None.

_skip_none_validation(value, handler) classmethod

Skip validation if the value is None when initialisation is delayed.

compile_factors()

Provide a hash that uniquely identifies all the configs that affect the structure of the computation graph from input ids/embeddings to the final hidden states, excluding anything before input ids/embeddings and after the final hidden states.

This hash is also used for DP worker configuration validation to prevent hangs from mismatched collective communication patterns.

WARNING: Whenever a new field is added to this config, add it to ignored_factors if it does not affect the computation graph.

compute_eplb_num_redundant_experts(num_logical_experts)

Compute and set num_redundant_experts if not explicitly specified.

This method should be called after ParallelConfig is initialized and when the number of logical experts is known (from ModelConfig).

Parameters:

  • num_logical_experts

    (int) –

    The number of logical experts from the model.

get_local_gpu_index(local_rank, dp_local_rank=None)

Map a worker's local rank to its host-local logical GPU index.

get_next_dp_init_port()

We might need to initialize process groups in multiple processes that is related to data parallelism, e.g. both in the worker and in the engine, which can live in different processes. To avoid port conflicts, we pop a new port from the prepared port list each time we need to initialize a new process group related to data parallelism.

reconfigure_for_independent_dp_rank()

Reconfigure for a single independent non-MoE DP rank.

set_dcp_defaults(comm_backend='ag_rs', q_replicate=False)

Fill in the DCP options the user left unset.

Models can set their preferred DCP settings by calling this from their verify_and_update_config hook.

sync_dp_state(dp_group, has_unfinished, pending_pause)

Combined all-reduce for DP state synchronization.

Uses a single SUM all-reduce on a 2-element tensor

[0] = 1 if this rank has unfinished work, else 0. SUM > 0 ≡ logical OR across ranks → any rank has work. [1] = 1 if this rank has a pending pause request, else 0. SUM == dp_size ≡ all ranks reached pause consensus.

has_unfinished_global is true if any rank has unfinished work, or if some ranks are waiting for a pause consensus.

Returns:

_is_gb200_gb300_or_vr200() cached

Whether this is an ARM NVL rack: GB200 and GB300 (10.0, 10.3) or VR200 (10.7). All of them are Blackwell/Rubin 10.x parts on a Grace or Vera host.

_is_hgx_b200_or_b300() cached

Whether this is an x86 HGX B200 (10.0) or HGX B300 (10.3).

_prefers_one_sided_all2all(config)

Whether "auto" picks flashinfer_nvlink_one_sided: only where it was measured to beat allgather_reducescatter.

_resolve_all2all_backend(config)

Pick the all2all backend, resolving "auto" against the deployment.

Returns:

  • All2AllBackend –

    A concrete backend; never "auto".

get_min_num_redundant_experts(num_logical_experts, ep_size)

Return the minimum R that makes the expert count divisible by EP size.

resolve_mori_all2all(parallel_config, model_config, moe_backend, lsa_spans_hosts=False, sdma_picks_epv1=True, validated_arch=True)

Resolve whether the "mori" all2all backend runs MoRI EPv2 or EPv1.

An unset VLLM_MORI_EP_V2 prefers EPv2 and falls back to EPv1 where EPv2 is unsupported, an explicit true keeps EPv2 regardless, and false selects EPv1. lsa_spans_hosts says whether a CCO-LSA team can span hosts (e.g. gfx1250's UALink vPOD). sdma_picks_epv1 says whether MORI_ENABLE_SDMA=1 selects EPv1; gfx1250 keeps EPv2 under SDMA. validated_arch says whether EPv2 is validated on this GPU.