Closed ZhiyuLi-goog closed 1 month ago
There's no eval_iterator in dataset_type=synthetic which is also not necessary. https://github.com/google/maxtext/blob/77f079f845084ba853453dc0755deb0daf312e26/MaxText/input_pipeline/input_pipeline_interface.py#L144
dataset_type=synthetic
This change is to bypass setting eval_interval with dataset_type=synthetic, avoid the error in using an None evaluation iterator for eval step. https://github.com/google/maxtext/blob/bdc4d8d6d4ab767d2c3ee52dbb465278111f2be9/MaxText/train.py#L567
There's no eval_iterator in
dataset_type=synthetic
which is also not necessary. https://github.com/google/maxtext/blob/77f079f845084ba853453dc0755deb0daf312e26/MaxText/input_pipeline/input_pipeline_interface.py#L144This change is to bypass setting eval_interval with
dataset_type=synthetic
, avoid the error in using an None evaluation iterator for eval step. https://github.com/google/maxtext/blob/bdc4d8d6d4ab767d2c3ee52dbb465278111f2be9/MaxText/train.py#L567