RuyiAI 是如意社区推出的 RISC-V 原生 AI 系统软件栈。我们采用“原生 + 适配”的双轮驱动战略:以 RISC-V 为核心目标架构构建原生组件体系,同时积极对接主流 AI 生态,提升 AI 在 RISC-V 平台上的可用性。
RuyiAI 以 PyTorch 和 MLIR 为两大生态锚点,重点建设 AI 编译器、AI 编程语言、AI 算子库和 AI 运行时环境等关键组件。项目支持 RVV、AME、IME 及高性能定制扩展,为 AI SoC、AI 加速器和 AI 主机服务器等多类计算平台提供统一的软件支撑。
我们的目标是建设开放、共享的 RISC-V for AI 公共开源平台,与产业界、学术界和开源社区共同推动 RISC-V AI 生态发展。
| 项目 | 定位 |
|---|---|
| Buddy Compiler | 基于 MLIR 的领域特定编译器基础设施,面向多种硬件后端与 AI 工作负载。 |
| Triton-RISCV | 面向 RISC-V 平台的 Triton 编程语言与编译器适配。 |
| TileLang-RISCV | 面向 RISC-V 平台的 TileLang 算子编程与优化。 |
| PyTorch | PyTorch 在 RISC-V 平台上的适配、优化与生态集成。 |
| LLVM | 面向 RISC-V AI 扩展的 LLVM 编译基础设施。 |
我们欢迎来自开发者、芯片厂商、研究机构和 AI 生态伙伴的贡献。你可以:
- 提交 Bug、兼容性问题或功能建议;
- 贡献 RISC-V 后端、算子实现、性能优化和测试;
- 改进文档、教程和示例;
- 分享 RISC-V AI 平台的适配经验与性能数据。
参与前请阅读组织的 贡献指南 和 行为准则。具体项目的贡献规则以其仓库内文档为准。
RuyiAI is an AI system software stack built natively for the RISC-V architecture. Initiated by the Ruyi Community, it follows a dual-track strategy: developing native components with RISC-V as the primary target while integrating with mainstream AI ecosystems to make AI workloads more accessible on RISC-V platforms.
Anchored in the PyTorch and MLIR ecosystems, RuyiAI focuses on AI compilers, programming languages, operator libraries, and runtime environments. It supports RVV, AME, IME, and custom high-performance extensions across AI SoCs, accelerators, and host servers.
RuyiAI aims to be an open, shared platform for RISC-V for AI, bringing together industry, academia, and the open-source community to build the RISC-V AI ecosystem.
Contributions of code, documentation, tests, platform enablement, and performance results are all welcome. Please refer to each project's documentation and contribution guide before opening an issue or pull request.