Skip to content

Add option to enable on-demand profiling server in MaxText ML Diagnostics#4131

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_929618169
Open

Add option to enable on-demand profiling server in MaxText ML Diagnostics#4131
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_929618169

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

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 #4129.

@codecov

codecov Bot commented Jun 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

…tics

- 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 #4129.

PiperOrigin-RevId: 929618169
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Option to enable ondemand profiling

1 participant