Conversation
youchunni
requested review from
abheesht17,
hgao327,
jiangyangmu,
lc5211,
s-noghabi,
sizhit2,
tianshub and
wang2yn84
as code owners
August 29, 2026 00:48
4 tasks
enable_continuous_profiling option in the Tunix JAX profiler wrapperenable_continuous_profiling option in the Tunix JAX profiler wrapper
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Support
enable_continuous_profilingoption in the Tunix JAX profiler wrapper (sft/profiler.py).When
enable_continuous_profiling=Trueis configured in profiler options, this change setsadvanced_configuration["enable_continuous_profiling"] = Trueinjax.profiler.ProfileOptions(). This configures JAX profiler to stream smaller trace chunks into.xplane.riegelirecord containers, avoiding the 2GB Protocol Buffer size limit for large profiles.Tested with the MaxText RL continuous profiling workflow. Related MaxText PR: AI-Hypercomputer/maxtext#5061
Note:
set_profile_options=False. MaxText setsset_profile_options=Falseto disable custom tracer level overrides, whileenable_continuous_profilingis configured inprofiler_options.Checklist