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

Release the symmetric-memory references held for an IPC workspace.

Kept for backwards compatibility with existing callers. The legacy trtllm_create_ipc_workspace_for_all_reduce it was originally paired with has been removed; use trtllm_destroy_ipc_workspace_for_all_reduce_fusion() for workspaces created by trtllm_create_ipc_workspace_for_all_reduce_fusion. The two are behaviourally identical.

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.