Multithreading error. #11458
Replies: 11 comments
-
Thank you for submitting the issue! @sandeep-krishnamurthy requesting this be labeled. |
Beta Was this translation helpful? Give feedback.
-
I have the same issue where its hanging at https://github.com/apache/incubator-mxnet/blob/v1.2.0/src/engine/threaded_engine.cc#L395. I'm using v1.2.0, any fixes or updates? |
Beta Was this translation helpful? Give feedback.
-
More specifically, I'm running a server like the @nihilityworld and so far I've traced that the hanging is because:
|
Beta Was this translation helpful? Give feedback.
-
Had the same problem. But after we ran model.predict() once in the main thread, the hangers disappeared. Maybe this helps. |
Beta Was this translation helpful? Give feedback.
-
@mxnet-label-bot, [Thread Safety, Bug] |
Beta Was this translation helpful? Give feedback.
-
Had dead lock problem too using c_predict_api. |
Beta Was this translation helpful? Give feedback.
-
meet the same error. need help... @gartentrio can you describe the detail how to get it work? |
Beta Was this translation helpful? Give feedback.
-
Same issues on v1.5. Did someone find a solution to the problem? |
Beta Was this translation helpful? Give feedback.
-
Anyone found solution for this issue? |
Beta Was this translation helpful? Give feedback.
-
It seems that this problem is connected with: |
Beta Was this translation helpful? Give feedback.
-
I think that this issue is a serious bug, not question. |
Beta Was this translation helpful? Give feedback.
-
I have used the c_predict_api to build a predict api in the web. but when I conduct the pressure test using 50 requests in 1s, 49 return right result and 1 blocked(10 or 20 requests will also block 1 request). I find that it is blocked in MXPredSetInput and MXPredGetOutputI check the c_predict_api.cc and its include file. I find a unique_lock before a memcpy function and it will be unlock after the memcpy finished in MXPredSetInput and MXPredGetOutput. Why there is 1 request blocked? And how to slove it.
Beta Was this translation helpful? Give feedback.
All reactions