Key Takeaways: Moving compute closer to memory can reduce data movement, power consumption, and latency. Different AI workloads require different approaches to memory architecture, interconnects, and processing. Software support, standardization, and thermal management remain major barriers to wider adoption. The shift from AI training in data centers to AI inferencing at the edge will require a fundamental rethinking of where and how data is processed and stored, how it is prioritized, and what needs to be traded off in terms of power and performance to stay within a limited power budget. At the center of these efforts is a recognition that the explosion of data — especially in physical AI where data is being live-streamed from sensors — requires much of that data to be processed as close to memory as possible. This has been a topic of discussion since the inception of the Internet of Things, but it really began gaining traction with AI due to the flood of data and concerns about the amount of power required to move and process it. In battery-electric vehicles and drones, for example, the less energy spent on processing data, the greater the range per charge and the more energy that can be allocated to critical and not-so-critical functions. The challenge is understanding what data needs to be kept, what can be discarded, and what needs to be acted upon. Those are very different priorities. Making those choices requires advanced processing, and the quickest path to results using the least amount of energy is to minimize the distance data needs to travel between processing and memory. “The realities of these LLMs getting into physical devices are causing everyone to rethink how they architect their memory,” said Frank Ferro, group director for product management at Cadence . “Even with conventional memory — without even talking about processing in memory — how do I partition these models to maximize the performance both of the overall processor and memory subsystem?” Solving those issues will require several new approaches, such as processing near memory (PNM) and processing in memory (PIM), as well as improvements across multiple technologies and approaches. Compilers and operating systems will need to catch up, and standards will need to be established. “AI in the data center and all these large language models have been the focus of everyone’s attention for the last couple of years, and now these models have been trained and pushed out into the field, into the edge of the network and physical AI,” Ferro said. “The reality is you have limited compute power and limited memory.” AI inferencing at the edge presents different challenges than training AI models in AI data centers. “Training almost always involves highly variable memory access patterns, and mostly involves the use of interpreted code — for example, Python to PyTorch — which necessitates the complexities of coherence across layers of memory,” said Steve Roddy, chief marketing officer at Quadric . “Once inference begins, the use model changes dramatically. Whether you are looking at big LLMs running in a data center, or models running locally, such as smaller LLMs or VLAs (vision-language-action) in cars, the model is known before you run it. That means the data access patterns are known ahead of time. This is where ahead-of-time compilation can start to take great advantage of the various at-memory, processing-in-memory, or in-memory-compute (IMC) options. The system knows exactly where, when, and how the compute is going to occur. There is no need for one element of a compute solution to guess if something manipulated the data while it was in another memory subsystem, because the entire system orchestration was planned out hours, days, or weeks before, when the AI inference model was compiled.” Certain stages of the AI inference pipeline benefit from near-memory solutions more than others. “Pushing the compute into the DRAM or near the DRAM has interesting implica
Rethinking Memory For AI Inference
Processing data closer to memory could reduce power and boost performance, but software, thermal, and architectural challenges remain. The post Rethinking Memory For AI Inference appeared first on Semiconductor Engineering .
本站仅提供摘要,完整内容请阅读原文(版权归原媒体所有)
https://semiengineering.com/rethinking-memory-for-ai-inference/
相关阅读
12-05 05:02
12-05 00:47
12-05 00:00
12-04 21:53