Introduction
Recently, the utilization of GPU clusters has surged alongside advancements in AI technology. However, various errors that occur during the operation of GPU clusters remain a significant challenge. Together AI has introduced an automatic recovery system to address these issues, greatly enhancing the stability and efficiency of GPU clusters. This report will analyze the operating principles of this system and the resulting benefits in depth.
The Reality of GPU Errors
Errors that can occur in GPU clusters are diverse. For example, there are Xid errors, double-bit ECC errors, instances where GPUs drop from the PCIe bus, and instability in InfiniBand links. These errors can interrupt distributed learning tasks or bring down inference replicas. Therefore, while detecting errors is relatively straightforward, resolving them and restoring normal operation is very complex.
Operating Principles of the Automatic Recovery System
Together AI's automatic recovery system operates in the following steps: 1. Error Detection: Continuously monitors all nodes in the cluster to detect errors. This process occurs simultaneously within the VM and the host. 2. Action Decision: When an error is detected, it recommends the lightest action and presents it to the user. The user can decide whether to approve based on preset configurations. 3. Node Recovery: The action approved by the user is executed, and the node is recovered. 4. Revalidation: After recovery is complete, the system revalidates the node's status to confirm normal operation.
This system can operate automatically according to user-defined policies, and users can also approve actions directly. For example, in the case of an Xid error, users can approve automatic reboot for specific error codes.
Flexibility in Policy Settings
Together AI's automatic recovery system provides flexibility for users to decide what actions to take for each error. By default, all recommended actions await user approval, and users can set specific errors to be handled automatically. These settings can vary according to each error code. For instance, users can approve automatic reboots for Xid 119 and 95, while setting other errors to be reviewed manually.
Integration of Custom Detection Systems
Teams operating large-scale GPU clusters already possess reliable detection systems. Together AI's automatic recovery system integrates with these detection systems, ensuring that all recovery operations are managed with the same records. Users can directly add detection systems via API, allowing for automatic recovery of errors that arise.
Conclusion
Together AI's automatic recovery system significantly enhances the operational efficiency of GPU clusters and contributes greatly to minimizing downtime. This system quickly detects GPU errors and recommends lightweight actions for user selection, thereby greatly improving the stability of the cluster. It is expected that such technologies will continue to evolve, enabling more companies to operate GPU clusters reliably.