Leaf Switch INC Forwarding for Machine Learning Networks
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing communication networks in machine learning systems incur increased complexity and cost due to the conversion of in-network computing (INC) messages to remote memory access (RMA) write messages at leaf switches, requiring memory and logic to store and convert state information.
Innovation Solution
Leaf switches forward INC messages directly to endpoint devices without converting them to RMA write messages, reducing complexity and cost by leveraging the communication network to replicate and distribute messages as needed.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If leaf switches convert INC messages to RMA write messages, then compatibility with endpoint devices is improved, but device complexity increases due to required memory and conversion logic
Solution Approach 1:
The message conversion function is extracted from the leaf switch and relocated to the endpoint device. The leaf switch now directly forwards INC messages without performing conversion, eliminating the need for conversion memory and logic in the switch while maintaining compatibility through endpoint-based conversion.
Solution Approach 2:
The network fabric acts as an intermediary that transparently transports INC messages between switches and endpoint devices. The message format conversion is pushed to the boundary (endpoint device) rather than being performed at intermediate nodes (leaf switches), simplifying the intermediate components.
2Measurement precision
If leaf switches store state information for message conversion, then message routing accuracy is improved, but loss of time increases due to storage and retrieval operations
Solution Approach 1:
The state information storage function is extracted from the leaf switch and relocated to the endpoint device. This eliminates memory access latency in the switch path while maintaining routing accuracy through endpoint-based state management.
Solution Approach 2:
The leaf switch skips the state storage and retrieval operations by directly forwarding messages. The processing path is shortened by eliminating intermediate storage steps, allowing messages to rush through the network fabric faster.
3Manufacturing precision
If leaf switches perform message conversion operations, then manufacturing precision is improved, but ease of manufacture worsens due to increased hardware requirements
Solution Approach 1:
The complex conversion logic and associated memory components are extracted from the leaf switch design. This simplifies the switch implementation while maintaining format accuracy by performing conversion at the endpoint device where such complexity is already present.
Solution Approach 2:
Instead of having switches perform conversion to ensure accuracy, the approach is inverted: switches simply forward raw messages, and endpoint devices perform conversion. This reverses the traditional architecture to simplify switch manufacturing while maintaining accuracy through endpoint validation.
Data Source
AI summary
A leaf network switch in a machine learning system receives one or more first messages from one or more network devices, the one or more first messages corresponding to a machine learning operation. The leaf network switch determines one or more processing operations to be performed by the leaf network switch in connection with the one or more first messages. The leaf network switch performs the one or more processing operations, including generating a second message based on the one or more first messages, and transmitting the second message to another network switch. The leaf network switch receives a third message from the other network switch. The leaf switch replicates the third message to generate multiple instances of the third message, and transmits the multiple instances of the third message to respective network devices.


