MpiCommSession#
- class tensorrt_llm.llmapi.MpiCommSession(comm=None, n_workers: int = 1)[source]#
Bases:
MpiSession- abandon()#
Tear the session down without waiting on a dead worker world.
- is_comm_session() bool#
- release_exit_joins()#
Mark the worker world dead and release anything that would join it.
Non-destructive, so it may be called by a component that does not own the session. Must not tear the session down – only ensure that nothing (interpreter exit, a later blocking
shutdown()by the owner) waits forever on the dead world. Default: no-op.
- shutdown_abort(grace: float = 60, reason=None)#