IP Library Granted Patent US 12,417,047
Granted Patent B2
US 12,417,047 · App. 18/152,428 · Granted Sep 16, 2025

Heterogeneous ML accelerator cluster with flexible system resource balance

Inventors: Sheng Li (Cupertino, CA); Sridhar Lakshmanamurthy (Sunnyvale, CA); Norman Paul Jouppi (Palo Alto, CA); Martin Guy Dixon (Portland, OR); Daniel Stodolsky (Cambridge, MA); Quoc V. Le (Sunnyvale, CA); Liqun Cheng (Palo Alto, CA); Erik Karl Norden (San Jose, CA); Parthasarathy Ranganathan (San Jose, CA)
Assignee: Google LLC
G06F3/0647G06F3/0611G06F3/067
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,417,047
App. No.
18/152,428
Granted
Sep 16, 2025
Kind
B2
Abstract

Aspects of the disclosure are directed to a heterogeneous machine learning accelerator system with compute and memory nodes connected by high speed chip-to-chip interconnects. While existing remote/disaggregated memory may require memory expansion via remote processing units, aspects of the disclosure add memory nodes into machine learning accelerator clusters via the chip-to-chip interconnects without needing assistance from remote processing units to achieve higher performance, simpler software stack, and/or lower cost. The memory nodes may support prefetch and intelligent compression to enable the use of low cost memory without performance degradation.

Claims (44)

1. A machine learning accelerator system, comprising:

one or more accelerator clusters comprising a plurality of non-uniformly distributed memory nodes and a plurality of compute nodes connected by a high speed chip-to-chip interconnect that facilitates transfer of machine learning models or data, the non-uniformly distributed memory nodes having varying capacities or latencies; and

one or more processors configured to:

keep a portion of the machine learning models or data uncompressed in faster memory nodes of the plurality of memory nodes and a portion of the machine learning models or data compressed in slower memory nodes of the plurality of memory nodes; and

based on a latency threshold for the non-uniformly distributed memory nodes, prefetch the machine learning models or data from the slower memory nodes of the plurality of non-uniformly distributed memory nodes to on-chip memory in the compute nodes via the high speed interconnect.

2. The system of claim 1 , wherein the high speed interconnect comprises an inter-chip interconnect (ICI) having a plurality of off-chip links and a plurality of on-chip links.

3. The system of claim 1 , wherein the plurality of memory nodes are of varying types, comprising high bandwidth memory (HBM) and at least one of double data rate synchronous dynamic random access memory (DDR) or low power DDR (LPDDR).

4. The system of claim 1 , wherein the plurality of compute nodes are of varying types, comprising at least two of tensor processing units (TPUs), graphics processing units (GPUs), or central processing units (CPUs).

5. The system of claim 1 , wherein the one or more processors are further configured to determine memory nodes of the plurality of memory nodes constitute the slower memory nodes from the latency threshold.

6. The system of claim 1 , wherein the one or more processors are further configured to prefetch the machine learning models or data from remote memory nodes of the plurality of memory nodes to the on-chip memory in the compute nodes via the high speed interconnect.

7. The system of claim 6 , wherein the one or more processors are further configured to determine memory nodes of the plurality of memory nodes constitute the remote memory nodes based on locations of the memory nodes within the one or more accelerator clusters.

8. The system of claim 1 , wherein the one or more processors are further configured to swap the machine learning models or data between memory nodes of the plurality of memory nodes based on a hotness of the machine learning models or data.

9. The system of claim 8 , wherein the one or more processors are further configured to determine a hotness of the machine learning models or data based on at least one of recency or frequency of use.

10. The system of claim 1 , wherein the one or more processors are further configured to compress the portion of the machine learning models or data in the slower memory nodes of the plurality of memory nodes.

11. The system of claim 10 , wherein the one or more processors are further configured to:

determine additional machine learning models or data are needed to perform a computation; and

decompress the additional machine learning models or data from the slower memory nodes of the plurality of memory nodes.

12. The system of claim 1 , wherein keeping a portion of the machine learning models or data uncompressed is based on at least one of recency or frequency of use.

13. A method for a machine learning accelerator system, the machine learning accelerator system including one or more accelerator clusters including a plurality of non-uniformly distributed memory nodes and a plurality of compute nodes connected by a high speed chip-to-chip interconnect that facilitates transfer of machine learning models or data, the non-uniformly distributed memory nodes having varying capacities or latencies, the method comprising:

determining, by one or more processors, memory nodes of the plurality of memory nodes constitute slower memory nodes based on a latency threshold for the non-uniformly distributed memory nodes;

keeping, by the one or more processors, a portion of the machine learning models or data uncompressed in faster memory nodes of the plurality of memory nodes and a portion of the machine learning models or data compressed in the slower memory nodes of the plurality of memory nodes; and

prefetching, by the one or more processors, the machine learning models or data from the slower memory nodes to on-chip memory in the compute nodes via the high speed interconnect.

14. The method of claim 13 , further comprising:

determining, by the one or more processors, memory nodes of the plurality of memory nodes constitute remote memory nodes based on locations of the memory nodes within the one or more accelerator clusters; and

prefetching, by the one or more processors, the machine learning models or data from the remote memory nodes to the on-chip memory in the compute nodes via the high speed interconnect.

15. The method of claim 13 , further comprising:

determining, by the one or more processors, a hotness of the machine learning models or data based on at least one of recency or frequency of use; and

swapping, by the one or more processors, the machine learning models or data between memory nodes of the plurality of memory nodes based on the hotness of the machine learning models or data.

16. The method of claim 13 , further comprising:

determining, by the one or more processors, additional machine learning models or data are needed to perform a computation; and

decompressing, by the one or more processors, the additional machine learning models or data from the slower memory nodes of the plurality of memory nodes.

17. A non-transitory computer readable medium for storing instructions that, when executed by one or more processors, cause the one or more processors to perform operations for a machine learning accelerator system, the machine learning accelerator system including one or more accelerator clusters including a plurality of non-uniformly distributed memory nodes and a plurality of compute nodes connected by a high speed chip-to-chip interconnect that facilitates transfer of machine learning models or data, the non-uniformly distributed memory nodes having varying capacities or latencies, the operations comprising:

determining memory nodes of the plurality of memory nodes constitute slower memory nodes based on a latency threshold for the non-uniformly distributed memory nodes;

keeping, by the one or more processors, a portion of the machine learning models or data uncompressed in faster memory nodes of the plurality of memory nodes and a portion of the machine learning models or data compressed in the slower memory nodes of the plurality of memory nodes; and

prefetching the machine learning models or data from the slower memory nodes to on-chip memory in the compute nodes via the high speed interconnect.

18. The non-transitory computer readable medium of claim 17 , wherein the operations further comprise:

determining memory nodes of the plurality of memory nodes constitute remote memory nodes based on locations of the memory nodes within the one or more accelerator clusters; and

prefetching the machine learning models or data from the remote memory nodes to the on-chip memory in the compute nodes via the high speed interconnect.

19. The non-transitory computer readable medium of claim 17 , wherein the operations further comprise:

determining a hotness of the machine learning models or data based on at least one of recency or frequency of use; and

swapping the machine learning models or data between memory nodes of the plurality of memory nodes based on the hotness of the machine learning models or data.

20. The non-transitory computer readable medium of claim 17 , wherein the operations further comprise:

determining additional machine learning models or data are needed to perform a computation; and

decompressing the additional machine learning models or data from the slower memory nodes of the plurality of memory nodes.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 17, 2023
From: LI, SHENG; LAKSHMANAMURTHY, SRIDHAR; JOUPPI, NORMAN PAUL; DIXON, MARTIN GUY; STODOLSKY, DANIEL; LE, QUOC V.; CHENG, LIQUN; NORDEN, ERIK KARL; RANGANATHAN, PARTHASARATHY
To: GOOGLE LLC
Reel/Frame 062389/0001 →
Continuity (1)
Related Publication 20240231667A1 · Jul 11, 2024
References Cited (33)
US 10180928B2 · Nurvitadhi et al. · 2019 [cited by applicant]
US 10474600B2 · Malladi et al. · 2019 [cited by applicant]
US 10608638B2 · Lee et al. · 2020 [cited by applicant]
US 11157806B2 · Lie et al. · 2021 [cited by applicant]
US 11423254B2 · Prakash et al. · 2022 [cited by applicant]
US 20110035555A1 · Wang et al. · 2011 [cited by applicant]
US 20180157729A1 · Lee · 2018 [cited by examiner]
US 20180176324A1 · Kumar · 2018 [cited by examiner]
US 20190228308A1 · Zhou · 2019 [cited by examiner]
US 20190361811A1 · Saeki · 2019 [cited by examiner]
US 20200117999A1 · Yoon et al. · 2020 [cited by applicant]
US 20210142167A1 · Lie et al. · 2021 [cited by applicant]
US 20210149680A1 · Hughes et al. · 2021 [cited by applicant]
US 20210149729A1 · Wang · 2021 [cited by examiner]
US 20210194821A1 · Guim Bernat et al. · 2021 [cited by applicant]
US 20220083230A1 · Tiotantra · 2022 [cited by examiner]
US 20220197773A1 · Butler et al. · 2022 [cited by applicant]
US 20240020173A1 · Chatterjee · 2024 [cited by examiner]
US 20240176759A1 · An · 2024 [cited by examiner]
JP 2021082285A · 2021 [cited by applicant]
JP 2021082289A · 2021 [cited by applicant]
JP 2022130363A · 2022 [cited by applicant]
Kommareddy, Vamsee Reddy, et al. “Prefam: Understanding the impact of prefetching in fabric-attached memory architectures.” Proceedings of the International Symposium on Memory Systems. 2020. (Year: 2020). [cited by examiner]
Zhang, Zhao, et al. “Efficient i/o for neural network training with compressed data.” 2020 IEEE International Parallel and Distributed Processing Symposium (IPDPS). IEEE, 2020. (Year: 2020). [cited by examiner]
International Search Report and Written Opinion for International Application No. PCT/US2023/021101 dated Oct. 6, 2023. 15 pages. [cited by applicant]
Kommareddy et al. PreFAM: Understanding the Impact of Prefetching in Fabric-Attached Memory Architectures. Proceedings of the 31st Australian Conference on Human-Computer-Interaction, ACM Pub27, New York, NY, USA, Sep. … [cited by applicant]
Jouppi et al. A Domain-Specific Supercomputer for Training Deep Neural Networks. Jul. 2020. Communications of the ACM, vol. 63, No. 7. 12 pages. [cited by applicant]
Jouppi et al. Ten Lessons From Three Generations Shaped Google's TPUv4i. Sep. 6, 2021. 2021 ACM/IEEE 48th Annual International Symposium on Computer Architecture (ISCA). 14 pages. [cited by applicant]
Khaleghzadeh et al. A Hierarchical Data-Partitioning Algorithm for Performance Optimization of Data-Parallel Applications on Heterogeneous Multi-Accelerator NUMA Nodes. Dec. 16, 2019. IEEE Access, vol. 8, 2020. 16 pages. [cited by applicant]
Norrie et al. The Design Process for Google's Training Chips: TPUv2 and TPUv3. Feb. 28, 2021. 10 pages. [cited by applicant]
Patterson et al. Carbon Emissions and Large Neural Network Training. Apr. 21, 2021. 22 pages. [cited by applicant]
Smaragdos et al. BrainFrame: a node-level heterogeneous accelerator platform for neuron simulations. Nov. 10, 2017. Journal of Neural Engineering. 16 pages. [cited by applicant]
Office Action for Japanese Patent Application No. 2024-515413 dated Jun. 3, 2025. 5 pages. [cited by applicant]