Power optimization in an artificial intelligence processor
Abstract
In one embodiment, the present disclosure includes a method of reducing power in an artificial intelligence processor. For each cycle, over a plurality of cycles, an AI model is translated into operations executable on an artificial intelligence processor. The translating is based on power parameters that correspond to power consumption and performance of the artificial intelligence processor. The AI processor is configured with the executable operations, and input activation data sets are processed. Accordingly, result sets, power consumption data, and performance data are generated and stored over the plurality of cycles. The method further includes training an AI algorithm using the stored parameters, the power consumption data, and the performance data. A trained AI algorithm outputs a plurality of optimized parameters to reduce power consumption of the AI processor. The AI model is then translated into optimized executable operations based on the plurality of optimized parameters.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A system comprising: a computing system configured to execute a compiler to perform operations, the operations comprising: receiving a set of parameters produced using power consumption data generated based on execution of first operations of a plurality of operations on an artificial intelligence (AI) processor over a first time period; translating a first model for the AI processor into second operations of the plurality of operations by using at least a subset of parameters from a set of parameters that control utilization of resources in the AI processor over a second time period during execution of the second operations on the AI processor; reconfiguring the first model into a second model for the AI processor; and translating the second model into the second operations by scheduling one or more no operation (NOOP) operations using at least the subset of parameters to reduce an amount of power consumed by the AI processor over the second time period, wherein a power consumed durin
- Claim 2Depends on #1
The system of claim 1, wherein the one or more operations further comprise training an AI algorithm using at least the power consumption data to produce the set of parameters, resulting in a trained AI algorithm.
- Claim 3Depends on #2
The system of claim 2, wherein the trained AI algorithm comprises a plurality of elements representing values and mathematical operations associated with the second operations.
- Claim 4Depends on #1
The system of claim 1, wherein reconfiguring the first model into the second model for the AI processor further comprises translating the second model into the second operations.
- Claim 5Depends on #4
The system of claim 4, wherein reconfiguring the first model into the second model comprises selectively mapping a first plurality of elements of the first model that models resources in the AI processor utilized over the first time period into a second plurality of elements of the second model that models resources utilized over the second time period using at least the subset of parameters to reduce the amount of power consumed by the AI processor over the second time period.
- Claim 6Depends on #4
The system of claim 4, wherein translating the second model into the second operations comprises selectively scheduling the second operations for execution on the AI processor over the second time period using at least the subset of parameters.
- Claim 7Depends on #1
The system of claim 1, wherein the one or more operations comprise: resolving one or more dependencies in the first model to determine a plurality of operations for parallel execution on the AI processor; and including the plurality of operations for parallel execution on the AI processor into the second model.
- Claim 8Depends on #1
The system of claim 1, wherein the one or more operations comprise: configuring the resources for performing the second operations over the second time period, based on at least the subset of parameters.
Technical Overview & Description
CROSS REFERENCE TO RELATED APPLICATIONS This application is a continuation of U.S. application Ser. No. 16/951,487, filed Nov. 18, 2020, which is a continuation of U.S. application Ser. No. 16/216,194 (now U.S. Pat. No. 10,884,485), filed Dec. 11, 2018. The above noted applications are expressly incorporated herein by reference in their entireties. BACKGROUND The present disclosure relates to optimizing power, and in particular, to power optimization in an artificial intelligence processor. Power and performance are two critical factors that impact integrated circuits. Achieving higher performance, such as faster processing speeds and lower latencies, for example, are a constant goal. However, higher performance typically comes with a price — increased power consumption. Increased power consumption can lead to a wide range of problems, including heat generation, (in the aggregate) increased costs for electricity, or in extreme cases, system failure. Artificial intelligence (AI) processors may perform very large numbers of computations in parallel using arrays of memory and other computational resources. Accordingly, achieving high performance with optimal power consumption is an important technical challenge. Techniques for optimizing power and performance in an AI processor are, therefore, highly desirable. SUMMARY Embodiments of the present disclosure pertain to power optimization in an artificial intelligence processor. In one embodiment, the present disclosure includes a method of reducing power in an artificial intelligence processor comprising, for each cycle, over a plurality of cycles, translating, in a compiler operating on a computer, an artificial intelligence model into a plurality of executable operations for execution on an artificial intelligence processor, wherein said translating is based on a plurality of parameters, and wherein the parameters correspond to power consumption and performance of the artificial intelligence processor, configuring said
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (7)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- U.S. Appl. No. 16/216,194, filed Dec. 11, 2018.
- U.S. Appl. No. 16/951,487, filed Nov. 18, 2020.
- Cai et al.,
- “
- NeuralPower: Predict and Deploy Energy-Efficient Convolutional Neural Networks
- ”
- , Asian Conference on Machine Learning, 2017, 19 pages.
- Chen et al.,
- “
- Learning to Optimize Tensor Programs