Sharded fine-tune path cannot emit Hugging Face eval_loss
Author: DanielAsadiCreated Sep 22, 2026Updated Sep 22, 2026
eval_strategy is accepted on TrainingConfig, but the sharded dataset path cannot actually produce eval_loss.
DatasetFactory.build()assertseval_strategy == "no"and always returnseval_dataset=None.ShardedMixtureDatasetiterates forever, so HF eval would never finish.- Accelerate prepares the eval iterable dataloader and broadcasts CPU objects through NCCL.
- Even if eval runs,
Trainer.prediction_stepdrops the loss: Gr00tN1d7 has emptylabel_namesand noreturn_lossargument, so logs showeval_runtimeonly.
Training with eval_strategy: "no" is unaffected.
Source: NVIDIA/Isaac-GR00T