跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

物理学 > 应用物理

arXiv:2509.16443 (physics)
[提交于 2025年9月19日]

标题:LightCode: Compiling LLM Inference for Photonic-Electronic Systems

作者:Ryan Tomich, Zhizhen Zhong, Dirk Englund
查看论文《LightCode: Compiling LLM Inference for Photonic-Electronic Systems》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The growing demand for low-latency, energy-efficient inference in large language models (LLMs) has catalyzed interest in heterogeneous architectures. While GPUs remain dominant, they are poorly suited for integration with emerging domain-specific accelerators like the Photonic Tensor Units (PTUs), which offer low-power, high-throughput linear computation. This motivates hybrid compilation strategies that combine photonic and electronic resources. We present LightCode, a compiler framework and simulator for mapping LLM inference workloads across hybrid photonic-electronic systems. LightCode introduces the Stacked Graph, an intermediate representation that encodes multiple hardware-specific realizations of each tensor operation. Hardware assignment is formulated as a constrained subgraph selection problem optimized for latency or energy under parametric cost models. We evaluate LightCode on the prefill stage of GPT-2 and Llama-7B showing that under our workload and hardware assumptions, (i) Photonic hardware reduced energy by up to 50% in our simulated workloads at maximum sequence length; (ii) multiplexing and assignment strategy yielded latency improvements exceeding 10x; and (iii) Optimizing for latency or energy resulted in distinct hardware mappings in our simulations. LightCode offers a module, foundational framework and simulator for compiling LLMs to emerging photonic accelerators.
评论: 9 pages, 8 figures
主题: 应用物理 (physics.app-ph); 人工智能 (cs.AI); 程序设计语言 (cs.PL)
引用方式: arXiv:2509.16443 [physics.app-ph]
  (或者 arXiv:2509.16443v1 [physics.app-ph] 对于此版本)
  https://doi.org/10.48550/arXiv.2509.16443

提交历史

来自:Ryan Tomich
[v1] 2025年9月19日 星期五 21:45:26 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

physics.app-ph
< 上一篇   |   下一篇 >
最新 | 近期 | 2025-09
切换浏览方式为:
physics
cs.AI
cs.PL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站