-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
paddle2.3 profiler性能分析组件添加后报错 #42828
Comments
您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网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! |
您好,麻烦排查以下问题: |
这个报错你们可以在aistudio上也可以复现的 |
1 similar comment
这个报错你们可以在aistudio上也可以复现的 |
您好,您在本地的时候 export LD_LIBRARY_PATH=/usr/local/cuda/extras/CUPTI/lib64/:$LD_LIBRARY_PATH 加上这个链接库路径,profiler功能依赖于Nvidia的cupti library |
在aistudio上跑不了是因为权限问题,aistuidio目前环境用的cuda 10.1, 在stricted mode下,非root用户用不了cupti,见说明 https://developer.nvidia.com/nvidia-development-tools-solutions-err-nvgpuctrperm-cupti ,我们会联系aistudio相关同学看能否将环境设置为unstricted mode。 |
这个问题还是没有解决 |
已经一个月了 |
之前有联系过aistudio的同学,但是aistudio这个平台牵涉面比较广,这个环境问题没有这么容易做出改变,如果您本地有卡,您可以先在本地尝试跑下,或者只开启CPU的性能分析看看work不work |
您有安装cupti吗,可以按照上面说的链接cupti |
我本地环境也是conda管理的,用conda装的cudatoolkit不能用,必须要装cuda.run |
bug描述 Describe the Bug
required: gpu
import paddle.profiler as profiler
import paddle
paddle.version.show()
prof = profiler.Profiler(
targets=[profiler.ProfilerTarget.CPU, profiler.ProfilerTarget.GPU],
scheduler=(1, 9),
on_trace_ready=profiler.export_chrome_tracing('./log'))
prof.start()
for iter in range(10):
# train()
prof.step()
prof.stop()
##################################################################################################
aistudio报错提示
本地conda环境报错提示,而且本地指定过cudnn环境变量位置
其他补充信息 Additional Supplementary Information
No response
The text was updated successfully, but these errors were encountered: