Commit a2f34bd
committed
Revert "Patch the flex_attention._get_mod_type to not use inspect.signature when computing num_positional_args (an alternative fix for flex attention graph break on create_block_mask) (pytorch#164923)"
This reverts commit 3401665.
Reverted pytorch#164923 on behalf of https://github.com/pytorch-auto-revert due to Reverted automatically by pytorch's autorevert, to avoid this behaviour add the tag autorevert: disable ([comment](pytorch#164923 (comment)))1 parent a63ab0b commit a2f34bd
File tree
3 files changed
+6
-90
lines changed- test/dynamo
- torch
- _dynamo/variables
- nn/attention
3 files changed
+6
-90
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
| |||
55 | 54 | | |
56 | 55 | | |
57 | 56 | | |
58 | | - | |
59 | 57 | | |
60 | 58 | | |
61 | 59 | | |
| |||
7371 | 7369 | | |
7372 | 7370 | | |
7373 | 7371 | | |
7374 | | - | |
7375 | | - | |
7376 | | - | |
7377 | | - | |
7378 | | - | |
7379 | | - | |
7380 | | - | |
7381 | | - | |
7382 | | - | |
7383 | | - | |
7384 | | - | |
7385 | | - | |
7386 | | - | |
7387 | | - | |
7388 | | - | |
7389 | | - | |
7390 | | - | |
7391 | | - | |
7392 | | - | |
7393 | | - | |
7394 | | - | |
7395 | | - | |
7396 | | - | |
7397 | | - | |
7398 | | - | |
7399 | | - | |
7400 | | - | |
7401 | | - | |
7402 | | - | |
7403 | | - | |
7404 | | - | |
7405 | | - | |
7406 | | - | |
7407 | | - | |
7408 | | - | |
7409 | | - | |
7410 | | - | |
7411 | | - | |
7412 | | - | |
7413 | | - | |
7414 | | - | |
7415 | | - | |
7416 | | - | |
7417 | | - | |
7418 | | - | |
7419 | | - | |
7420 | | - | |
7421 | | - | |
7422 | | - | |
7423 | | - | |
7424 | | - | |
7425 | | - | |
7426 | | - | |
7427 | | - | |
7428 | | - | |
7429 | | - | |
7430 | | - | |
7431 | | - | |
7432 | | - | |
7433 | | - | |
7434 | | - | |
7435 | 7372 | | |
7436 | 7373 | | |
7437 | 7374 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1320 | 1320 | | |
1321 | 1321 | | |
1322 | 1322 | | |
1323 | | - | |
1324 | | - | |
1325 | | - | |
1326 | | - | |
1327 | | - | |
1328 | | - | |
| 1323 | + | |
1329 | 1324 | | |
1330 | 1325 | | |
1331 | | - | |
1332 | | - | |
1333 | | - | |
1334 | | - | |
1335 | | - | |
1336 | | - | |
1337 | | - | |
1338 | 1326 | | |
1339 | 1327 | | |
1340 | 1328 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
283 | 274 | | |
284 | 275 | | |
285 | 276 | | |
| |||
0 commit comments