通过在IREE中启用RISC-V微内核支持加速GenAI工作负载
Accelerating GenAI Workloads by Enabling RISC-V Microkernel Support in IREE
AI总结:
本项目通过在IREE中为RISC-V64启用MLIR linalg contraction到linalg.mmt4d的lowering并开发优化微内核,加速GenAI工作负载,并在Llama-3.2-1B-Instruct模型上与上游IREE和Llama.cpp对比验证性能提升。
摘要:
本项目在IREE(一个基于MLIR的机器学习编译器与运行时)中启用RISC-V微内核支持。该方法首先在IREE的pass流水线中为RISC-V64目标启用将MLIR linalg方言的contraction操作lowering为linalg.mmt4d操作,随后为RISC-V开发优化的微内核。性能提升与上游IREE和Llama.cpp在Llama-3.2-1B-Instruct模型上进行了比较。
英文摘要:
This project enables RISC-V microkernel support in IREE, an MLIR-based machine learning compiler and runtime. The approach begins by enabling the lowering of MLIR linalg dialect contraction ops to linalg.mmt4d op for the RISC-V64 target within the IREE pass pipeline, followed by the development of optimized microkernels for RISC-V. The performance gains are compared with upstream IREE and Llama.cpp for the Llama-3.2-1B-Instruct model.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。