forked fromlucidrains/DALLE2-pytorch
- Notifications
You must be signed in to change notification settings - Fork0
Commit083508f
committed
cast attention matrix back to original dtype pre-softmax in attention
1 parent7762edd commit083508f
2 files changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
879 | 879 | | |
880 | 880 | | |
881 | 881 | | |
| 882 | + | |
| 883 | + | |
882 | 884 | | |
883 | 885 | | |
884 | 886 | | |
| |||
1637 | 1639 | | |
1638 | 1640 | | |
1639 | 1641 | | |
| 1642 | + | |
1640 | 1643 | | |
1641 | 1644 | | |
1642 | 1645 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments
Comments
(0)