Tensor Parallel Plugin Resources#
-
class TensorParallelPluginResources : public trt_edgellm::rt::MultiDevicePluginResources#
Own and register communication resources for single-process TP launch.
Threaded TP launch initializes all NCCL communicators in one process through ncclCommInitAll(), then registers the per-device communicator handles with the TensorRT plugin registry before rank-local engines are deserialized.
Public Functions
- explicit TensorParallelPluginResources(
- TensorParallelPluginResourcesConfig const &config
-
~TensorParallelPluginResources() noexcept override#
- TensorParallelPluginResources( ) = delete#
- TensorParallelPluginResources &operator=( ) = delete#
- TensorParallelPluginResources( ) = delete#
- TensorParallelPluginResources &operator=( ) = delete#
-
inline virtual ParallelType type() const noexcept override#
-
inline virtual int32_t size() const noexcept override#
- virtual RuntimeCollectiveResources const *runtimeCollectives(
- virtual bool hasAllReducePath(
- AllReducePathType type
-
virtual bool abortOwnedRuntimeCollectives() noexcept override#
-
struct TensorParallelPluginResourcesConfig#
Configuration for single-process TP plugin communication resources.