We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cda6c9 commit c046863Copy full SHA for c046863
MaxText/elastic_train.py
@@ -438,7 +438,7 @@ def wait_for_all_slices(
438
good_slice_indices = elastic_manager.get_slice_availability()
439
while len(good_slice_indices) < elastic_manager.total_slice_count:
440
max_logging.log(
441
- f"Only {elastic_manager.good_slice_count} slices out of {elastic_manager.total_slice_count} available. "
+ f"Only {len(good_slice_indices)} slices out of {elastic_manager.total_slice_count} available. "
442
f"Sleeping for {wait_period} seconds."
443
)
444
time.sleep(wait_period)
0 commit comments