MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT-LLM / get_spawn_proxy_process_env

Function get_spawn_proxy_process_env

tensorrt_llm/executor/utils.py:43–45  ·  view source on GitHub ↗

Get the environment variable for the spawn proxy process dynamically.

()

Source from the content-addressed store, hash-verified

41
42
43def get_spawn_proxy_process_env() -> bool:
44 ''' Get the environment variable for the spawn proxy process dynamically. '''
45 return os.getenv(LlmLauncherEnvs.TLLM_SPAWN_PROXY_PROCESS) == "1"
46
47
48def create_mpi_comm_session(

Callers 5

__init__Method · 0.85
get_mpi_world_sizeFunction · 0.85
_create_mpi_sessionMethod · 0.85
create_mpi_comm_sessionFunction · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected