Commit 1a8f132
Improve error message for unsupported NCCL mem allocator
Summary:
Updated error messages in TorchCommNCCL and TorchCommNCCLX to include
the CUDART version number when the NCCL memory allocator is not
supported. This provides better diagnostic information to users,
making it clearer which CUDA runtime version is causing the
incompatibility. The error message now displays "NCCL mem allocator is
not supported in CUDART version %d" instead of the generic "not
supported in this NCCL version" message.
Reviewed By: siyengar
Differential Revision: D88564927
fbshipit-source-id: 2daf1f8bc6435ba0612af8c25ee5e17ad7a5f65f1 parent 795248a commit 1a8f132
File tree
2 files changed
+6
-2
lines changed- comms/torchcomms
- ncclx
- nccl
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1435 | 1435 | | |
1436 | 1436 | | |
1437 | 1437 | | |
1438 | | - | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
1439 | 1441 | | |
1440 | 1442 | | |
1441 | 1443 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1776 | 1776 | | |
1777 | 1777 | | |
1778 | 1778 | | |
1779 | | - | |
| 1779 | + | |
| 1780 | + | |
| 1781 | + | |
1780 | 1782 | | |
1781 | 1783 | | |
1782 | 1784 | | |
| |||
0 commit comments