Communication Matrix

The MindIE LLM communication matrix describes the open ports, transmission protocols used by the ports, and names, authentication modes, and functions of the network elements used for communication with the peer end through the ports.

For communication matrices related to datadist, HCCL, LCCL, and ATB, refer to the CANN Communication Matrix.

Source DeviceSource IP AddressSource PortDestination DeviceDestination IP AddressDestination Port (Listening)ProtocolPort DescriptionListening Port Configurable (Yes/No)Authentication ModeEncryption ModePlaneVersionSpecial ScenarioRemarks
MindIE LLM mempool-Mooncake moduleIP address for client communicationRandom port, which is allocated by Mooncake. The port number starts from 8790.Mooncake Master serverConfigured when the user starts the Mooncake Master server.Configured when the user starts the Mooncake Master server.TCPUsed for communication between the Mooncake pooling client and Mooncake Master serverYesCertificateTLS1.3Data PlaneMindIE 3.0.0NoneNone
MindIE LLM mempool-Mooncake moduleIP address for client communicationUser-definedMooncake Metadata serverConfigured when the user starts the Mooncake Master server.Configured when the user starts the Mooncake Master server.TCPUsed for communication between the Mooncake pooling client and Mooncake Metadata serverYesCertificateTLS1.3Data PlaneMindIE 3.0.0NoneNone
Inference serverLocal communication IP addressDynamic ports: 1024–65535NPUIP address of the deviceDefault value: 1024TCPListening port of the HDK KMSAgent component, which is responsible for registering the obfuscation factorYesCertificateTLS1.3Data PlaneMindIE 3.0.0NoneNone
NPUIP address of the deviceDefault value: 1024Inference serverLocal communication IP addressDynamic ports: 1024–65535TCPListening port of the HDK KMSAgent component, which is responsible for registering the obfuscation factorYesCertificateTLS1.3Data PlaneMindIE 3.0.0NoneNone
Secondary node client in multi-node cluster modeIP address for client communicationConfiguration of the environment variable MASTER_PORTPrimary node client in a multi-node systemIP address corresponding to the environment variable MASTER_IP of the inference service (the management plane and services use different IP addresses).Fixed port configured based on customer requirements. This port corresponds to the environment variable MASTER_PORT (when the management plane and service plane use different ports). The value ranges from 1024 to 65535. If this parameter is not specified, None is used by default.TCPUse the init_process_group function of PyTorch to send requests for data communication between different machines in pipeline parallel.YesCertificateTLS1.3Data PlaneMindIE 3.0.0NoneNone
Primary node client in a multi-node systemIP address corresponding to the environment variable MASTER_IP of the inference service (the management plane and services use different IP addresses).Fixed port configured based on customer requirements. This port corresponds to the environment variable MASTER_PORT (when the management plane and service plane use different ports). The value ranges from 1024 to 65535. If this parameter is not specified, None is used by default.Secondary node client in multi-node cluster modeIP address for client communicationConfiguration of the environment variable MASTER_PORTTCPUse the init_process_group function of PyTorch to send requests for data communication between different machines in pipeline parallel.YesCertificateTLS1.3Data PlaneMindIE 3.0.0NoneNone
Inference serverLocal communication IP addressRandom portHugging Face serverIP address of the Hugging Face serverRandom portN/ASet trust_remote_code to True (defaults to False) to use local code files from the weight folder. Missing files will trigger a remote download.N/ACertificateTLS1.3Data PlaneMindIE 3.0.0NoneNone
MindIE ServerPod IP address of the deployed MindIE ServerRandom port assigned by the operating system (32768–60999)MindIE ServerPod IP address of the deployed MindIE cluster service serverRandom port assigned by the operating system (32768–60999)TCPUsed for communication between multiple DP processes on MindIE Server. The number of ports is specified by dp_sizeNoNoneNoneData PlaneMindIE 3.0.0NoneNone
Distributed edge-cloud synergy data transmission serverIP address specified by the layerwiseDisaggregatedMasterIpAddress field in the config.json file of the inference service.The value ranges from 1024 to 65535. The default value is 10000.Cloud-side (slave) device for distributed edge-cloud synergyCloud-side (slave) IP address for distributed edge-cloud synergy. Must match layerwiseDisaggregatedSlaveIpAddress in config.json of the inference service.Random port automatically allocated by the operating systemTCPHidden data transmission in distributed edge-cloud synergyYesCertificateTLS1.3Data PlaneMindIE 3.0.0NoneNone
Distributed edge-cloud synergy data transmission clientIP address specified by the layerwiseDisaggregatedSlaveIpAddress field in the config.json file of the inference service.Random port automatically allocated by the operating systemEdge-side (master) device for distributed edge-cloud synergyEdge-side (master) IP address for distributed edge-cloud synergy. Must match layerwiseDisaggregatedMasterIpAddress in config.json of the inference service.The value ranges from 1024 to 65535. The default value is 10000.TCPHidden data transmission in distributed edge-cloud synergyYesCertificateTLS1.3Data PlaneMindIE 3.0.0NoneNone
Distributed edge-cloud synergy control signal transmission serverIP address specified by the layerwiseDisaggregatedSlaveIpAddress field in the config.json file of the inference service.The value ranges from 1024 to 65535. The default value is 10001 (prefill control signal port) or 10002 (decode control signal port).Edge-side (master) device for distributed edge-cloud synergyEdge-side (master) IP address for distributed edge-cloud synergy. Must match layerwiseDisaggregatedMasterIpAddress in config.json of the inference service.Random port automatically allocated by the operating systemTCPEdge-cloud TCP control signal transmission in distributed edge-cloud synergyYesCertificateTLS1.3Data PlaneMindIE 3.0.0NoneNone
Distributed edge-cloud synergy control signal transmission clientIP address specified by the layerwiseDisaggregatedMasterIpAddress field in the config.json file of the inference service.Random port automatically allocated by the operating systemCloud-side (slave) device for distributed edge-cloud synergyCloud-side (slave) IP address for distributed edge-cloud synergy. Must match layerwiseDisaggregatedSlaveIpAddress in config.json of the inference service.The value ranges from 1024 to 65535. The default value is 10001 (prefill control signal port) or 10002 (decode control signal port).TCPEdge-cloud TCP control signal transmission in distributed edge-cloud synergyYesCertificateTLS1.3Data PlaneMindIE 3.0.0NoneNone
Multi-device cloud (slave) decision-making broadcast server (cloud master) for distributed edge-cloud synergyIP address of the master device of the multi-device cloud, corresponding to the first address in layerwiseDisaggregatedSlaveIpAddress.The value ranges from 1024 to 65535. The default value is 10003.Slave device of the cloud-side (slave) device for distributed edge-cloud synergySlave IP for distributed edge-cloud devices; must match a non-primary entry in layerwiseDisaggregatedSlaveIpAddress within config.json.Random port automatically allocated by the operating systemTCPMulti-device decision-making (cross-device) broadcast for distributed edge-cloud synergyYesCertificateTLS1.3Data PlaneMindIE 3.0.0NoneNone
Multi-device cloud (slave) device decision-making broadcast client (cloud slave) for distributed edge-cloud synergyIP address of the master device of the multi-device cloud, corresponding to the non-first address in layerwiseDisaggregatedSlaveIpAddress.Random port automatically allocated by the operating systemMaster device of the cloud-side (slave) device for distributed edge-cloud synergyIP address of the slave server of the multi-device cloud device for distributed edge-cloud synergy, which corresponds to the first address of layerwiseDisaggregatedSlaveIpAddress in the config.json configuration file of the inference service.The value ranges from 1024 to 65535. The default value is 10003.TCPMulti-device decision-making (cross-device) broadcast for distributed edge-cloud synergyYesCertificateTLS1.3Data PlaneMindIE 3.0.0NoneNone