Commit fcb51be
guard dimname after removal (#20071)
Summary:
PyTroch PR #173895 removed dim name support
This diff catches that this attribute may no longer be available, but retains backward compatibility as existing models may still have it and be re-exported/quantized/etc
Reviewed By: digantdesai, jbschlosser
Differential Revision: D1076629811 parent 502fdbe commit fcb51be
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
550 | | - | |
551 | 550 | | |
552 | 551 | | |
553 | 552 | | |
| |||
575 | 574 | | |
576 | 575 | | |
577 | 576 | | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
578 | 586 | | |
579 | 587 | | |
580 | 588 | | |
| |||
0 commit comments