Commit 8031e24
refactor: Use
* refactor: Use ` with` in `Accelerator.autocast()`instead of `__enter__()` and `__exit__()`for more elegant style.
* Apply style fixes
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>with in Accelerator.autocast()instead of __enter__() and __exit__() for more elegant style. (#3767)1 parent 3db9fb6 commit 8031e24
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| |||
4069 | 4068 | | |
4070 | 4069 | | |
4071 | 4070 | | |
4072 | | - | |
4073 | | - | |
4074 | | - | |
4075 | | - | |
| 4071 | + | |
| 4072 | + | |
4076 | 4073 | | |
4077 | 4074 | | |
4078 | 4075 | | |
| |||
0 commit comments