Researchers at Peking University have built the first photonic computing cluster capable of running billion-parameter large language models, computer vision tasks, and large-scale fast Fourier transforms for signal processing. The team’s architecture, detailed in a recent paper, achieves up to a 3-orders-of-magnitude increase in model scale compared to previous photonic systems through a novel hardware-software co-design featuring a “full-stack, graphics processing unit (GPU)-like opto-electronic compute card.” This system not only demonstrates scalable photonic computing with multiple cards but also maintains stable operation for at least 30 days, establishing “a generalizable and robust architecture that gives photonic computing GPU-like generality and usability.”
GRAPE Architecture Enables Scalable Photonic Computing
The Gazelle compute card forms the physical foundation of GRAPE, a new photonic computing architecture developed to bridge the gap between photonic speed and electronic precision. This full-stack card operates across application, operator, middleware and hardware layers, validating both the architecture and its execution algorithm, and serving as a base for diverse AI and numerical computing tasks. Central to this design is an operator layer exposing primitives that provide a convenient interface for workload processing, enabling robust and scalable general-purpose computation.
GRAPE employs a photonic-aware quantization scheme that accounts for the inherent noise characteristics of photonic computing, alongside a hybrid workload distribution between photonic and electronic components. This approach allows the system to achieve strong performance with a relatively small matrix-vector multiplication size, avoiding costly hardware corrections while maintaining minimal cost.
The architecture reinforces a core principle for scalable photonic computing: integrating photonic speed and energy efficiency with electronic precision and flexibility, rather than attempting to replace electronics entirely. GRAPE’s adaptability and robustness position it as a potential contributor to the future of AI and high-performance computing, moving beyond niche demonstrations toward a more widely applicable technology.
Photonic-Aware Quantization and Hybrid Workload Distribution
This approach addresses limitations of previous photonic systems, which struggled with both scale and precision, and allows for the deployment of full-precision artificial intelligence and numerical workloads. The GRAPE algorithm uses hardware-in-the-loop noise modeling during model training, producing weights intrinsically robust to hardware imperfections. Researchers used a photonic hardware simulator, LTSimulator, to reconstruct linear operators via simulated matrix multiplications, enabling a hardware-optimized training loop. This co-design of algorithm and hardware is central to GRAPE’s performance, allowing it to overcome major challenges previously hindering photonic computing, including limited precision and sensitivity to environmental perturbations.
Billion-Parameter LLM Implementation on Photonic Hardware
Performance on these diverse workloads achieves accuracies comparable to 32-bit floating-point computations on conventional central and graphics processing units, as verified through extensive testing. The system’s design prioritizes a high photonic computing ratio, reaching up to 99%, while minimizing electronic computation to maintain both strong performance and high efficiency. A unified architecture spanning hardware to application layers is central to this advancement, mapping workloads onto calibrated photonic-electronic execution through pre-defined linear operators.
This approach uses a division of labor where photonic hardware accelerates compute-dense linear operations, while electronics handles accurate, programmable and versatile general-purpose processing. The researchers note this aligns well with the demands of many modern artificial intelligence workloads, which often exhibit high arithmetic intensity and can tolerate reduced numerical precision.
Consequently, the trained low-bit model intrinsically develops a targeted noise robustness, effectively immunizing the weights against expected physical imperfections before deployment. This achievement marks a leap in the complexity of computations possible with photonic systems, exceeding the scale of previous designs by up to three orders of magnitude.
GRAPE Bridges Gap Between Photonic and Electronic Computing
GRAPE, a newly developed photonic computing architecture, addresses limitations of earlier systems by enabling scalable computation across a broad range of tasks, from computer vision to numerical analysis. The system overcomes previous barriers stemming from substantial hardware overhead and difficulty matching the performance of modern electronic systems, achieving general-purpose and robust computation on real-world photonic hardware with minimal electronic assistance.
At its core, GRAPE uses a hybrid opto-electronic quantization and distribution algorithm deployed on a full-stack, GPU-like opto-electronic compute card. The team’s algorithm, GRAPE, employs a unified approach consisting of this quantization and distribution, enabling efficient and accurate execution of workloads with minimal electronic assistance.
The findings position GRAPE as a general-purpose and robust architecture, bridging a substantial gap between photonic and electronic computing for general tasks. “GRAPE defines an architecture for efficiently deploying full-precision AI and numerical workloads onto hybrid photonic–electronic hardware,” the researchers write, detailing how the system’s core algorithm is instantiated differently depending on training accessibility.
This co-design approach, combining algorithm and hardware, is intended to empower a standard photonic computing platform and unlock its potential for a wider range of applications, moving beyond the limitations of previously demonstrated photonic systems. The system’s ability to handle full-precision workloads on a hybrid platform represents a step toward practical, scalable photonic computing.
Full-Stack Opto-Electronic Compute Card Design
This card incorporates a physical base for execution and an operator layer, exposing a set of primitives intended to simplify workload invocation and processing for users. The operator layer provides a convenient interface, allowing diverse tasks to access the card’s capabilities without requiring detailed knowledge of the underlying hardware. This approach mirrors the structure of modern graphics processing units (GPUs), aiming to provide a familiar and scalable computing paradigm.
A key element of the system is its ability to sustain long-term stable operation, demonstrated by a continuous run lasting at least 30 days, a feat previously challenging for photonic computing systems. Maintaining stability is critical for practical applications, and this extended operation confirms the robustness of the hardware and the effectiveness of the control mechanisms.
This balance is essential for maximizing energy efficiency and speed, the primary advantages of photonic computing. The ability to achieve accuracies comparable to 32-bit (FP32) computations on conventional CPUs and GPUs represents a step toward practical photonic computing, overcoming previous limitations in precision and scale. The team demonstrated this capability using a parallel photonic computing cluster built from multiple compute cards, achieving scalable photonic computing performance.
CV and Generative AI Acceleration via GRAPE
Performance data indicates that the system achieves 99.53% accuracy in FFT computations, and demonstrates comparable results on U-Net for COVID-19 detection and Qwen2.5-3B for MMLU accuracy, as measured against 32-bit floating-point GPU benchmarks. The hardware foundation for this is a full-stack compute card integrating the photonic computing unit, electronic computing unit, memory and mixed-signal modules, all at the printed circuit board level.




See today’s quantum computing news on Quantum Zeitgeist for the latest breakthroughs in qubits, hardware, algorithms, and industry deals.
