core.resharding.nvshmem_copy_service.nvshmem_types#
Module Contents#
Classes#
Container for a send operation request. |
|
Container for a receive operation request. |
|
Container for a group of send requests to a specific destination PE. |
|
Metadata for a scheduled communication batch. |
|
Summary of a workload group for communication with other PEs. |
|
GPU-resident metadata for communication tasks. |
Data#
API#
- core.resharding.nvshmem_copy_service.nvshmem_types.MAX_SEGMENT_SIZE#
None
- core.resharding.nvshmem_copy_service.nvshmem_types.MAX_TASKS_PER_BATCH#
10000
- class core.resharding.nvshmem_copy_service.nvshmem_types.SendRequest#
Container for a send operation request.
- task_id: int#
None
- src_tensor: Any#
None
- src_pos: int#
None
- size: int#
None
- dest_pe: int#
None
- class core.resharding.nvshmem_copy_service.nvshmem_types.ReceiveRequest#
Container for a receive operation request.
- task_id: int#
None
- dest_tensor: Any#
None
- dest_pos: int#
None
- size: int#
None
- src_pe: int#
None
- class core.resharding.nvshmem_copy_service.nvshmem_types.WorkloadGroup#
Container for a group of send requests to a specific destination PE.
- dest_pe: int#
None
- tasks: List[core.resharding.nvshmem_copy_service.nvshmem_types.SendRequest]#
‘field(…)’
- total_size: int#
0
- class core.resharding.nvshmem_copy_service.nvshmem_types.ScheduledBatch#
Metadata for a scheduled communication batch.
- src_pe: int#
None
- dest_pe: int#
None
- batch_index: int#
None
- iteration: int#
None
- gpu_plan: Any#
None
- tasks: List[core.resharding.nvshmem_copy_service.nvshmem_types.SendRequest]#
‘field(…)’
- total_size: int#
0
- tasks_summary: Any#
None