torch.nn.attention.is_cudnn_sdp_python_available#
- torch.nn.attention.is_cudnn_sdp_python_available()[source]#
Warning
This API is beta and subject to change.
Returns whether
nvidia-cudnn-frontend’scudnn.torchmodule can be found. It imports thecudnnpackage to look, but notcudnn.torch, and does not check the version:enable_cudnn_sdp_python()still raises if the installed package is older than it requires.- Return type: