Recommendation model reasoning acceleration system based on near-memory processing architecture
By adopting multiple embedded table partitioning strategies and custom instruction sets in the near-memory processing architecture, the performance bottleneck caused by the fixed partitioning strategy is solved, and efficient acceleration of recommended model reasoning is achieved, which is suitable for a variety of memory configurations and recommended model parameters.
Patent Information
- Application Number
- CN202410621425.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-20
- Publication Date
- 2024-08-27
AI Technical Summary
Existing near-memory processing architectures adopt fixed vector partitioning strategies in recommended systems, resulting in wasted data bus bandwidth, load imbalance, and activation timing constraints. They lack flexibility and versatility, making it difficult to fully realize performance potential.
A recommended model inference acceleration system based on a near-memory processing architecture is designed, using a variety of embedded table partitioning strategies, and co-designing at the hardware and software levels, including distributing computing units on the buffer chip, custom compression instruction sets and Bank -Group-level processing unit, the host side selects the optimal partitioning strategy and address mapping strategy through algorithms, and supports multiple partitioning modes to optimize the storage and access of embedded tables.
By dynamically selecting the optimal partitioning strategy and custom instruction set, the acceleration effect of recommended model inference is significantly improved, especially in the processing of large-scale embedding vectors, which improves performance and efficiency and is suitable for a variety of memory configurations and recommended model parameters. .
Smart Images

Figure CN118550697A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of recommendation system models, and in particular relates to a recommendation model reasoning acceleration system. Background Art
[0002] Recommendation systems are important basic models in Internet data centers and consume a lot of data center resources. In recommendation systems, memory-intensive embedding layer operations account for most of the execution time, which performs a large number of sparse and irregular embedding table accesses. In traditional computer architectures, embedding tables are stored in DRAM memory, which performs gather-and-reduce (GnR) operations during reasoning. Data needs to be loaded from memory to the processor (central processing unit, CPU) for calculation, which is limited by the memory bandwidth of existing processor architectures and is inefficient.
[0003] To solve the above problems, the prior art provides a system based on a near memory processing (NMP) architecture, which is equipped with a buffer chip of a computing processing element (PE) in the memory, so that the partially calculated results can be directly obtained from the buffer chip, which greatly reduces the amount of data transmission and effectively reduces the data transmission time. However, the existing near memory processing architecture system only uses a fixed vector placement strategy to deploy the embedding table into the memory. For example, the embedding table is divided horizontally or vertically into multiple memory nodes, which may lead to mismatches in dimension size, memory configuration and division strategy, resulting in waste of data bus bandwidth, load imbalance, activation timing restrictions, etc., which restricts the advantages brought by the near memory processing architecture. There is a large room for performance improvement, based on which a higher performance near memory computing architecture is explored to further accelerate the recommendation system. Summary of the invention
[0004] The purpose of the present invention is to provide a recommendation model reasoning acceleration system based on a near-memory processing architecture, which mainly focuses on and solves two key problems, thereby improving the reasoning acceleration effect: (1) how to select the most appropriate partitioning storage strategy for the embedding table based on the current memory and recommendation model configuration; (2) how the hardware end of the near-memory processing architecture supports embedding search with multiple partitioning modes.
[0005] The recommendation model inference acceleration system based on near-memory processing architecture provided by the present invention is aimed at memory systems based on dual inline memory modules (DIMMs), such as DDR4 or DDR5. Each channel may contain multiple DIMMs, and each DIMM may contain multiple ranks. All ranks in a channel share command, address, and data buses. Each Rank contains several Bank-Groups, and each Bank-Group contains several Banks. Since multiple ranks in the channel share the bus, only one Rank can occupy the bus in the channel to transmit data at a time. By distributing the computing units on the buffer chips in the DIMM, the internal bandwidth of the Rank level can be utilized.
[0006] For the current mainstream recommendation models, the embedding table of its embedding layer occupies a large capacity and usually cannot be stored completely in the entire Rank. The existing near-memory processing architecture chooses to use different vector partitioning strategies to store the entire embedding table in memory. For example, TensorDIMM vertically divides the embedding vector between all ranks, and each Rank has a part of the embedding vector, which is called vertical partitioning; many NMP architectures usually store the complete embedding vector continuously in a memory node without partitioning the vector, which is called horizontal partitioning. Previous studies only used one of the fixed partitioning strategies to place the embedding table, and the fixed partitioning strategy is suitable for different memory configurations and recommendation model parameter configurations. Today's data centers often have multiple recommendation models of different specifications at the same time. In addition, the parameter configurations (embedding dimensions, quantity, etc.) between different embedding tables within a single recommendation model are also different. This near-memory processing architecture with a fixed partitioning strategy lacks versatility and flexibility, and it is difficult to give full play to the potential performance of the architecture in actual production.
[0007] The prior art only uses two ways of partitioning the embedding table, and does not explore the performance impact of more diverse partitioning methods of the embedding table in the near-memory processing architecture. In view of the shortcomings of the prior art, in order to support the coexistence of multiple partitioning strategies in the near-memory processing architecture and select the optimal partitioning strategy for each embedding table of the recommendation model to achieve the acceleration effect of the recommendation model reasoning, the present invention proposes a recommendation model reasoning acceleration system based on the near-memory processing architecture; the system includes both software and hardware designs, and the overall architecture is as follows: Figure 1 As shown. Among them:
[0008] In the hardware part, we provide the architecture design of the near memory processing unit located in the buffer chip, including:
[0009] Module 1, the processing unit near the memory end, is located inside the buffer chip of the DDR memory. The processing unit includes the DIMM-level processing unit (DPE) at the DIMM level and the Rank-level processing unit (RPE) at the Rank level.
[0010] Module 2: Customized compressed instruction set used by near-memory processing units. To coordinate the hardware and software and reduce bus bandwidth pressure, this architecture uses customized compressed near-memory instructions. The host (i.e., central processing unit, CPU) needs to compile or encode the embedded index access in the recommendation model reasoning process into compressed near-memory instructions, which are recognized and decoded by the near-memory processing units DPE and RPE.
[0011] Module 3, the present invention further expands the near memory processing level from the Rank level to the Bank-Group level, and only needs to add a Bank-Group-level processing element (Bank-group-level Processing Element, BGPE) between the local I / O port and the global I / O port of the Bank-Group on the memory side, and other modules do not require additional modifications.
[0012] The software part mainly includes the partitioning module of the embedded table, the algorithm module that needs to be executed on the host side, the software architecture of the host side, etc. Specifically:
[0013] Module 4, the embedding table partitioning module, partitions the embedding table into various memory nodes in a variety of different ways.
[0014] Module 5, the algorithm module, is that before running the reasoning of the recommendation model, the host needs to first analyze the parameter configuration of the recommendation model and the configuration of the current memory system, so as to select the optimal partitioning method for each embedding table of the current model.
[0015] Module 6, host-side software architecture, including: the memory controller sets different address mapping strategies for each partitioning method to avoid address mapping conflicts, that is, different memory locations are allocated to different fields of the physical address of the embedded table with different partitions.
[0016] further:
[0017] In the module 1, the near memory processing unit includes two types: DPE and RPE. Figure 3The design of DPE is shown, which consists of PHY, instruction queue, instruction dispatch module, ALU operation unit, part and buffer modules. During GnR operation, DPE receives custom instructions FP-inst from the host and stores them in the instruction queue. The dispatcher reads the instruction and recognizes its ptn-flag field. If the partitioning strategy belongs to P R / D , P R / C , P R , P BG / D , P BG / C and P BG (i.e., the embedded vector is divided into multiple ranks in the DIMM), the vsize field of FP-inst is divided by the number of ranks of each DIMM (implemented by shifting). The updated FP-inst is broadcast to all RPEs. For other partitioning strategies, the FP-inst is forwarded to the RPE of the target Rank according to the addr field. For the reduction operation of the embedded vector, unlike the previous DIMM-level computing units, which usually perform summation or concatenation operations, the DPE computing units support both operations. After receiving partial results from the RPE, the DPE computing unit performs further operations according to the DPE operation table. For the six partitioning strategies for executing instruction broadcasts mentioned above, the DPE performs concatenation. Otherwise, the DPE performs element-by-element summation. The calculation results are stored in the data buffer. When the DPE completes a batch of GnR operations, it transmits the calculation results back to the host through the data bus.
[0018] Figure 4 The design of the RPE unit is shown, which is mainly composed of modules such as instruction buffer, instruction decoder, DDR command generator, ALU unit and partial sum buffer. Its main function is to complete the memory read of the vector and perform vector reduction. The FP-inst received from the DPE is stored in the instruction queue. The RPE decodes the instruction and generates standard DDR commands, such as activate ACT, read RD, and precharge PRE. When the read data is returned, the calculation unit performs element-by-element summation or weighted summation according to the opcode field, and stores the result in the data buffer. In addition, for the Intra-PE partitioning strategy, after all FP-insts with the same GnRtag are summed, the calculation unit needs to further perform splicing operations on the results (such as Figure 1 The final operation result can be returned to the DPE.
[0019] At the lower near-memory processing architecture level, other system designs of the present invention, such as partitioning decision methods, programming models, and execution flows, are basically universal with the Rank-level designs.
[0020] In the module 2, the custom compression instruction set is abbreviated as FP-inst (Flexible Partitioning instruction), such as Figure 5 As shown. FP-inst contains the following fields: ptn-flag (4 bits), opcode (2 bits), addr (34 bits), vsize (5 bits), weight (32 bits), GnRtag (4 bits) and last-flag (1 bit). The 82-bitFP-inst proposed by the present invention is compatible with the standard 84-pin command / address and data interface. Each of their memory controllers can transmit two instructions at double data rate in one DDR cycle.
[0021] In the module 3, in order to achieve bank-group level parallelism, the DPE is the same as the rank-level DPE. For the RPE, it moves operations such as multiplication to the BGPE, and its function and architecture are similar to those of the DPE. The RPE is responsible for further distributing instructions to the BGPE and processing partial sums from the BGPE. The architecture of the BGPE is similar to the RPE architecture of the rank-level parallelism ( Figure 1 (c)) is basically the same, responsible for instruction decoding and generating standard DDR commands. The data is calculated by the computing unit and the final partial sum is transmitted to the RPE. The computing unit needs to support multiplication and addition operations and splicing operations. In addition, the operation tables of DPE, RPE and BGPE also need to be updated accordingly.
[0022] In the module 4, the present invention proposes more than ten possible embedding table partitioning modes, which are used in the following i , where i represents the number of parts into which the complete embedding vector is divided. Taking the Rank-level near-memory processing architecture as an example, Figure 2 shown, including:
[0023] There are seven ways to divide the PEs (inter-PE), that is, to interleave the vectors across multiple PEs:
[0024] P1: The embedding table is divided horizontally, and each embedding vector is completely stored in a memory node;
[0025] P C : Divide the embedding table into a number equal to the number of channels in the memory system;
[0026] P D / C : Divide the embedded table into several DIMMs under a certain channel;
[0027] P D : Divide the embedded table into all DIMMs in the entire memory system;
[0028] PR / D : Divide the embedded table into all ranks under a certain DIMM;
[0029] P R / C : Divide the embedding table into all ranks under a certain channel;
[0030] P R : Divide the embedded table into all ranks in the entire memory system, that is, vertical division.
[0031] There are four ways to divide PE (intra-PE):
[0032] P BG / R : Divide the embedded table into all Bank-Groups in a certain Rank;
[0033] P BG / D : Divide the embedded table into all Bank-Groups in a DIMM;
[0034] P BG / C : Divide the embedding table into all Bank-Groups under a certain channel;
[0035] P BG : Divide the embedded table into all Bank-Groups in the entire memory system.
[0036] In the module 5, before the near memory processing hardware and software architecture runs the reasoning of the recommended model, the host should select the most appropriate optimal partitioning strategy for each embedded table based on the current memory configuration and embedding dimension. To this end, the present invention proposes a corresponding partitioning decision algorithm. The host determines an optimal partitioning strategy for each embedded table based on the actual performance of the workload. The host generates random floating-point numbers in the embedded table address range to complete the initialization of the embedded table, and then samples a small number of batches of GnR indexes from historical runs as pre-analyzed workloads. The near memory unit will traverse all partitioning strategies, execute these GnR operations, and count the execution time of each embedded table. When all partitioning strategies are completed, based on the statistical results, the partitioning strategy of each embedded table is set to the partitioning strategy with the shortest execution time.
[0037] In the module 6, in order to ensure that the embedded vectors in different partitioning modes do not overlap in the memory, the present invention avoids address mapping conflicts by setting the allocation granularity of the address space, such as Figure 1 (b) is shown. In different partitioning strategies, the Row field always corresponds to the highest bit of the address, and only other fields will change. By changing the memory field below Column in the address mapping, the placement of the vector can be changed. For example, for P C, the fields below Column are Channel, so a vector will be divided into all channels in the memory system. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 This is an overall structural diagram of the near memory processing accelerator of the present invention.
[0039] Figure 2 Schematic diagram of the embedding vector partitioning patterns of 11 Rank levels between PEs and within PEs.
[0040] Figure 3 This is a structural diagram of the DPE processing unit.
[0041] Figure 4 This is the structural diagram of the RPE processing unit.
[0042] Figure 5 A detailed introduction to FP-Inst compressed instructions.
[0043] Figure 6 This is a schematic diagram of the acceleration effect achieved by the present invention. DETAILED DESCRIPTION
[0044] In order to make the features and effects of the present invention more clear and understandable, the operation process of the overall system architecture is introduced below, and is described in detail as follows in conjunction with the embodiments and the drawings in the specification.
[0045] Throughout the execution flow, the BIOS reserves memory address space for the embedding table during the boot process. The device driver maps the physical address to the kernel virtual address. The user thread maps the kernel virtual address to the user virtual address. Therefore, the host and NMP have independent memory address spaces, where the memory area of the NMP is set to be non-cacheable to simplify consistency issues. After completing the system startup, the host can start executing the recommended system. The host initializes the embedding table into memory. Then, the GnR kernel is unloaded to the NMP and executed.
[0046] Before running the inference phase, the host first analyzes the dimensional size of each embedding table of the recommendation model, selects the optimal partitioning method for different embedding tables according to the configuration of the current memory system, and stores them in the memory according to the corresponding address mapping. After the host determines the partitioning strategy for each embedding table according to the corresponding decision mode, it executes the allocation and initialization phase to allocate enough address space for each partition and initialize the embedding table into the memory according to the address mapping table. After the initialization is completed, the system manages the address space of each partition. The host can access the embedding table through the index as usual. When a GnR operation starts, the embedding table index is sent to the near memory processing core, which offloads the GnR operation to the NMP system.
[0047] The execution flow of GnR operation can be divided into two stages: preprocessing and postprocessing.
[0048] In the pre-processing phase, GnR operations are offloaded to the near memory processing architecture of the DIMM through extensions in the memory controller. NMP requests from the main thread are stored in a queue. The partitioning strategy of the request is determined by identifying the address space it belongs to. Then, according to Figure 1 (b) Complete the physical to memory address mapping. The GnR operation is encoded into a series of FP-Insts with the same GnRTag. The scheduler reorders the FP-Inst to preserve temporal locality. The distributor broadcasts or forwards the FP-insts to the DIMMs corresponding to their respective addresses through the bus according to the partitioning strategy, which is similar to the distributor of the DPE. Subsequently, the processing unit in the DIMM executes the GnR operation according to the instruction. For embedded tables with different partitioning methods, the address mapping method in the memory is different, such as Figure 1 (a) shows that the transmission of instructions is different. The host and DPE will choose to broadcast or forward the instructions. The operations to be performed by the DPE and RPE are also different. They will perform (weighted) summation and concatenation operations. Figure 1 The partitioning-operation table in (b) is used to record the operations to be performed by the processing unit when searching for embedded vectors under different partitioning strategies.
[0049] In the post-processing stage, the host reads the embedded vector part and the result of NMP via the DQ bus (data bus) and performs the final summation and connection operation according to the host operation table (such as Figure 1 Finally, the result of the entire GnR operation is returned to the main thread.
[0050] A simulation test platform for computing devices was built based on the simulator, on which the embedding lookup operation in the recommendation model inference algorithm was implemented to evaluate the acceleration effect of near-memory processing acceleration devices on the embedding lookup operation of the recommendation model.
[0051] In a specific implementation, a deep learning recommendation model (DLRM) can be used as a test data set based on the Kaggle data set to test the acceleration effect of the computing device in this embodiment using a near-memory computing accelerator architecture to accelerate the GnR operation in the reasoning operation of the recommendation model.
[0052] Extract the embedding table access index of each batch of the CPU in the GnR operation. During the inference process, the number of lookups for each GnR operation is 80, and the batch size is set to 128. Kaggle contains a total of 10 large embedding tables, which are used as the DLRM dataset. Six workloads (MD1 to MD6) are generated using DLRM with different parameter configurations to run inference. Based on the embedding access index of these workloads and the dimension information of the embedding table, memory access trace files are generated. These trace files serve as the input of the simulation test platform and provide a behavioral model of memory access on the host side.
[0053] The entire simulation process is as follows. First, the above workload is run on a real server. The API is implemented based on the DLRM source code, and other host software stacks are simulated. The host running the workload will extract information such as the index and vector dimension of the GnR operation, and generate a memory trace file containing a series of NMP requests after physical address translation. Subsequently, the simulation platform reads the memory trace file to complete the simulation of the NMP system and outputs execution time and architectural event statistics.
[0054] See also Figure 6 , is the present invention Figure 1 The schematic diagram of the acceleration effect comparison of the near memory computing acceleration system in various scenarios is shown. Among them, the memory system is configured as dual channels, each channel contains 4 DIMMs, and each DIMM contains 4 ranks. In the 6 generated workloads (MD1~MD6), the near memory computing acceleration system of the present invention has achieved good acceleration effects, especially when the vector dimension of the workload is large, the acceleration effect is more obvious.
Claims
1. A recommendation model reasoning acceleration system based on near-memory processing architecture, for a memory system based on dual in-line memory modules (DIMMs), wherein each channel contains multiple DIMMs, each DIMM contains multiple ranks; all ranks in a channel share command, address and data buses; each rank contains several bank-groups, and each bank-group contains several banks; characterized in that, The recommendation model reasoning acceleration system consists of two parts: software and hardware. The hardware part is the organizational structure of the near memory processing unit located in the buffer chip, which includes: The processing unit near the memory end is denoted as module 1 and is located inside the buffer chip of the DDR memory; the processing unit includes a DIMM-level processing unit (DPE) located at the DIMM level and a Rank-level processing unit (RPE) located at the Rank level; The custom compression instruction set used by the near-memory processing unit is denoted as module 2; it uses custom compressed near-memory instructions; the host, i.e., the central processing unit (CPU), compiles or encodes the embedded index access in the recommendation model reasoning process into compressed near-memory instructions, which are recognized and decoded and executed by the near-memory processing units DPE and RPE; The extension pole of the Bank-Group is denoted as Module 3, which further expands the near-memory processing level from the Rank level to the Bank-Group level. Specifically, a Bank-Group level processing unit (BGPE) is added between the local I / O port and the global I / O port of the Bank-Group on the memory side, and no additional modifications are made to other modules; The software part includes the partitioning module of the embedded table, the algorithm module that needs to be executed on the host side, and the software architecture of the host side. Specifically: The embedding table partitioning module, denoted as module 4, partitions the embedding table into various memory nodes in a variety of different ways; The algorithm module, denoted as module 5, is used by the host to analyze the parameter configuration of the recommendation model and the configuration of the current memory system before running the reasoning of the recommendation model, so as to select the optimal partitioning method for each embedding table of the current model; The software architecture of the host side, denoted as module 6, includes: the memory controller side sets different address mapping strategies for each partitioning method to avoid address mapping conflicts; that is, different memory locations are allocated to different fields of the physical address of the embedded table using different partitions.
2. The recommendation model reasoning acceleration system according to claim 1; characterized in that: In the module 1, the near memory processing unit includes two types: DPE and RPE; wherein: The DPE unit consists of a PHY, an instruction queue, an instruction distribution module, an ALU operation unit, a part and a buffer module. During the GnR operation, the DPE receives custom instructions FP-inst from the host and stores them in the instruction queue. The distributor reads the instruction and identifies its ptn-flag field. If the partitioning strategy belongs to P R / D , P R / C , P R , P BG / D , P BG / C and P BG , that is, to divide the embedded vector into multiple ranks in the DIMM, the vsize field of FP-inst is divided by the number of ranks of each DIMM; the updated FP-inst is broadcast to all RPEs; for other partitioning strategies, according to the addr field, FP-inst is forwarded to the RPE of the target Rank; for the reduction operation of the embedded vector, the DPE computing unit supports the execution of summation or connection operations at the same time; after receiving the partial results from the RPE, the DPE computing unit performs further operations according to the DPE operation table; for the six partitioning strategies for the execution instruction broadcast mentioned above, the DPE performs connection; otherwise, the DPE performs element-by-element summation; the calculation results are stored in the data buffer; when the DPE completes a batch of GnR operations, the calculation results are transmitted back to the host through the data bus; The RPE unit consists of an instruction buffer, an instruction decoder, a DDR command generator, an ALU unit and a partial sum buffer module; its main function is to complete the memory reading of the vector and perform vector reduction; the FP-inst received from the DPE is stored in the instruction queue; the RPE decodes the instruction and generates a standard DDR command, including activating ACT, reading RD and precharging PRE; when the read data is returned, element-by-element summation or weighted summation is performed according to the opcode field, and the result is stored in the data buffer; in addition, for the Intra-PE partitioning strategy, after all FP-insts with the same GnRtag are summed, it is necessary to further perform a splicing operation on the result, and the final operation result is returned to the DPE.
3. The recommendation model reasoning acceleration system according to claim 2; characterized in that: In the module 2, the custom compressed instruction set is abbreviated as FP-inst; FP-inst includes the following fields: 4-bit ptn-flag, 2-bit opcode, 34-bit addr, 5-bit vsize, 32-bit weight, 4-bit GnRtag and 1-bit last-flag. This 82-bit FP-inst is compatible with the standard 84-pin command / address and data interface; each of their memory controllers can transmit two instructions at double data rate in one DDR cycle.
4. The recommendation model reasoning acceleration system according to claim 3; characterized in that: In the module 3, in order to realize Bank-group level parallelism, for DPE, it is the same as Rank level DPE; for RPE, it moves the multiplication operation to BGPE, and its function and architecture are similar to DPE; RPE is responsible for further distributing instructions to BGPE and processing partial sums from BGPE; the architecture of BGPE is consistent with the RPE architecture of Rank level parallelism, responsible for instruction decoding and generating standard DDR commands, data is calculated through the computing unit, and the final partial sum is transmitted to RPE; the computing unit supports multiplication and addition operations and splicing operations; in addition, the operation tables of DPE, RPE and BGPE are also updated accordingly.
5. The recommendation model reasoning acceleration system according to claim 4; characterized in that: In the module 4, the embedded table partition mode is P i To represent, i represents the number of shares into which the complete embedded vector is divided. For the Rank-level near-memory processing architecture, the inter-PE division method, that is, interleaving the vector across multiple PEs, includes 7 types: P1: The embedding table is divided horizontally, and each embedding vector is completely stored in a memory node; P C : Divide the embedding table into a number equal to the number of channels in the memory system; P D / C : Divide the embedded table into several DIMMs under a certain channel; P D : Divide the embedded table into all DIMMs in the entire memory system; P R / D : Divide the embedded table into all ranks under a certain DIMM; P R / C : Divide the embedding table into all ranks under a certain channel; P R : Divide the embedding table into all ranks in the entire memory system, i.e. vertical partitioning; There are four ways to divide PE (intra-PE): P BG / R : Divide the embedded table into all Bank-Groups in a certain Rank; P BG / D : Divide the embedded table into all Bank-Groups in a DIMM; P BG / C : Divide the embedding table into all Bank-Groups under a certain channel; P BG : Divide the embedded table into all Bank-Groups in the entire memory system.
6. The recommendation model reasoning acceleration system according to claim 5; characterized in that: In the module 5, before the near memory processing hardware and software architecture runs the inference of the recommended model, the host selects the most appropriate optimal partitioning strategy for each embedding table according to the current memory configuration and embedding dimension; To this end, the host decides an optimal partitioning strategy for each embedded table based on the actuality of the workload; The host generates random floating point numbers in the embedding table address range to complete the initialization of the embedding table, and then samples a small number of batches of GnR indexes from historical runs as pre-analysis workload; The near memory unit will traverse all partitioning strategies, perform these GnR operations, and count the execution time of each embedding table; When all partitioning strategies are completed, based on the statistical results, the partitioning strategy of each embedded table is set to the partitioning strategy with the shortest execution time.
7. The recommendation model reasoning acceleration system according to claim 6; characterized in that: In the module 6, in order to ensure that the embedded vectors in different partitioning modes do not have address overlap in the memory, the address mapping conflict is avoided by setting the allocation granularity of the address space; in different partitioning strategies, the Row field always corresponds to the highest bit of the address, and only other fields change; by changing the memory field lower than the Column in the address mapping, the placement of the vector can be changed.
Citation Information
Cited By
Distributed recommendation method and system based on near data processing
CN119127727A
Software Runtime Assisted Co-Processing Acceleration with a Memory Hierarchy Augmented with Compute Elements
US20250307180A1
