Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes error when `loss` field of model output is non-empty, and indexing as [0] returns loss instead of logits. Can happen with FSDP.
- Loading branch information