首页 | 本学科首页   官方微博 | 高级检索  
     

基于RISC-V架构的强化学习容器化方法研究
引用本文:徐子晨,崔傲,王玉皞,刘韬.基于RISC-V架构的强化学习容器化方法研究[J].计算机工程与科学,2021,43(2):266-273.
作者姓名:徐子晨  崔傲  王玉皞  刘韬
作者单位:(南昌大学信息工程学院,江西 南昌 330031)
基金项目:国家重点研发计划;国家自然科学基金;中科院计算机体系结构国家重点实验室开放课题;国家核高基
摘    要:RISC-V作为近年来最热门的开源指令集架构,被广泛应用于各个特定领域的微处理器,特别是机器学习领域的模块化定制.但是,现有的RISC-V应用需要将传统软件或模型在RISC-V指令集上重新编译或优化,故如何能快速地在RISC-V体系结构上部署、运行和测试机器学习框架是一个亟待解决的技术问题.使用虚拟化技术可以解决跨平台...

关 键 词:虚拟化  神经网络  RISC-V
收稿时间:2020-05-03
修稿时间:2020-07-06

A containerization method for reinforcement learning based on RISC-V architecture
XU Zi-chen,CUI Ao,WANG Yu-hao,LIU Tao.A containerization method for reinforcement learning based on RISC-V architecture[J].Computer Engineering & Science,2021,43(2):266-273.
Authors:XU Zi-chen  CUI Ao  WANG Yu-hao  LIU Tao
Affiliation:(School of Information Engineering,Nanchang University,Nanchang 330031,China )
Abstract:As the hottest open-source instruction set architecture in recent years, RISC-V is widely used in a variety of domain-specific microprocessors, especially for modular customization in the field of machine learning. However, existing RISC-V applications require recompilation or optimization of legacy software or models on the RISC-V instruction set. Therefore, how to rapidly deploy, run, and test machine learning frameworks on RISC-V architectures is a pressing technology challenges. The use of virtualization technology can solve the problem of deploying and running models across platforms. However, traditional virtualization techniques, such as virtual machines, are often not applicable to RISC-V architecture scenarios due to their high performance requirements for native systems, high resource footprint, and slow operational response. Discussion of reinforcement learning virtualization on resource-constrained RISC-V architectures. Firstly, by adopting containerization technology, reducing the cost of virtualization for upper-level software builds, removing redundant middleware, and customizing namespaces to isolate specific processes, we effectively improve the resource utilization for learning tasks and achieve the rapid execution of model training. Secondly, the features of the RISC-V instruction set are used to further optimize the upper neural network model and optimize the reinforcement learning efficiency. Finally, a system prototype of the overall optimization and containerization method is implement- ed and the performance evaluation of the prototype is completed by testing multiple benchmark test sets. Containerization techniques enable the rapid deployment and operation of more complex and deep learning software frameworks at a relatively small additional performance cost, compared to traditional methods of cross-compiling deep neural network models in RISC-V architectures. RISC-V based models have approximate deployment time and reduce substantial performance losses compared to the hypervisor VM method. Preliminary experimental results demonstrate that containerization and the optimization method on it are an effective way to achieve the rapid deployment of software and learning models based on RISC-V architecture.
Keywords:virtualization  neural network  RISC-V  
本文献已被 万方数据 等数据库收录!
点击此处可从《计算机工程与科学》浏览原始摘要信息
点击此处可从《计算机工程与科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号