Commit babfb8a
authored
[MPS] call contiguous after permute (huggingface#1411)
* call contiguous after permute
Fixes for MPS device
* Fix MPS UserWarning
* make style
* Revert "Fix MPS UserWarning"
This reverts commit b46c328.1 parent 35099b2 commit babfb8a
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
225 | 227 | | |
226 | 228 | | |
227 | 229 | | |
228 | | - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
229 | 233 | | |
230 | 234 | | |
231 | 235 | | |
| |||
0 commit comments