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

调tensorflow的函数会卡住 #11

Open
hxsnow10 opened this issue Dec 1, 2017 · 2 comments
Open

调tensorflow的函数会卡住 #11

hxsnow10 opened this issue Dec 1, 2017 · 2 comments

Comments

@hxsnow10
Copy link

hxsnow10 commented Dec 1, 2017

直接用thrift没问题;用HARPC就不行

这个问题对算法上服务影响很大

@dsfan
Copy link
Collaborator

dsfan commented Dec 29, 2017

harpc传输时,使用的就是thrift协议,如果thrift没问题,那么harpc肯定也没有问题。
问题可能出在:1、算法的耗时比较久,可能导致harpc超时 2、使用的一些依赖库上可能有冲突
具体问题要具体分析,方便的话,你可以更具体的描述下你的问题,给一些数据看看

@linjiexu
Copy link

感觉可能是 tensorflow 里面是用多进程实现的。我试了一下用 HARPC 封装 python 多进程程序,也跑不起来。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants