Skip to content

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

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_929618169
Jun 15, 2026
Merged

copybara-service[bot] merged 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!

@copybara-service
copybara-service Bot force-pushed the test_929618169 branch 3 times, most recently from a8d5c4a to bdc262b Compare June 15, 2026 08:11
…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: 932303562
@copybara-service
copybara-service Bot merged commit 63abe03 into main Jun 15, 2026
@copybara-service
copybara-service Bot deleted the test_929618169 branch June 15, 2026 08:36
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