From 35c90855632e111dbde3fa368989a0aa2b529244 Mon Sep 17 00:00:00 2001 From: Sergii Dymchenko Date: Mon, 23 Sep 2024 23:53:48 -0700 Subject: [PATCH] Fix description for torch.backends.cuda.sdp_kernel rule Fixing a typo, also need to add an example because it's not too clear now. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b51e24b..da8836e 100644 --- a/README.md +++ b/README.md @@ -152,7 +152,7 @@ Migration guide: This function is deprecated. Use the `torch.nn.attention.sdpa_kernel` context manager instead. Migration guide: -Each boolean input parameter (defaulting to true unless specified) of `sdp_kernel` corresponds to a `SDPBackened`. If the input parameter is true, the corresponding backend should be added to the input list of `sdpa_kernel`. +Each boolean input parameter (defaulting to true unless specified) of `sdp_kernel` corresponds to a `SDPBackend`. If the input parameter is true, the corresponding backend should be added to the input list of `sdpa_kernel`. #### torch.chain_matmul