True if NCCL was built in and a CUDA device is present.
()
| 248 | |
| 249 | |
| 250 | def has_nccl() -> bool: |
| 251 | """True if NCCL was built in and a CUDA device is present.""" |
| 252 | return has_cuda() and _build_flag_enabled("USE_NCCL") |
| 253 | |
| 254 | |
| 255 | def has_hipblas() -> bool: |
nothing calls this directly
no test coverage detected
searching dependent graphs…