Commit 9d40bc8
Add MPS accelerator support for mixed precision (#21209)
* Update device assignment logic to support 'mps' accelerator
* Add tests for MPS accelerator mixed precision device selection
* Refactor MPS mixed precision device selection tests for parameterized input
* chlog
* Apply suggestions
Co-authored-by: Nicki Skafte Detlefsen <[email protected]>
* apply suggestions
* Empty-Commit
* Empty Commit
* Empty-Commit
---------
Co-authored-by: jirka <[email protected]>
Co-authored-by: Nicki Skafte Detlefsen <[email protected]>
Co-authored-by: Jirka Borovec <[email protected]>1 parent e088694 commit 9d40bc8
File tree
3 files changed
+14
-1
lines changed- src/lightning/pytorch
- trainer/connectors
- tests/tests_pytorch/trainer/connectors
3 files changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
518 | | - | |
| 518 | + | |
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
| |||
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1084 | 1084 | | |
1085 | 1085 | | |
1086 | 1086 | | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
0 commit comments