Processing long temporal sequences is a key challenge in deep learning. In recent years, Transformers have become state-of-the-art for this task, but suffer from excessive memory requirements due to the need to explicitly store the sequences. To address this issue, structured state-space sequential (S4) models recently emerged, offering a fixed memory state while still enabling the processing of very long sequence contexts. The recurrent linear update of the state in these models makes them highly efficient on modern graphics processing units (GPU) by unrolling the recurrence into a convolution. However, this approach demands significant memory and massively parallel computation, which is only available on the latest GPUs. In this work, we aim to bring the power of S4 models to edge hardware by significantly reducing the size and computational demand of an S4D model through quantization-aware training, even achieving ternary weights for a simple real-world task. To this end, we extend conventional quantization-aware training to tailor it for analog in-memory compute hardware. We then demonstrate the deployment of recurrent S4D kernels on memrisitve crossbar arrays, enabling their computation in an in-memory compute fashion. To our knowledge, this is the first implementation of S4 kernels on in-memory compute hardware.
The University of Hong Kong(香港大学);Hewlett Packard Labs, Hewlett Packard Enterprise(慧与(HPE)惠普实验室);University of Notre Dame(圣母大学);Forschungszentrum Jülich GmbH(于利希研究中心);RWTH Aachen University(亚琛工业大学)
Self-Organising Memristive Networks as Physical Learning Systems
Theoretical Division (Condensed Matter and Complex Systems, T-4)(洛斯阿拉莫斯国家实验室理论部);Advanced Materials Metrology and Life Sciences Division, INRiM (Istituto Nazionale di Ricerca Metrologica)(先进材料计量与生命科学部,INRiM(意大利国家计量研究院));University of California, Los Angeles, California NanoSystems Institute(加州大学洛杉矶分校,加州纳米系统研究所);Department of Applied Science and Technology, Politecnico di Torino(托里尼 Politecnico 工程技术系);The MacDiarmid Institute for Advanced Materials and Nanotechnology, School of Physical and Chemical Sciences, Te Kura Mate, University of Canterbury(麦克迪尔马特高级材料与纳米技术研究所,坎特伯雷大学物理与化学科学学院,Te Kura Mate);School of Physics, Sydney Nano Institute and Centre for Complex Systems, University of Sydney(悉尼大学物理学院,悉尼纳米研究所和复杂系统中心)
From Bits to Chips: An LLM-based Hardware-Aware Quantization Agent for Streamlined Deployment of LLMs
The University of Arizona(亚利桑那大学);Clemson University(克莱姆森大学);University of Georgia(佐治亚大学);The University of Tulsa(塔尔萨大学);Northeastern University(东北大学);Western Digital Corporation(西部数据公司)
FusionAI: Decentralized Training and Deploying LLMs with Massive Consumer-Level GPUs
Hong Kong Baptist University(香港浸会大学);Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳));Northeastern University(东北大学);National University of Singapore(新加坡国立大学);XGRIDS;HKUST(GZ)(香港科技大学(广州))