Graph Context Operator Checks for AI Accelerator Clustering
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing deep learning frameworks face challenges in efficiently executing graph clustering and execution due to unsupported operators on target hardware, leading to runtime errors such as crashes and sub-optimal performance.
Innovation Solution
The proposed solution involves a graph context-based operator check mechanism that analyzes the deep learning graph in topological order to identify and mark nodes as supported or unsupported based on attributes like input node parameters, dimensions, and shapes, thereby preventing unsupported operators from being scheduled on target hardware.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If graph clustering is performed without operator checks, then clustering speed is improved, but runtime errors occur due to unsupported operators on target hardware
Solution Approach 1:
The patent performs operator checks during the graph clustering phase before execution, marking nodes as supported or unsupported based on target hardware capabilities. This preliminary identification prevents runtime errors by ensuring unsupported operators are detected early in the clustering process rather than during execution.
2Reliability
If comprehensive operator checks are performed on all nodes, then reliability is improved, but processing time increases
Solution Approach 1:
The patent segments the graph into clusters and performs operator checks at the cluster level rather than individually on all nodes. The graph is partitioned into multiple clusters, and operator support verification is performed on each cluster, reducing the overall processing time while maintaining comprehensive reliability checks.
3Productivity
If graph is partitioned into multiple clusters, then hardware utilization is improved, but cluster formation complexity increases
Solution Approach 1:
The patent applies local quality by optimizing each cluster individually based on its specific characteristics and the target hardware capabilities. Each cluster is formed and optimized locally with considerations for hardware utilization, allowing different clusters to have different optimization strategies rather than applying a uniform complex algorithm to the entire graph.
Data Source
AI summary
Systems, apparatuses and methods may provide for technology that parses, at runtime, a deep learning graph in topological order to identify a plurality of nodes, marks a first set of nodes in the plurality of nodes as unsupported by target hardware, and marks a second set of nodes in the plurality of nodes as supported by the target hardware, wherein the first set of nodes and the second set of nodes are marked based on one or more attributes defining operation functionality, and wherein the one or more attributes include one or more of an input node parameter, a dimension, or a shape.


