I see the source code File : "python3.8/site-packages/bentoml/_internal/runner/runner_handle/remote.py"
there is 'anyio' library difference from 'local.py'.
In 'remote.py'. return t.cast(
"R",
anyio.from_thread.run(
self.async_run_method,
__bentoml_method,
*args,
**kwargs,
)
In 'local.py'. return getattr(self._runnable, __bentoml_method.name)(*args, **kwargs)