mxnet
mxnet copied to clipboard
[v1.x] Lock Executor Binding in C Predic API
fixes https://github.com/apache/incubator-mxnet/issues/20296
This pr adds a lock to (lazy) executor binding in MXPredForward
to improve thread safety in multi-threaded inference use cases
Hey @Zha0q1 , Thanks for submitting the PR All tests are already queued to run once. If tests fail, you can trigger one or more tests again with the following commands:
- To trigger all jobs: @mxnet-bot run ci [all]
- To trigger specific jobs: @mxnet-bot run ci [job1, job2]
CI supported jobs: [centos-cpu, windows-gpu, sanity, unix-cpu, website, edge, centos-gpu, clang, miscellaneous, unix-gpu, windows-cpu]
Note: Only following 3 categories can trigger CI :PR Author, MXNet Committer, Jenkins Admin. All CI tests must pass before the PR can be merged.