Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API,FAQ,Github Issue and AI community to get the answer.Have a nice day!
4条答案
按热度按时间mgdq6dx11#
您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档、常见问题、历史Issue、AI社区来寻求解答。祝您生活愉快~
Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API,FAQ,Github Issue and AI community to get the answer.Have a nice day!
yhxst69z2#
请问您参考的文档具体是哪一篇呢?
eblbsuwk3#
您好! 参考的是: https://github.com/PaddlePaddle/docs/blob/release/1.2/doc/fluid/getstarted/Developer%27s_Guide_to_Paddle_Fluid.md 第五部分 Chen Long***@***.***> 于2021年6月30日周三 上午9:06写道:…
请问您参考的文档具体是哪一篇呢? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#33833 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ARSHHEP6BO65BNLCBNXZFRDTVJUZDANCNFSM47PPPZ6Q> .
xqnpmsa84#
@ssslvky 根据这个文档,添加一个新的硬件需要执行三步,其中:
第一步:要在Paddle源码中添加新的设备
文档这里只是一个简单描述,实际需要在paddle/fluid/platform下修改大量代码来接入新硬件的driver/runtime api,不仅仅是devicecontext,还有包括设备的stream/event/memory等管理,使得新的硬件能作为一个计算资源被Paddle进行识别和调度,以CUDA为例,Paddle需要CUDA的dirver/runtime API来对训练作业进行调度,仅在API层面添加一个新的newPlace是无法实现Paddle支持一个新的硬件设备的。
第二步 & 第三步:开发对应硬件的算子Kernel
这里也需要针对新的硬件开发对应的算子kernel,例如通过CUDA Kernel写GPU的算子,才能运行在CUDAPlace上。否则就会出现kernel not found的错误。
请问您是想要支持什么类型的新型硬件设备呢?