File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1383,7 +1383,11 @@ class Profiling(BaseModel):
13831383 xprof_e2e_enable_fw_throttle_event : bool = Field (False , description = "Enable FW throttle event." )
13841384 xprof_e2e_enable_fw_power_level_event : bool = Field (False , description = "Enable FW power level event." )
13851385 xprof_e2e_enable_fw_thermal_event : bool = Field (False , description = "Enable FW thermal event." )
1386- profile_power_events : bool = Field (False , description = "Enable TPU-specific power/thermal profiling events. Defaults to False to avoid breaking GPU xplane tracing." )
1386+ profile_power_events : bool = Field (
1387+ False ,
1388+ description = "Enable TPU-specific power/thermal profiling events."
1389+ " Defaults to False to avoid breaking GPU xplane tracing." ,
1390+ )
13871391
13881392
13891393class HloDump (BaseModel ):
Original file line number Diff line number Diff line change 5858from maxtext .common .gcloud_stub import cloud_diagnostics as _cloud_diag , is_decoupled
5959from maxtext .common .gcloud_stub import vertex_tensorboard_modules
6060from maxtext .common .metric_logger import MetricLogger , record_activation_metrics
61- from maxtext .optimizers .gradient_accumulation import gradient_accumulation_loss_and_grad
6261from maxtext .trainers .post_train .dpo .dpo_utils import _merge_dpo_state , _split_dpo_state , dpo_loss_fn
6362from maxtext .utils import exceptions
6463from maxtext .utils import gcs_utils
6867from maxtext .utils import qk_clip_utils
6968from maxtext .utils import sharding
7069from maxtext .utils import train_utils
70+ from maxtext .utils .gradient_accumulation import gradient_accumulation_loss_and_grad
7171from maxtext .utils .vocabulary_tiling import vocab_tiling_linen_loss
7272
7373_diag_modules = _cloud_diag ()
File renamed without changes.
You can’t perform that action at this time.
0 commit comments