mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Enable querying the build and runtime NCCL versions (#156305)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/156305 Approved by: https://github.com/wconstab, https://github.com/Skylion007, https://github.com/fegin
This commit is contained in:
committed by
PyTorch MergeBot
parent
bc9bd2a766
commit
d4ad280429
@ -229,6 +229,7 @@ static std::map<at::ScalarType, ncclDataType_t> ncclDataType = {
|
||||
|
||||
TORCH_API size_t hashTensors(const std::vector<at::Tensor>& tensors);
|
||||
TORCH_API std::string getNcclVersion();
|
||||
TORCH_API std::tuple<int, int, int> getNcclVersionTuple();
|
||||
TORCH_API int getNcclVersionNumber();
|
||||
TORCH_API std::string ncclGetErrorWithVersion(ncclResult_t error);
|
||||
int nccl_nonblocking_timeout();
|
||||
|
Reference in New Issue
Block a user