MCPcopy Create free account
hub / github.com/NVIDIA/FasterTransformer / init_nccl

Function init_nccl

examples/cpp/multi_gpu_gpt/gpt_example_utils.cc:274–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272}
273
274void init_nccl(const model_config_t& model_config, NcclParam& tensor_para, NcclParam& pipeline_para)
275{
276 // assume gpu_num = k * n,
277 // tensor parallelism group size is n
278 // pipeline parallelism group size is k
279 ftNcclInitialize(tensor_para, pipeline_para, model_config.tensor_para_size, model_config.pipeline_para_size);
280}
281cublasMMWrapper init_cublas_ctx(DataType data_type,
282 cudaStream_t& stream,
283 Allocator<AllocatorType::CUDA>& allocator,

Callers 1

multi_gpu_gpt_exampleFunction · 0.85

Calls 1

ftNcclInitializeFunction · 0.85

Tested by

no test coverage detected