-
公开(公告)号:US20240162916A1
公开(公告)日:2024-05-16
申请号:US18096551
申请日:2023-01-12
Applicant: Samsung Electronics Co., Ltd.
Inventor: Jong Hoon SHIN , Ardavan PEDRAM , Joseph HASSOUN
IPC: H03M7/30
CPC classification number: H03M7/3059 , H03M7/6011 , H03M7/6094
Abstract: A runtime data-format optimizer for a processing element includes a sparsity-detector and a compression-converter. The sparsity-detector selects a first compression-conversion format during a runtime of the processing element based on a performance model that is based on a first sparsity pattern of first data stored in a first memory that is exterior to the processing element and a second sparsity pattern of second data that is to be stored in a second memory within the processing element. The second sparsity pattern is based on a runtime configuration of the processing element. The first data is stored in the first memory using a first compression format and the second data is to be stored in the second memory using a second compression format. The compression-conversion circuit converts the first compression format of the first data to be the second compression format of the second data based on the first compression-conversion format.
-
公开(公告)号:US20240192922A1
公开(公告)日:2024-06-13
申请号:US18171300
申请日:2023-02-17
Applicant: Samsung Electronics Co., Ltd.
IPC: G06F7/544
CPC classification number: G06F7/5443 , G06N3/0464
Abstract: Systems and methods for handling processing with sparse weights and outliers. In some embodiments, the method includes reading a first activation from a first row of an array of activations; multiplying a first weight by the first activation to form a first product; directing, by a first demultiplexer, the first product to a first adder tree, of a plurality of adder trees; reading a second activation from a second row of the array of activations; and multiplying a second weight by the second activation.
-
公开(公告)号:US20240095505A1
公开(公告)日:2024-03-21
申请号:US17980541
申请日:2022-11-03
Applicant: Samsung Electronics Co., Ltd.
Inventor: Jong Hoon SHIN , Ardavan PEDRAM , Joseph HASSOUN
Abstract: A neural processing unit is disclosed that supports dual-sparsity modes. A weight buffer is configured to store weight values in an arrangement selected from a structured weight sparsity arrangement or a random weight sparsity arrangement. A weight multiplexer array is configured to output one or more weight values stored in the weight buffer as first operand values based on the selected weight sparsity arrangement. An activation buffer is configured to store activation values. An activation multiplexer array includes inputs to the activation multiplexer array that are coupled to the activation buffer, and is configured to output one or more activation values stored in the activation buffer as second operand values in which each respective second operand value and a corresponding first operand value forming an operand value pair. A multiplier array is configured to output a product value for each operand value pair.
-
公开(公告)号:US20240162917A1
公开(公告)日:2024-05-16
申请号:US18096557
申请日:2023-01-12
Applicant: Samsung Electronics Co., Ltd.
Inventor: Jong Hoon SHIN , Ardavan PEDRAM , Joseph HASSOUN
CPC classification number: H03M7/6088 , H03M7/42
Abstract: A runtime bit-plane data-format optimizer for a processing element includes a sparsity-detector and a compression-converter. The sparsity-detector selects a bit-plane compression-conversion format during a runtime of the processing element using a performance model that is based on a first sparsity pattern of first bit-plane data stored in a memory exterior to the processing element and a second sparsity pattern of second bit-plane data that is to be stored in a memory within the processing element. The second sparsity pattern is based on a runtime configuration of the processing element. The first bit-plane data is stored using a first bit-plane compression format and the bit-plane second data is to be stored using a second bit-plane compression format. The compression-conversion circuit converts the first bit-plane compression format of the first data to be the second bit-plane compression format of the second data.
-
公开(公告)号:US20240119270A1
公开(公告)日:2024-04-11
申请号:US17980544
申请日:2022-11-03
Applicant: Samsung Electronics Co., Ltd.
Inventor: Jong Hoon SHIN , Ardavan PEDRAM , Joseph HASSOUN
Abstract: A neural processing unit is reconfigurable to process a fine-grain structured sparsity weight arrangement selected from N:M=1:4, 2:4, 2:8 and 4:8 fine-grain structured weight sparsity arrangements. A weight buffer stores weight values and a weight multiplexer array outputs one or more weight values stored in the weight buffer as first operand values based on a selected fine-grain structured sparsity weight arrangement. An activation buffer stores activation values and an activation multiplexer array outputs one or more activation values stored in the activation buffer as second operand values based on the selected fine-grain structured weight sparsity in which each respective second operand value and a corresponding first operand value forms an operand value pair. A multiplier array outputs a product value for each operand value pair.
-
公开(公告)号:US20240095519A1
公开(公告)日:2024-03-21
申请号:US17989675
申请日:2022-11-17
Applicant: Samsung Electronics Co., Ltd.
Inventor: Ardavan PEDRAM , Ali SHAFIEE ARDESTANI , Jong Hoon SHIN , Joseph H. HASSOUN
CPC classification number: G06N3/08 , H03M7/3066
Abstract: A neural network inference accelerator includes first and second neural processing units (NPUs) and a sparsity management unit. The first NPU receives activation and weight tensors based on an activation sparsity density and a weight sparsity density both being greater than a predetermined sparsity density. The second NPU receives activation and weight tensors based on at least one of the activation sparsity density and the weight sparsity density being less than or equal to the predetermined sparsity density. The sparsity management unit controls transfer of the activation tensor and the weight tensor based on the activation sparsity density and the weight sparsity density with respect to the predetermined sparsity density.
-
公开(公告)号:US20240095518A1
公开(公告)日:2024-03-21
申请号:US17988739
申请日:2022-11-16
Applicant: Samsung Electronics Co., Ltd.
Inventor: Ardavan PEDRAM , Jong Hoon SHIN , Joseph H. HASSOUN
IPC: G06N3/08
CPC classification number: G06N3/08
Abstract: A memory system and a method are disclosed for training a neural network model. A decompressor unit decompresses an activation tensor to a first predetermined sparsity density based on the activation tensor being compressed, and decompresses an weight tensor to a second predetermined sparsity density based on the weight tensor being compressed. A buffer unit receives the activation tensor at the first predetermined sparsity density and the weight tensor at the second predetermined sparsity density. A neural processing unit receives the activation tensor and the weight tensor from the buffer unit and computes a result for the activation tensor and the weight tensor based on first predetermined sparsity density of the activation tensor and based on the second predetermined sparsity density of the weight tensor.
-
-
-
-
-
-