Commit 05d7dc2
committed
Fix NestedTensor deprecation warning in SDPA tutorial
Add layout=torch.jagged parameter to nested_tensor call to suppress
the prototype API warning and use the recommended jagged layout.1 parent f99e9e8 commit 05d7dc2
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| |||
0 commit comments