Neural Processing Unit Synchronization via Dedicated Network

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing distributed machine-learning applications face significant performance bottlenecks due to the time-consuming process of synchronizing states across multiple computing nodes, which dominates the execution time of tasks like neural network training.

Innovation Solution

The implementation of a processing unit equipped with two communication modules, allowing for separate communication networks for host-unit communication and synchronization between processing units. This enables the exchange of synchronization information using a dedicated synchronization network, reducing the reliance on host processor synchronization.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If distributed execution is used among multiple computing nodes, then machine-learning task complexity and speed are improved, but synchronization time increases and dominates execution time

Engineering Contradiction:
Improvemachine-learning task execution speedVSAvoidsynchronization time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The system segments communication into two distinct networks: a first communication network for host-device communication and a second communication network for peer-to-peer processing unit synchronization. This segmentation allows synchronization operations to occur independently on the second network without blocking host communication, thereby reducing the time loss dominated by synchronization while maintaining improved productivity through distributed execution.

Inventive Principle:
Principle #1Segmentation

2Reliability

If frequent synchronization is performed to maintain correct execution, then state consistency is improved, but execution time is reduced due to synchronization overhead

Engineering Contradiction:
Improvestate consistencyVSAvoidexecution time
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The second communication network acts as an intermediary dedicated to synchronization operations between processing units. By introducing this specialized communication channel, the system maintains state consistency through reliable peer-to-peer synchronization while isolating synchronization overhead from the main execution path, thus preserving productivity despite frequent synchronization requirements.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Device complexity

If a single communication network is used for all operations, then device complexity is reduced, but synchronization performance deteriorates

Engineering Contradiction:
Improvecommunication network structureVSAvoidsynchronization speed
Core Design Contradiction:
Device complexityVSSpeed

Solution Approach 1:

The communication infrastructure is segmented into two separate networks: the first network handles host-device communication while the second network specializes in processing unit synchronization. Although this increases device complexity by adding another communication network, it dramatically improves synchronization speed by dedicating specific bandwidth and resources to synchronization operations without interference from other communication tasks.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12229078B2Neural processing unit synchronization systems and methods
Publication Date: 2025.02.18 T-HEAD (SHANGHAI) SEMICON CO LTD
  • US12229078B2 patent drawing
  • US12229078B2 patent drawing
  • US12229078B2 patent drawing

AI summary

Systems and methods for exchanging synchronization information between processing units using a synchronization network are disclosed. The disclosed systems and methods include a device including a host and associated neural processing units. Each of the neural processing units can include a command communication module and a synchronization communication module. The command communication module can include circuitry for communicating with the host device over a host network. The synchronization communication module can include circuitry enabling communication between neural processing units over a synchronization network. The neural processing units can be configured to each obtain a synchronized update for a machine learning model. This synchronized update can be obtained at least in part by exchanging synchronization information using the synchronization network. The neural processing units can each maintain a version of the machine learning model and can synchronize it using the synchronized update.