Skip to content

Commit bb9080e

Browse files
committed
Fixed bug with ten_minutes->timeout typo
1 parent 38558cd commit bb9080e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

axlearn/common/launch_trainer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def _run_trainer_impl(trainer_config: SpmdTrainer.Config) -> Any:
162162

163163
timeout = 10 * 60 # ten minutes
164164
logging.info(f"Waiting up to {timeout} s for slices to be ready")
165-
elastic_manager.wait_for_slices(timeout=ten_minutes)
165+
elastic_manager.wait_for_slices(timeout=timeout)
166166

167167
trainer: SpmdTrainer = trainer_config.instantiate(parent=None)
168168
prng_key = jax.random.PRNGKey(seed=FLAGS.trainer_prng_seed)

0 commit comments

Comments
 (0)