Commit 63abe03
committed
Add option to enable on-demand profiling server in MaxText ML Diagnostics
- Add `managed_mldiagnostics_on_demand_profiling` configuration flag to `base.yml` (enabled by default) and `types.py`.
- Pass `on_demand_xprof` parameter to `mldiag.machinelearning_run(...)` in `managed_mldiagnostics.py` to allow users to toggle on-demand profiling at runtime.
Fixes AI-Hypercomputer#4129.
PiperOrigin-RevId: 9323035621 parent 53b276b commit 63abe03
3 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
838 | 838 | | |
839 | 839 | | |
840 | 840 | | |
| 841 | + | |
841 | 842 | | |
842 | 843 | | |
843 | 844 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1785 | 1785 | | |
1786 | 1786 | | |
1787 | 1787 | | |
| 1788 | + | |
| 1789 | + | |
| 1790 | + | |
| 1791 | + | |
1788 | 1792 | | |
1789 | 1793 | | |
1790 | 1794 | | |
| |||
0 commit comments