{"record":{"id":"e134887a61b5b667","repo":"vllm-project/vllm","slug":"eplb-communicator-nixl-supports-only-cuda-like-d","errorCode":null,"errorMessage":"EPLB communicator 'nixl' supports only cuda-like devices (got {tensor_device_type}).","messagePattern":"EPLB communicator 'nixl' supports only cuda-like devices \\(got (.+?)\\)\\.","errorType":"exception","errorClass":"RuntimeError","httpStatus":null,"severity":"error","filePath":"vllm/distributed/eplb/eplb_communicator.py","lineNumber":753,"sourceCode":"                f\"Elastic EP requires 'torch_nccl', 'pynccl', or 'nixl' \"\n                f\"EPLB communicator (got '{backend}').\"\n            )\n        else:\n            if backend == \"torch_nccl\":\n                logger.warning(\n                    \"Stateless elastic EP requires PyNCCL backend. \"\n                    \"Forcing EPLB communicator to 'pynccl'.\"\n                )\n                backend = \"pynccl\"\n            return _create_pynccl()\n\n    if backend == \"nixl\":\n        if not has_nixl():\n            raise RuntimeError(\n                \"EPLB communicator 'nixl' requested but NIXL is unavailable.\"\n            )\n        if not (current_platform.is_cuda_alike() and tensor_device_type != \"cpu\"):\n            raise RuntimeError(\n                \"EPLB communicator 'nixl' supports only cuda-like devices \"\n                f\"(got {tensor_device_type}).\"\n            )\n        try:\n            return NixlEplbCommunicator(\n                cpu_group=group_coordinator.cpu_group,\n                all_expert_weights=expert_weights,\n                expert_buffer=expert_buffer,\n                defer_remote_setup=is_stateless,\n            )\n        except Exception as exc:\n            raise RuntimeError(\n                f\"Failed to initialize NixlEplbCommunicator ({exc}).\"\n            ) from exc\n    elif backend == \"torch_gloo\":\n        return TorchDistGlooStagedEplbCommunicator(\n            cpu_group=group_coordinator.cpu_group,\n        )","sourceCodeStart":735,"sourceCodeEnd":771,"githubUrl":"https://github.com/vllm-project/vllm/blob/c794754062d49a8fdb63ab3c5215b488b865030c/vllm/distributed/eplb/eplb_communicator.py#L735-L771","documentation":"Error \"EPLB communicator 'nixl' supports only cuda-like devices (got {tensor_device_type}).\" thrown in vllm-project/vllm.","triggerScenarios":"Raised at vllm/distributed/eplb/eplb_communicator.py:753 when validation fails: EPLB communicator 'nixl' supports only cuda-like devices. Typically triggered by an incompatible or incomplete vLLM configuration, an unsupported platform/backend combination, or a runtime resource/dependency that is missing.","commonSituations":"Commonly encountered at vllm/distributed/eplb/eplb_communicator.py:753 during vLLM startup/config validation or runtime setup when: (1) conflicting CLI flags or config fields are combined, (2) the current platform (CUDA/ROCm/CPU/XPU) or installed optional packages do not support the requested feature, or (3) a required value is absent or out of range. Resolve by correcting the configuration as described in the message, or by selecting a supported alternative.","solutions":["Use a cuda-like device with the 'nixl' EPLB communicator, or select another backend."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"c794754062d49a8fdb63ab3c5215b488b865030c","analyzedAt":"2026-08-14T21:17:39.825Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}