60 TOPS Edge AI Computing Architecture Based on RVA23 RISC-V: A Technical Overview

    This article examines a homogeneous fused edge computing architecture built on the RVA23 RISC-V standard, which integrates general-purpose processing and 60 TOPS of AI compute under a single instruction set. It covers the architecture design, engineering optimizations for LLM inference, software stack and OS-level scheduling, cloud-edge resource governance, and application scenarios such as embodied robotics and intelligent video analytics. Readers will gain a clear understanding of how co-designing hardware and software around a unified RISC-V ISA addresses the compute, memory, and deployment challenges of edge AI.

    1. Introduction: New Demands on Edge AI and the RISC-V Opportunity

    As AI workloads continue to move from the cloud to the edge, compute demands on edge devices are growing exponentially. In emerging scenarios such as large language models (LLMs) and embodied intelligent robots, edge devices must not only handle traditional general-purpose control logic but also take on heavy AI inference workloads. Conventional heterogeneous architectures, such as a CPU paired with a discrete NPU, can deliver high peak performance, but they often suffer from significant data-transfer overhead across compute domains, fragmented programming models, and complex system scheduling.

    Against this backdrop, the RISC-V instruction set architecture (ISA), with its open, modular, and extensible nature, offers a fresh path for edge computing architecture innovation. This article takes an in-depth look at an edge computing subsystem architecture based on the RVA23 RISC-V standard. The system adopts a “homogeneous fusion” paradigm, integrating 60 TOPS of AI compute under a single instruction set, and provides a system-level solution for edge AI deployment through deep hardware-software co-design.

    2. Homogeneous Fusion: Breaking the Barrier Between General-Purpose and AI Computing

    The core innovation of this edge computing subsystem is its homogeneous fusion architecture. In traditional designs, general-purpose computing and AI acceleration rely on different underlying architectures, forcing developers to maintain two separate toolchains. This system instead builds two clusters with different functional focus under one unified RISC-V ISA:

    1. High-performance general-purpose compute cluster: Dedicated to OS scheduling, network protocol stacks, complex business logic, and traditional scalar workloads. With high clock frequencies and strong branch prediction, it ensures smooth baseline system operation.
    2. AI-first compute cluster: Deeply extended and optimized for tensor operations and matrix multiplication, focused on high-throughput neural network inference, with design choices specifically tailored to the characteristics of Transformer-based large models.

    By sharing a unified RISC-V ISA, the two clusters work together under a single Linux operating system. This homogeneous design greatly reduces the overhead of cross-architecture data movement, and developers can build code with a unified compiler and toolchain, significantly improving development efficiency and system maintainability.

    3. Applying the RVA23 Standard: Engineering Implementation

    The system fully adopts the RVA23 standard, a major milestone for RISC-V in the application processor domain. RVA23 includes the foundational scalar and vector extensions as well as optimized instructions targeting high-performance computing and AI workloads.

    The biggest engineering challenge is extracting maximum compute efficiency under the strict power and area constraints of edge devices. To achieve this, the design team applied several microarchitectural optimizations:

    • Efficient memory subsystem: To address the memory bandwidth bottleneck in LLM inference, the design uses large, high-bandwidth on-chip caches and low-latency memory interfaces, ensuring the AI cluster is not memory-bound when processing large parameter sets.
    • Compute slicing and dynamic scheduling: Compute units within the AI cluster support dynamic configuration and can be flexibly reorganized according to the compute demands of different model layers, supporting both highly concurrent small-model inference and low-latency large-model generation.
    • Low-precision compute support: Native support for INT8, INT4, and even lower-precision instructions boosts effective compute to 60 TOPS without significant accuracy loss, meeting the stringent energy efficiency requirements of edge devices.

    4. Hardware-Software Co-Design for LLM Inference

    Running large language models at the edge is a demanding engineering task. Rather than relying solely on hardware scaling, the system provides a complete software stack spanning low-level operator libraries to upper-layer frameworks.

    1. Memory optimization: To tackle the large KV-Cache footprint during LLM inference, the software stack implements fine-grained memory pool management. Paged KV-Cache management with intelligent swapping allows models with billions of parameters to run smoothly within limited edge physical memory.
    2. Aggressive operator optimization: For the attention mechanism and linear layer computations in Transformer architectures, the development team hand-wrote highly optimized operator libraries using RISC-V vector extension instructions, fully exploiting the parallel compute capability of the AI cluster.
    3. Quantization-aware deployment: A one-click model quantization tool converts FP16 models trained in the cloud into INT8/INT4 formats for edge deployment, deeply aligned with the hardware compute units for plug-and-play use.

    5. OS Scheduling and Cloud-Edge-Device Resource Governance

    To fully exploit the homogeneous fusion architecture, the system is deeply customized and optimized at the operating system level. Under a single Linux kernel, an extended scheduler provides unified awareness and dynamic allocation across the general-purpose and AI compute clusters.

    For resource governance, the system supports container-based isolation. In multi-task concurrent scenarios, mechanisms such as cgroups can precisely limit each container’s CPU time slices and AI compute quotas, ensuring real-time guarantees for critical tasks. For cloud-edge collaboration, the platform can be integrated with container platforms and object storage services such as those offered by Baidu AI Cloud to enable centralized model weight management, version control, and secure delivery and hot updates to edge nodes. Edge devices focus solely on inference execution, while complex model training and orchestration are handled in the cloud, forming a complete cloud-edge-device AI governance loop.

    6. Application Scenarios and Outlook

    This high-compute, low-power edge computing subsystem with a unified architecture shows strong potential across several frontier domains:

    • Embodied intelligent robots: Robots must simultaneously handle visual perception, path planning, voice interaction, and joint control. This system can carry all these heterogeneous tasks on a single chip, simplifying board-level complexity.
    • Intelligent video analytics: In smart city and industrial inspection scenarios, it can process structured analysis of multiple high-definition video streams in parallel, leveraging high AI compute for real-time recognition of complex behaviors.
    • Edge knowledge Q&A nodes: Serving as private on-premises LLM inference nodes, they provide low-latency intelligent Q&A services while keeping data within the enterprise domain.

    In summary, the RVA23 RISC-V based homogeneous fusion edge computing architecture, through deep hardware-software co-design, offers a highly valuable path to overcoming edge AI compute bottlenecks. It balances high performance and energy efficiency at the hardware level while establishing a complete end-to-end pipeline from device to cloud in software ecosystem and system governance, laying a solid foundation for the widespread adoption of future intelligent devices.