Commit adfa8ad
authored
chore(pt): use more warmup steps (#4761)
The SiLUT activation function is using JIT compile. Hence, we require
more warm-up steps to avoid JIT compiling time interfering the profiling
result. This commit also adds logging info of the saved profiling
results.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Enhancements**
- Increased the profiling warmup duration during training for improved
profiling accuracy.
- Added a log message to notify users when the profiling trace is saved
to the TensorBoard log directory.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent 2279459 commit adfa8ad
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
684 | 684 | | |
685 | 685 | | |
686 | 686 | | |
687 | | - | |
| 687 | + | |
688 | 688 | | |
689 | 689 | | |
690 | 690 | | |
| |||
1058 | 1058 | | |
1059 | 1059 | | |
1060 | 1060 | | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
1061 | 1065 | | |
1062 | 1066 | | |
1063 | 1067 | | |
1064 | | - | |
| 1068 | + | |
1065 | 1069 | | |
1066 | 1070 | | |
1067 | 1071 | | |
| |||
0 commit comments