Skip to content
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

Add relu cudnn kernel #9207

Closed
wants to merge 2 commits into from
Closed

Conversation

Xreki
Copy link
Contributor

@Xreki Xreki commented Mar 19, 2018

No description provided.

@Xreki Xreki requested a review from kexinzhao March 19, 2018 12:11
Copy link
Contributor

@kexinzhao kexinzhao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The following error message suggests that there are some kernel registration issue.

	Traceback (most recent call last):
[16:34:00]	  File "test_understand_sentiment.py", line 17, in <module>
[16:34:00]	    import paddle.fluid as fluid
[16:34:00]	  File "/paddle/build/python/build/lib-python/paddle/fluid/__init__.py", line 17, in <module>
[16:34:00]	    import framework
[16:34:00]	  File "/paddle/build/python/build/lib-python/paddle/fluid/framework.py", line 22, in <module>
[16:34:00]	    from . import core
[16:34:00]	ImportError: /paddle/build/python/build/lib-python/paddle/fluid/core.so: undefined symbol: _Z36TouchOpKernelRegistrar_sigmoid_CUDNNv

@Xreki
Copy link
Contributor Author

Xreki commented Mar 21, 2018

@kexinzhao 需要在cmake里面注册CUDNN类型的kernel,我之前只在c++的inference接口里面测试过,所以相应内容还没添加。

@Xreki Xreki added the 预测 原名Inference,包含Capi预测问题等 label Mar 21, 2018
@Xreki Xreki changed the title Add relu cudnn op Add relu cudnn kernel Mar 22, 2018
@Xreki Xreki added this to Performance Tuning (DOING) in Inference Framework Apr 3, 2018
@Xreki Xreki closed this Feb 28, 2019
@Xreki Xreki deleted the core_cudnn_activation branch October 29, 2019 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
预测 原名Inference,包含Capi预测问题等
Projects
No open projects
Inference Framework
Performance Tuning (DOING)
Development

Successfully merging this pull request may close these issues.

None yet

2 participants