3D Neural Inference Processing Unit Architecture
A 3D layout with through-silicon vias and a 2D global weight distribution bus addresses memory and energy constraints in neural inference processing units, enhancing performance and efficiency.
Patent Information
- Application Number
- JP2022521155
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-10-24
- Filing Date
- 2020-10-01
- Publication Date
- 2024-10-17
- Estimated Expiration
- 2040-10-01
AI Technical Summary
Existing neural network processing architectures face limitations in performance due to memory capacity, network size, and energy efficiency, which are constrained by the physical layout of the chip, particularly in three-dimensional neural inference processing units.
Implementing a 3D layout by stacking silicon die and wafers with through-silicon vias to distribute neural network components across multiple layers, combined with a 2D global weight distribution bus, to enhance memory capacity and reduce energy consumption.
The 3D layout increases memory capacity, improves bandwidth, and reduces energy consumption, addressing performance limitations by optimizing the physical layout of neural inference processing units.
Smart Images

Figure 0007569134000003 
Figure 0007569134000004 
Figure 0007569134000005
Abstract
Description
[Technical field]
[0001] TECHNICAL FIELD Embodiments of the present disclosure relate to neural network processing, and more particularly to a three-dimensional neural inference processing unit architecture. Summary of the Invention
[0002] According to the present disclosure, there is provided a neural inference chip as set forth in claim 1.
[0003] Further provided are methods and computer program products for neural inference processing as claimed. [Brief description of the drawings]
[0004] [Figure 1] FIG. 2 illustrates a neural core according to an embodiment of the present disclosure. [Diagram 2] FIG. 1 illustrates an exemplary inference processing unit (IPU) according to an embodiment of the present disclosure. [Diagram 3] FIG. 1 illustrates a multi-core inference processing unit (IPU) according to an embodiment of the present disclosure. [Figure 4] FIG. 2 illustrates a single-tier layout of a multi-core inference processing unit (IPU) according to an embodiment of the present disclosure. [Diagram 5] FIG. 2 illustrates a two-tier layout of a multi-core inference processing unit (IPU) according to an embodiment of the present disclosure. [Figure 6] FIG. 2 illustrates a multi-layer layout of a multi-core inference processing unit (IPU) according to an embodiment of the present disclosure. [Figure 7] FIG. 2 illustrates a multi-layer layout of a multi-core inference processing unit (IPU) according to an embodiment of the present disclosure. [Figure 8] FIG. 2 illustrates a multi-layer layout of a multi-core inference processing unit (IPU) according to an embodiment of the present disclosure. [Figure 9A] FIG. 1 illustrates a three-dimensional interconnected global memory according to an embodiment of the present disclosure. [Figure 9B]FIG. 1 illustrates a three-dimensional interconnected global memory according to an embodiment of the present disclosure. [Figure 9C] FIG. 1 illustrates a three-dimensional interconnected global memory according to an embodiment of the present disclosure. [Figure 9D] FIG. 1 illustrates a three-dimensional interconnected global memory according to an embodiment of the present disclosure. [Figure 9E] FIG. 1 illustrates a three-dimensional interconnected global memory according to an embodiment of the present disclosure. [Figure 9F] FIG. 1 illustrates a three-dimensional interconnected global memory according to an embodiment of the present disclosure. [Figure 9G] FIG. 1 illustrates a three-dimensional interconnected global memory according to an embodiment of the present disclosure. [Figure 10] FIG. 2 illustrates a computing node according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0005] An artificial neuron is a mathematical function whose output is a nonlinear function of a linear combination of its inputs. Two neurons are connected if the output of one is an input to the other. A weight is a scalar value encoding the strength of the connection between the output of one neuron and the input of another neuron.
[0006] A neuron computes its output, called activation, by applying a nonlinear activation function to a weighted sum of its inputs. A weighted sum is an intermediate result computed by multiplying each input by its corresponding weight and accumulating the products. A partial sum is a weighted sum of a subset of the inputs. The weighted sum of all inputs can be computed in multiple stages by accumulating one or more partial sums.
[0007] A neural network is a collection of one or more neurons. Neural networks are often divided into groups of neurons called layers. A layer is a collection of one or more neurons that all receive input from the same layer and all send output to the same layer, typically performing a similar function. An input layer is a layer that receives input from sources outside the neural network. An output layer is a layer that sends output to targets outside the neural network. All other layers are intermediate processing layers. A multilayer neural network is a neural network with two or more layers. A deep neural network is a multilayer neural network with many layers.
[0008] A tensor is a multidimensional array of numbers. A tensor block is a contiguous subarray of elements in a tensor.
[0009] Each neural network layer is associated with a parameter tensor V, a weight tensor W, an input data tensor X, an output data tensor Y, and an intermediate data tensor Z. The parameter tensor contains all of the parameters that control the activation function σ of the neurons in the layer. The weight tensor contains all of the weights that connect the inputs to the layer. The input data tensor contains all of the data that the layer consumes as input. The output data tensor contains all of the data that the layer computes as output. The intermediate data tensor contains any data that the layer produces as intermediate computations, such as partial sums.
[0010] The data tensors for a layer (input, output and intermediate) may be three-dimensional, where the first two dimensions can be interpreted as encoding spatial locations and the third dimension as encoding different features. For example, if the data tensor represents a color image, the first two dimensions encode the vertical and horizontal coordinates in the image and the third dimension encodes the color at each location. Every element of the input data tensor X can be connected to every neuron by an individual weight, so the weight tensor W typically has six dimensions that concatenate the three dimensions of the input data tensor (input row a, input column b, input feature c) with the three dimensions of the output data tensor (output row i, output column j, output feature k). The intermediate data tensor Z has the same shape as the output data tensor Y. The parameter tensor V concatenates the three output data tensor dimensions with an additional dimension ο that indicates the parameters of the activation function σ.
[0011] The elements of the layer's output data tensor Y can be calculated as in Equation 1, the neuron activation function σ is constructed by a vector of activation function parameters V[i,j,k,:], and the weighted sum Z[i,j,k] can be calculated as in Equation 2. Y[i,j,k]=σ(V[i,j,k,:];Z[i,j,k]) formula 1
number
[0012] For simplicity of notation, the weighted sum in Equation 2 can also be referred to as the output, which is equivalent to using a linear activation function Y[i,j,k] = σ(Z[i,j,k]) = Z[i,j,k], with the understanding that the same is true if a different activation function is used, without loss of generality.
[0013] In various embodiments, the computation of the output data tensors described above is decomposed into smaller problems, each of which can then be solved in parallel on one or more neural cores, or on one or more cores in a conventional multicore system.
[0014] Referring now to FIG. 1, a neural core according to an embodiment of the present disclosure is shown. The neural core 100 is a tileable computational unit that computes one block of output tensors. The neural core 100 has M inputs and N outputs, where in various embodiments M=N. To compute the output tensor block, the neural core multiplies the M×1 input tensor blocks 101 by the M×N weight tensor blocks 102 and accumulates the products into a weighted sum that is stored in the 1×N intermediate tensor blocks 103. The O×N parameter tensor blocks contain O parameters that define each of the N neuron activation functions that are applied to the intermediate tensor blocks 103 to obtain the 1×N output tensor blocks 105.
[0015] Multiple neural cores can be tiled into a neural core array, hi some embodiments, the array is two-dimensional.
[0016] A neural network model is a set of constants that collectively specify the entire computation performed by a neural network, including the graph of connections between neurons as well as the weights and activation function parameters for all neurons. Training is the process of modifying a neural network model to perform a desired function. Inference is the process of applying a neural network to inputs to produce outputs without modifying the neural network model.
[0017] An inference processing unit is a category of processor that performs neural network inference. A neural inference chip is a particular physical instance of an inference processing unit.
[0018] Referring to FIG. 2, an exemplary inference processing unit (IPU) according to an embodiment of the present disclosure is shown. The IPU 200 includes a memory 201 for a neural network model. As explained above, the neural network model may include synaptic weights for the neural network to be computed. The IPU 200 includes an activation memory 202, which may be transient. The activation memory 202 may be divided into an input domain and an output domain, and also stores neuron activations for processing. The IPU 200 includes a neural computation unit 203 into which the neural network model is loaded from the model memory 201. Input activations are provided from the activation memory 202 prior to each computation step. Output from the neural computation unit 203 is written back to the activation memory 202 for processing on the same neural computation unit or another neural computation unit.
[0019] In various embodiments, the micro-engines 204 are included within the IPU 200. In such embodiments, all operations in the IPU are directed by the micro-engines. As will be shown below, various embodiments may provide a central micro-engine and / or distributed micro-engines. A global micro-engine may be referred to as a chip micro-engine, while a local micro-engine may be referred to as a core micro-engine or local controller. In various embodiments, a micro-engine comprises one or more micro-engines, microcontrollers, state machines, CPUs or other controllers.
[0020] Referring to FIG. 3, a multi-core inference processing unit (IPU) according to an embodiment of the present disclosure is shown. The IPU 300 includes a memory 301 for neural network models and instructions. In some embodiments, the memory 301 is divided into a weight portion 311 and an instruction portion 312. As explained above, the neural network model may include synaptic weights for the neural network to be computed. The IPU 300 includes an activation memory 302, which may be transient. The activation memory 302 may be divided into an input domain and an output domain, and also stores neuron activations for processing. The IPU 300 includes multiple cores 303. Each core 303 includes a neural computation unit 333 into which the neural network model is loaded from the model memory 301. Each core further includes a local activation memory 332. Input activations are provided from the local activation memory 332 prior to each computation step. The output from the neural computation unit 333 is written back to the activation memory 332 for processing on the same neural computation unit or on another neural computation unit.
[0021] The IPU 300 includes an array 306 of neural cores 303. Each core 303 includes a computation unit 333 into which a neural network model is loaded from a model memory 301, and is operative to perform vector computations. Each core further includes a local activation memory 332. Input activations are provided from the local activation memory 332 prior to each computation step. Output from the computation unit 333 is written back to the activation memory 332 for processing on the same or another computation unit.
[0022] The IPU 300 includes one or more networks-on-chip (NoCs) 305. In some embodiments, a partial sum NoC 351 interconnects the cores 303 and transports partial sums between them. In some embodiments, a separate parameter distribution NoC 352 connects the cores 303 to memory 301 for distributing weights and instructions to the cores 303. It will be appreciated that various configurations of NoCs 351 and 352 may be used as appropriate in accordance with this disclosure. For example, broadcast networks, row broadcast networks, tree networks, and switching networks may be used.
[0023] In various embodiments, the global micro-engine 304 is included in the IPU 300. In various embodiments, the local core controller 334 is included on each core 303. In such embodiments, operational instructions are shared between the global micro-engine (chip micro-engine) and the local core controller (core micro-engine). In particular, at 312, computational instructions are loaded from the model memory 301 by the global micro-engine 304 into the neural computation unit 333 on each core 303. At 311, parameters (e.g., neural network / synaptic weights) are loaded from the model memory 301 by the global micro-engine 304 into the neural computation unit 333 on each core 303. At 313, neural network activation data is loaded from the activation local activation memory 332 by the local core controller 334 into the neural computation unit 333 on each core 303. As mentioned above, activations are provided to the axons of a particular neural network defined by the model and may originate from the same neural computation unit, another neural computation unit, or may originate from outside the system. At 314, the neural computation unit 333 performs a computation to generate an output neuron activation as directed by the local core controller 334. In particular, the computation includes applying input synaptic weights to the input activations. It will be appreciated that various methods are available for performing such computations, including dendrites in a computer, in addition to vector multiplication units. At 315, the results of the computation are stored in the local activation memory 332 as directed by the local core controller 334. As explained above, these stages may be pipelined to provide efficient use of the neural computation units on each core. It will also be appreciated that inputs and outputs may be transferred from the local activation memory 332 to the global activation memory 302 according to the requirements of a given neural network.
[0024] The computation unit 333 performs computations to generate output neuron activations as directed by the local core controller 334. In particular, the computations include applying input synaptic weights to the input activations. It will be appreciated that various methods are available for performing such computations, including dendrites in a computer, in addition to vector multiplication units. The results of the computations are stored in the local activation memory 332 as directed by the local core controller 334. These stages can be pipelined to provide efficient use of the computation units on each core. It will also be appreciated that inputs and outputs can be transferred from the local activation memory 332 to the global activation memory 302 according to the requirements of a given neural network.
[0025] The present disclosure thus provides run-time control of operations in an inference processing unit (IPU). In some embodiments, the micro-engine is centralized (single micro-engine). In some embodiments, the IPU computations are distributed (performed by an array of cores). In some embodiments, run-time control of operations is hierarchical in both the central micro-engine and the participating distributed micro-engines.
[0026] One or more micro-engines direct the execution of all operations in the IPU. Each micro-engine instruction corresponds to several sub-operations (e.g., address generation, load, calculation, store, etc.). In the distributed case, the core microcode executes on the core micro-engines (e.g., 334). The core microcode includes instructions to perform a full, single tensor operation, such as a convolution between a weight tensor and a data tensor. In the single-core context, the core microcode includes instructions to perform single tensor operations on a subset (and partial sums) of the locally stored data tensors. The chip microcode executes on the chip micro-engines (e.g., 304). The microcode includes instructions to perform all tensor operations in the neural network.
[0027] Referring now to FIG. 4, an exemplary single layer layout of a multi-core inference processing unit (IPU) according to an embodiment of the present disclosure is shown. As in FIG. 3, the IPU 400 includes a memory 401 for neural network models and instructions. As explained above, the neural network models may include synaptic weights for the neural network to be computed. The IPU 400 includes an activation memory 402, which may be transient. The activation memory 402 may be divided into an input domain and an output domain, and stores neuron activations for processing.
[0028] The IPU 400 includes an array 406 of neural cores 403. Each core 403 includes a computation unit into which a neural network model is loaded from a model memory 401 and is operative to perform vector computations. In various embodiments, each core further includes a local activation memory. In such embodiments, input activations are provided from the local activation memory prior to each computation step. Outputs from the computation units are written back to the activation memory for processing on the same or another computation unit. In various embodiments, each core 403 includes a local model memory, instruction memory, controller and / or activation memory.
[0029] IPU 400 includes one or more networks-on-chip (NoCs). In some embodiments, partial sum NoC 451 interconnects cores 403 and transports partial sums between them. In some embodiments, a separate parameter distribution NoC 452 connects cores 403 to memory 401 for distributing weights and instructions to cores 403. In some embodiments, activation NoC 453 connects cores to activation memory 402. It will be appreciated that various configurations of NoCs 451, 452, and 453 may be used as appropriate in accordance with this disclosure. For example, broadcast networks, row broadcast networks, tree networks, and switching networks may be used.
[0030] In various embodiments, the global micro-engine 404 is included in the IPU 400. In various embodiments, a local core controller is included on each core 403. In such embodiments, instructions for operation are shared between the global micro-engine (chip micro-engine) and the local core controller (core micro-engine). In particular, computational instructions are loaded from the model memory 401 by the global micro-engine 404 into the neural computational units on each core 403. Parameters (e.g., neural network / synaptic weights) are loaded from the model memory 401 by the global micro-engine 404 into the neural computational units on each core 403. Neural network activation data is loaded from the activation local activation memory by the local core controller into the neural computational units on each core 403. As mentioned above, activations are provided to axons of a particular neural network defined by the model and may originate from the same neural computational unit or another neural computational unit, or may originate from outside the system.
[0031] The neural computation units perform computations to generate output neuron activations as directed by the local core controller. In particular, the computations include applying input synaptic weights to the input activations. It will be appreciated that various methods are available for performing such computations, including dendrites in a computer, in addition to vector multiplication units. The results of the computations are stored in a local activation memory as directed by the local core controller. As explained above, these stages can be pipelined to provide efficient use of the neural computation units on each core. It will also be appreciated that inputs and outputs can be transferred from the local activation memory to the global activation memory 402 according to the requirements of a given neural network.
[0032] In Figure 4, the components of IPU 400 are laid out on a single layer. In an exemplary embodiment, the layout is roughly allocated such that 5% of the total chip area is dedicated to activation I / O, 60% is dedicated to the core array, 25% is dedicated to global memory, 5% is dedicated to global memory interconnect (IC), and 5% is dedicated to the controller. Within a given core, approximately 25% is dedicated to activation memory, 25% is dedicated to weight memory, 25% is dedicated to computation, and 25% is dedicated to control.
[0033] Various performance limitations are imposed by this architecture. For example, memory capacity limits the network size. In particular, the maximum neural network model size that can be computed is determined by the size of the global weight memory. The maximum network layer that can be computed is determined by the size of the activation memory. Similarly, the wire bandwidth limits the network distribution (weight distribution) and also determines the maximum compute parallelism. Data travel distance limits the energy efficiency.
[0034] To address these limitations imposed by the physical layout of a given chip, various embodiments employ a 3D layout in which the various chip components are spread across multiple layers or tiers. In various embodiments, this 3D layout is achieved by stacking silicon 3D dies and wafers. In some embodiments, inter-layer connectivity is provided by through-silicon vias.
[0035] A through silicon via (TSV) or through chip via is a vertical electrical connection (via) that runs completely through a silicon wafer or die. TSV is a high-performance interconnect technology used as an alternative to wire-bond and flip-chip to create 3D packages and integrated circuits. Compared to alternatives such as package-on-package, it allows for substantially higher interconnect and device density, as well as shorter connection lengths.
[0036] In various embodiments, the TSVs have between about 1 million and 3 million interconnects / cm 2 It has an interconnect pitch of 6 to 10 μm, allowing for high interconnect density. It has an area of 500 μm x 500 μm (250,000 μm 2 ), a 10 μm pitch would yield 2500 interconnects (250,000 μm 2 / (10 μm × 10 μm)), and the 6 μm pitch results in 6944 interconnects (250,000 μm 2 / (6 μm×6 μm)). Alternate embodiments can have a 1.6 to 3.0 μm pitch at a depth of 6 to 10 um.
[0037] The TSVs may be implemented in copper, for example based on a 14 nm process. Such an exemplary embodiment may have a diameter of about 10 μm and a pitch of about 40 μm. The TSVs may be implemented in tungsten, for example. Such an exemplary embodiment may have a diameter of about 1.2 μm and a pitch of about 2.5 μm. Another such exemplary embodiment may have a diameter of about 1.0 μm and a pitch of about 2.0 μm.
[0038] In various embodiments, the 3D layout is combined with a 2D global weight distribution bus, which increases the inherent bandwidth to the cores (and potentially the total bandwidth to the cores).
[0039] As will be shown below, the 3D layout can be extended across more than two layers to achieve high capacitance and minimized interlayer wire lengths.
[0040] An example two-tier layout is shown in Figure 5. In this layout, the first tier 501 contains the core array and activation I / O components. The second tier 502 contains the global memory, global memory interconnect, and controller. Parameter Distribution The NoC 452 is configured as a mesh network that connects each core for parameter distribution.
[0041] An exemplary n-tier layout is shown in Figure 6. In this layout, a first tier 601 contains the core array and activation I / O components. A second tier 602 contains the global memory interconnects. Additional tiers 603...604 contain global memory. It will be appreciated that global memory can be spread across any number of layers, thereby allowing for increased capacity without changing the total physical footprint of any individual tier.
[0042] An exemplary n-tier layout is shown in Figure 7. In this layout, a first tier 701 contains activation I / O components including activation memory and network 453. A second tier 702 contains the core array. Additional tiers (not shown) contain global memory, global memory interconnects, and controllers (e.g., as shown in Figures 5-6).
[0043] FIG. 8 shows an example n-tier layout. In this layout, cores are divided among multiple tiers. Tier 801 contains the activation memory per core. Tier 802 contains the computation, weight memory and controller per core. An additional layer (not shown) contains the activation I / O components (as shown in FIG. 7). An additional layer (not shown) contains the global memory, global memory interconnect and controller (as shown in FIGS. 5-6, for example). In this example, the core activation memory size can be expanded by 2-4 times (holding everything else constant) by having its own tier.
[0044] In view of the above examples, it will be appreciated that additional layered layouts can be employed in various embodiments. For example, the memory array can be sandwiched between two core arrays. In such an embodiment, the model resides in the center and distributes weights to the top and bottom core array layers. Such an embodiment is particularly useful when having a batch size of two. In particular, for a given model, a first image is processed on the top core array layer and a second image is processed on the bottom core array layer. This embodiment is also useful for redundant computations in a high reliability setting. A single image can be processed simultaneously on the top and bottom layers. The results from both layers can be compared. If they match, the neural inference computation is successful. If they do not match, the computation can be repeated or a faulty system can be diagnosed.
[0045] The neural network layers can be split between two layers, for example processing neural network layers 1-5 on the bottom layer and neural network layers 6-10 on the top layer. Similarly, different neural networks can be run simultaneously on the same (or different) images on different layers.
[0046] The multi-layer approach described above provides bandwidth improvements over single-layer architectures: wire area increases from 1D to 2D; wire pitch decreases from minimum wire spacing to TSV spacing; core array weight distribution buses go from shared to individual; bus frequencies increase due to shorter TSV propagation distances (corresponding to depth); and activation memory bandwidth and weight distribution bandwidth increase.
[0047] 9A-9G, a 3D global memory interconnect is shown according to an embodiment of the present disclosure. A 3D mesh communication network 901 (see FIG. 9A) is provided that allows dimension ordered routing. In particular, messages are routed on a first and second dimension (e.g., X and Y) within a layer, and then on a third dimension (e.g., Z) between layers. A layer destination node (e.g., 911) receives a message and sends it along the third dimension to a core array on another layer (e.g., directly below). For example, the communication network 452 can be implemented in this manner as shown in FIGS. 5-6. It will be appreciated that other NoCs described herein, such as the communication network 453 shown in FIG. 7, can also be implemented in this manner.
[0048] Referring to Figure 9B, individual bank distribution is shown on a communication network 901. In this example, individual nodes in the communication network 901 send individualized weight blocks from one memory bank to one core along the third dimension.
[0049] Referring to Figure 9C, row broadcasting is shown on a communication network 901. In this example, weight blocks are distributed along rows from row memory banks to individual nodes, and then routed along the third dimension to cores. In this way, each core in a given row receives the same data.
[0050] Referring to Figure 9D, column broadcasting is shown over a communications network 901. In this example, weight blocks are distributed from the column memory banks to individual nodes along the columns, and then routed along the third dimension to the cores. In this way, each core in a given column receives the same data.
[0051] Referring to Figure 9E, a single bank broadcast is shown on a communication network 901. In this example, weight blocks are distributed from one single memory bank to all other nodes in the array and then routed along the third dimension to the cores. In this way, each core receives the same data.
[0052] Referring to Figure 9F, a single bank broadcast is shown on a communication network 901. In this example, weight blocks are distributed from a single internal memory bank to all other nodes in the array, then routed along the third dimension to the cores. In this way, each core receives the same data.
[0053] Referring to Figure 9G, a multi-bank broadcast is shown on a communication network 901. In this example, one weight block is distributed from node 971, while a different weight block is distributed from node 972. Each block is routed along rows and columns to a respective subset of cores. In this manner, simultaneous multicast is achieved.
[0054] In various embodiments, each layer of silicon has a wire stack. The wire stack and wire pitch define the maximum number of wires that can be fabricated in a layer. This, along with the frequency, defines the maximum bandwidth that can be achieved in a layer. Using multiple layers increases the effective number of wires in direct proportion to the number of layers, and also increases the effective bandwidth.
[0055] In various embodiments described above, the second tier is used for the global memory communication network. This gives more wiring capacity for the global memory communication network in the second tier. In addition, this frees up more wiring capacity for other communication networks (e.g., partial sum NoC and activation NoC) in the first tier.
[0056] Various embodiments provide scalable capacity, in particular every additional tier of memory adds capacity, which further allows for modular manufacturing, for example allowing multiple production lines with different memory capacities using the same base logic tier.
[0057] In various embodiments, DRAM, FLASH, SRAM or other memory technologies are integrated on separate layers along with standard logic processing layers.
[0058] In various embodiments, the total energy reduction can be calculated using Equation 3, where N wires is the number of wires, C is the total line capacitance, Vdd is the supply voltage, b is the average fraction of bits in a packet that switches (0 → 1 or 1 → 0), and U wires is the wire utilization and f is the clock frequency. In the exemplary embodiment, b=0.5 and f=10 9 Hz. Capacitance is proportional to distance, so going from 4 mm to an average distance of 10-100 μm can result in a 40-400 times reduction in weight-distributed NoC energy consumption.
number
[0059] As described herein, in various embodiments, the IPU is split among multiple layers. In particular, a neural inference chip is provided in which the core array and memory are realized on different silicon layers. In various embodiments, memory capacity can be varied by adding (or removing) memory layers. In various embodiments, weight memory or parameter memory is provided on a dedicated memory layer. In various embodiments, activation memory is provided on a dedicated memory layer.
[0060] In various embodiments, a dedicated memory bus is provided to each core, as opposed to a shared row bus. In various embodiments, weights are distributed to the core array via a dedicated bus to each core. In various embodiments, the dedicated bus is routed to each core through a different silicon layer.
[0061] In various embodiments, a global memory interconnect is provided. Such a system provides configurable broadcasting of data between a 2D array of memory banks and a 2D array of compute cores on different silicon layers. In various embodiments, data is routed to the core array through the different silicon layers.
[0062] 10, a schematic diagram of an example computational node is shown. Computational node 10 is merely one example of a suitable computational node and is not intended to suggest any limitation to the scope of use or functionality of the embodiments described herein. Regardless, computational node 10 may realize and / or implement any of the functionality set forth above.
[0063] Residing in the computing node 10 is a computer system / server 12 that operates in conjunction with numerous other general purpose or special purpose computing system environments or configurations. Examples of well-known computing systems, environments or configurations or combinations thereof that may be suitable for use with the computer system / server 12 include, but are not limited to, personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputer systems, mainframe computer systems, distributed cloud computing environments that include any of the above systems or devices, and the like.
[0064] The computer system / server 12 may be described in the general context of computer system executable instructions, such as program modules, executed by a computer system. Typically, program modules may include routines, programs, objects, components, logic, data structures, and the like that perform particular tasks or implement particular abstract data types. The computer system / server 12 may be practiced in a distributed cloud computing environment where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media, including memory storage devices.
[0065] 10, computer system / server 12 within compute node 10 is shown in the form of a general purpose computing device. Components of computer system / server 12 may include, but are not limited to, one or more processors or processing units 16, a system memory 28, and a bus 18 coupling various system components including system memory 28 to processor 16.
[0066] Bus 18 may represent any one or more of several types of bus structures including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures, including, by way of non-limiting example, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, Peripheral Component Interconnect (PCI) bus, Peripheral Component Interconnect Express (PCIe), and Advanced Microcontroller Bus Architecture (AMBA).
[0067] In various embodiments, one or more inference processing units (not shown) are coupled to bus 18. In such embodiments, the IPU may receive data from or write data to memory 28 via bus 18. Similarly, the IPU may interact with other components via bus 18 as described herein.
[0068] Computer system / server 12 typically includes a variety of computer system readable media, which may be any available media that can be accessed by computer system / server 12, and which includes both volatile and nonvolatile media, removable and non-removable media.
[0069] The system memory 28 may include computer system readable media in the form of volatile memory such as random access memory (RAM) 30 and / or cache memory 32. The computer system / server 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be provided for reading from and writing to a non-removable, non-volatile magnetic medium (not shown, and typically referred to as a "hard drive"). Although not shown in the figures, a magnetic disk drive may be provided for reading from and writing to a removable, non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive may be provided for reading from and writing to a removable, non-volatile optical disk, such as a CD-ROM, DVD-ROM, or other optical medium. In such an example, each may be connected to the bus 18 by one or more data media interfaces. As further shown and described below, memory 28 may include at least one program product having a set (e.g., at least one) program module configured to perform functions of embodiments of the present disclosure.
[0070] A program / utility 40 having a set of (at least one) program modules 42, as well as an operating system, one or more application programs, other program modules and program data, may be stored in memory 28, by way of example and not limitation. Each of the operating system, one or more application programs, other program modules and program data, or some combination thereof, may include an implementation of a networked environment. The program modules 42 typically implement the functions and / or methods of the embodiments described herein.
[0071] The computer system / server 12 may also communicate with one or more external devices 14, such as a keyboard, a pointing device, a display 24, and the like, one or more devices that allow a user to interact with the computer system / server 12, and / or any device (e.g., a network card, a modem, and the like) that allows the computer system / server 12 to communicate with one or more other computing devices. Such communication may occur through an input / output (I / O) interface 22. Additionally, the computer system / server 12 may communicate with one or more networks, such as a local area network (LAN), a general wide area network (WAN), and / or a public network (e.g., the Internet) via a network adapter 20. As shown, the network adapter 20 communicates with other components of the computer system / server 12 via a bus 18. Although not shown in the figures, it is understood that other hardware and / or software components may be used with the computer system / server 12. Examples include, but are not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives and data archival storage systems, and so forth.
[0072] The present disclosure may be embodied as a system, method, and / or computer program product, which may include one or more computer-readable storage media having computer-readable program instructions thereon that cause a processor to implement aspects of the present disclosure.
[0073] A computer readable storage medium may be a tangible device capable of holding and storing instructions for use by an instruction execution device. A computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. A non-exhaustive list of more specific examples of computer readable storage media includes portable computer diskettes, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROMs or flash memories), static random access memories (SRAMs), portable compact disk read-only memories (CD-ROMs), digital versatile disks (DVDs), memory sticks, floppy disks, punch-cards or machine-encoded devices such as ridge structures in grooves having instructions recorded thereon, and any suitable combination thereof. As used herein, a computer-readable storage medium should not, per se, be construed as a ephemeral signal, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., light pulses passing through a fiber optic cable), or an electrical signal transmitted over a wire.
[0074] The computer readable program instructions described herein may be downloaded from a computer readable storage medium into each computing / processing device or may be downloaded to an external computer or storage device over a network, such as the Internet, a local area network, a wide area network, or a wireless network, or a combination thereof. The network may comprise copper transmission cables, optical transmission fiber, wireless transmission, routers, firewalls, switches, gateway computers, or edge servers, or a combination thereof. A network adapter card or network interface in each computing / processing device receives the computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing / processing device.
[0075] The computer readable program instructions for carrying out the operations of the present disclosure may be either source code or object code written in any combination of one or more programming languages, including assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or conventional procedural programming languages, such as object-oriented programming languages, such as Smalltalk®, C++, and the like, and traditional procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, partially on the user's computer as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or wide area network (WAN), or the connection may be made to an external computer (e.g., via the Internet using an Internet Service Provider). In some embodiments, state information of the computer readable program instructions may be utilized to personalize electronic circuitry to implement aspects of the present disclosure, such that electronic circuitry including, for example, programmable logic circuitry, field programmable gate arrays (FPGAs), or programmable logic arrays (PLAs) may execute the computer readable program instructions.
[0076] Aspects of the present disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the present disclosure. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer readable program instructions.
[0077] These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer or other programmable data processing apparatus to produce a machine, such that the instructions, which execute on the processor of the computer or other programmable data processing apparatus, produce means for performing the functions / operations specified in one or more blocks of the flowcharts and / or block diagrams. These computer readable program instructions may be stored on a computer readable storage medium such that the computer readable storage medium having the instructions stored thereon comprises an article of manufacture including instructions implementing aspects of the functions / operations specified in one or more blocks of the flowcharts and / or block diagrams, and may direct a computer, programmable data processing apparatus or other device, or combination thereof, to function in a particular manner.
[0078] The computer readable program instructions may be loaded into a computer, other programmable data processing apparatus or other device to cause the computer, other programmable apparatus or other device to perform a series of operational steps to generate a computer-implemented process such that the instructions, which execute on the computer, other programmable apparatus or other device, perform the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams.
[0079] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the disclosure. In this regard, each block in the flowcharts or block diagrams may represent a module, segment, or portion of instructions, including one or more executable instructions for implementing one or more specified logical functions. In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may in fact be executed substantially simultaneously, or the blocks may sometimes be executed in reverse order depending on the functionality involved. It will also be noted that each block in the block diagrams and / or flowchart illustrations, and combinations of blocks in the block diagrams and / or flowchart illustrations, may be realized by a dedicated hardware-based system that performs the specified functions or operations, or a combination of dedicated hardware and computer instructions.
Claims
1. A neural inference chip, the chip layout using a silicon 3D die and stacking of wafers containing multiple silicon layers, a first silicon layer comprising a plurality of neural cores, each core comprising a neural computation unit adapted to apply a plurality of synaptic weights to a plurality of input activations to generate a plurality of output activations; a second silicon layer comprising a first neural network model memory adapted to store said plurality of synaptic weights; a communications network operatively coupled to the first neural network model memory and to each of the plurality of neural cores and adapted to provide the synaptic weights from the first neural network model memory to each of the plurality of neural cores; the communications network comprises a plurality of through-silicon vias providing connectivity between the first silicon layer and the second silicon layer, the communications network having at least three dimensions, a first dimension of the at least three dimensions extending between silicon layers of the neural inference chip and a second dimension of the at least three dimensions extending within a silicon layer of the neural inference chip, and configured to provide a dedicated bus to each of a plurality of neural cores for providing the synaptic weights from the first neural network model memory to each of the plurality of neural cores.
2. at least one additional silicon layer comprising at least one additional neural network model memory; the communications network is further operatively coupled to the at least one additional neural network model memory and adapted to provide synaptic weights from the at least one additional neural network model memory to each of the plurality of neural cores.
2. The neural inference chip of claim 1.
3. 3. The neural inference chip of claim 2, wherein neural network models are stored across said first neural network model memory and said at least one additional neural network model memory.
4. 3. The neural inference chip of claim 2, wherein a plurality of neural network models are stored across said first neural network model memory and said at least one additional neural network model memory.
5. Each core, an activation memory adapted to store said input activations and said output activations; a local controller adapted to load the input activations from the activation memory into the neural computing unit and to store the output activations from the neural computing unit into the activation memory; The neural inference chip of claim 1 further comprising:
6. a third silicon layer comprising an activation memory; The communication network is further operatively coupled to the activation memory. and transmitting activation information from the activation memory to each of the plurality of neural cores. adapted to generate an initialization 2. The neural inference chip of claim 1.
7. a third silicon layer comprising an activation memory; an additional communication network operatively coupled to said activation memory and adapted to generate activations from said activation memory to each of said plurality of neural cores; 2. The neural inference chip of claim 1.
8. a third silicon layer comprising a plurality of neural cores; the communications network is operatively coupled to the third silicon layer and adapted to provide the synaptic weights from the first neural network model memory to each of a plurality of neural cores of the third silicon layer; 2. The neural inference chip of claim 1.
9. 9. The neural inference chip of claim 8 configured to provide a first neural network model to both the first silicon layer and the third silicon layer.
10. 9. The neural inference chip of claim 8 configured to provide a different neural network model to each of the first silicon layer and the third silicon layer.
11. The neural inference chip of claim 1 , wherein the communication network is adapted to provide the same synaptic weights to each of the cores.
12. The neural inference chip of claim 1 , wherein the communication network is adapted to provide identical synaptic weights to a subset of the cores.
13. A neural inference chip, the chip layout using a silicon 3D die and stacking of wafers including multiple silicon layers, comprising: a first silicon layer comprising a plurality of neural cores, each core comprising a neural computation unit adapted to apply a plurality of synaptic weights to a plurality of input activations to generate a plurality of output activations; a second silicon layer comprising a first neural network model memory adapted to store said plurality of synaptic weights; a communications network operatively coupled to the first neural network model memory and to each of the plurality of neural cores and adapted to provide the synaptic weights from the first neural network model memory to each of the plurality of neural cores; the communication network comprises a plurality of through silicon vias providing connectivity between the first silicon layer and the second silicon layer, the communication network having at least three dimensions, a first dimension of the at least three dimensions extending between silicon layers of the neural inference chip, and a second dimension of the at least three dimensions extending within a silicon layer of the neural inference chip; a third silicon layer comprising an activation memory; a neural inference chip, wherein an additional communication network is operatively coupled to said activation memory and adapted to generate activations from said activation memory to each of said plurality of neural cores;
Citation Information
Patent Citations
Apparatus and method including a scalable driver
JP2015520432A
Arithmetic processing circuit, and information processing unit
JP2017138867A
Server systems with hardware accelerators including stacked memory
US20160379686A1
Neural network accelerator tile architecture with three-dimensional stacking
US20180365553A1
3D Processor
US20190123024A1
