We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69014b6 commit c967b70Copy full SHA for c967b70
1 file changed
backends/nxp/runtime/NeutronBackend.cpp
@@ -290,6 +290,10 @@ class NeutronBackend final : public PyTorchBackendInterface {
290
291
auto* cfg = allocator->allocateInstance<NeutronExecutorchConfig>();
292
293
+ // allocateInstance returns raw, uninitialized memory (no constructor runs),
294
+ // so set the driver-config timeout explicitly.
295
+ cfg->mcfg.timeoutSeconds = 60;
296
+
297
// The following data is read from the "processed" data blob.
298
// cfg->numInputs
299
// cfg->numoutputs
@@ -673,4 +677,4 @@ static auto registered = register_backend(backend_id);
673
677
} // namespace
674
678
} // namespace neutron
675
679
} // namespace executor
676
-} // namespace torch
680
+} // namespace torch
0 commit comments