We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47e71e0 commit 1acb956Copy full SHA for 1acb956
src/infer_response.cc
@@ -169,7 +169,8 @@ InferResponse::LoadFromSharedMemory(
169
response_shm.data_.get() + sizeof(ResponseShm));
170
{
171
#ifdef TRITON_PB_STUB
172
- // Need to acquire the GIL to avoid hangs.
+ // PbTensor::LoadFromSharedMemory() will construct Python objects if
173
+ // called from pb_stub, which requires holding the GIL.
174
py::gil_scoped_acquire acquire;
175
#endif
176
for (size_t idx = 0; idx < requested_output_count; ++idx) {
0 commit comments