Ensemble Cluster Tuning for AI Accelerator Telemetry
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current deep learning frameworks face inference failures and performance issues due to inaccurate compute and memory requirement estimations, leading to runtime failures and suboptimal performance, especially when clusters are executed on accelerated backends without considering telemetry and temperature metrics.
Innovation Solution
An ensemble-based subgraph partitioning solution that utilizes telemetry, temperature, and compute metrics to automatically determine the best backend for executing AI model clusters, preventing inference failures and improving performance by dynamically selecting between accelerated and default backends based on real-time data.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If clusters are executed on accelerated backend using heuristic estimation, then execution speed is improved, but runtime failures occur due to inaccurate compute and memory requirement estimations
Solution Approach 1:
The system implements feedback by continuously monitoring telemetry data (compute metrics, memory usage, temperature) from previous cluster executions on the accelerated backend. This feedback loop allows the system to learn from past performance and adjust cluster allocation decisions dynamically, preventing runtime failures by identifying patterns that lead to execution errors and avoiding similar allocations in the future.
Solution Approach 2:
The system performs preliminary analysis of telemetry data and temperature metrics before allocating clusters to the accelerated backend. By evaluating compute requirements and thermal conditions in advance, the system can make informed decisions about cluster execution, preventing runtime failures before they occur rather than reacting to them after execution begins.
2Productivity
If more clusters are allocated to accelerated backend, then inference performance is improved, but hardware temperature increases reducing system longevity
Solution Approach 1:
The system dynamically adjusts cluster allocation to the accelerated backend based on real-time temperature metrics and thermal conditions. When temperature thresholds are approached, the system automatically reduces or pauses cluster execution on the accelerated backend, allowing the hardware to cool down. This dynamic adaptation maintains optimal performance within safe thermal boundaries, extending hardware longevity while maximizing inference throughput during cooler periods.
3Reliability
If telemetry monitoring is implemented for cluster allocation decisions, then execution reliability is improved, but system complexity increases
Solution Approach 1:
The system implements a multi-functional telemetry collection mechanism that gathers compute metrics, memory usage data, and temperature information through a unified interface. This universal approach consolidates multiple monitoring functions into a single framework, reducing the complexity that would otherwise arise from separate monitoring systems for each metric type.
4Productivity
If framework partitions graph to send supported subgraphs to accelerated backend, then execution efficiency is improved, but unsupported operators cause fallback failures
Solution Approach 1:
Instead of the traditional approach of identifying unsupported operators and falling back to CPU execution, the system inverts the logic by proactively identifying and isolating operators that would benefit from accelerated backend execution. The system pre-configures operator-to-backend mappings based on telemetry data and capability profiles, ensuring that only compatible operators are routed to the accelerated backend, thereby eliminating fallback failures while maintaining high execution efficiency.
Data Source
AI summary
Systems, apparatuses and methods may provide for technology that identifies telemetry data associated with an execution of a cluster of artificial intelligence (AI) operations on an accelerated backend system, wherein the telemetry data includes one or more of temperature classifier data, compute classifier data or failure data, and determines whether to send a current instance of the cluster of AI operations to the accelerated backend system or a default backend system based on the telemetry data.


