flashinfer.comm.trtllm_destroy_ipc_workspace_for_all_reduce¶
- flashinfer.comm.trtllm_destroy_ipc_workspace_for_all_reduce(workspace: List[List[int]], group: ProcessGroup | None = None) None¶
Destroy a workspace created by trtllm_create_ipc_workspace_for_all_reduce.
Releases the symmetric memory references held internally. The workspace list should not be used after this call.
- Parameters:
workspace – The ipc_handles list returned by the create function.
group – Unused, kept for API compatibility.