Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/TensorRT-LLM
/ App
Class
App
tests/unittest/executor/test_rpc.py:384–387 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
382
def
test_rpc_shutdown_server():
383
384
class
App:
385
386
def
hello(self):
387
return
"world"
388
389
addr = get_unique_ipc_addr()
390
server = RPCServer(App())
Callers
15
test_rpc_server_basics
Method · 0.70
test_remote_call_without_arg
Method · 0.70
test_remote_call_with_args
Method · 0.70
test_remote_call_with_kwargs
Method · 0.70
test_remote_call_with_args_and_kwargs
Method · 0.70
test_rpc_server_address
Method · 0.70
test_rpc_with_error
Method · 0.70
test_rpc_without_wait_response
Method · 0.70
test_multi_client_to_single_server
Method · 0.70
test_task_error
Method · 0.70
test_shutdown_cancelled_error
Method · 0.70
test_timeout_error
Method · 0.70
Calls
no outgoing calls
Tested by
15
test_rpc_server_basics
Method · 0.56
test_remote_call_without_arg
Method · 0.56
test_remote_call_with_args
Method · 0.56
test_remote_call_with_kwargs
Method · 0.56
test_remote_call_with_args_and_kwargs
Method · 0.56
test_rpc_server_address
Method · 0.56
test_rpc_with_error
Method · 0.56
test_rpc_without_wait_response
Method · 0.56
test_multi_client_to_single_server
Method · 0.56
test_task_error
Method · 0.56
test_shutdown_cancelled_error
Method · 0.56
test_timeout_error
Method · 0.56