The invention discloses a set communication unloading method,
system and device and a medium, and is applied to the technical field of computers, and the method comprises the steps: in a model deployment stage, a distributed reasoning controller generates a communication primitive
blueprint based on a computational graph description file of a
tensor parallel reasoning model and issues the communication primitive
blueprint to a DPU; the DPU establishes a hardware-level communication context semantic environment based on the communication primitive
blueprint; in the model reasoning stage, the GPU / NPU sends a trigger
signal to the DPU when calculating to a communication boundary; and the DPU executes a DMA data pulling
assembly line and an RDMA data sending
assembly line in parallel based on a hardware-level communication context semantic environment, performs aggregation calculation on all
tensor fragment data to be synchronized, and writes an aggregation calculation result back to the GPU / NPU. A hardware-level communication context semantic environment is established in advance to a model deployment stage, and double
assembly lines are executed in the DPU in parallel, so that end-to-end communication
delay is remarkably reduced, and zero participation of a host CPU is realized.